Eighth sphere as domain. Domain is parametrised by four macro elements. More...
#include <eighth_sphere_domain.h>
Public Member Functions | |
EighthSphereDomain (const double &radius) | |
Constructor: Pass the radius of the sphere. More... | |
EighthSphereDomain (const EighthSphereDomain &)=delete | |
Broken copy constructor. More... | |
void | operator= (const EighthSphereDomain &)=delete |
Broken assignment operator. More... | |
~EighthSphereDomain () | |
Destructor: Empty; cleanup done in base class. More... | |
void | macro_element_boundary (const unsigned &t, const unsigned &imacro, const unsigned &idirect, const Vector< double > &s, Vector< double > &f) |
Vector representation of the imacro-th macro element boundary idirect (L/R/D/U/B/F) at time level t (t=0: present; t>0: previous): f(s). More... | |
Public Member Functions inherited from oomph::Domain | |
Domain () | |
Constructor. More... | |
Domain (const Domain &)=delete | |
Broken copy constructor. More... | |
void | operator= (const Domain &)=delete |
Broken assignment operator. More... | |
virtual | ~Domain () |
Destructor: Strictly speaking, whoever creates an object dynamically should be responsible for the cleanup of said object but it makes sense here for the Domain to generically kill any MacroElements left over in the MacroElement container (if it hasn't already been done in the derived class) to avoid memory leaks. More... | |
MacroElement * | macro_element_pt (const unsigned &i) |
Access to i-th macro element. More... | |
unsigned | nmacro_element () |
Number of macro elements in domain. More... | |
void | output (const std::string &filename, const unsigned &nplot) |
Output macro elements. More... | |
void | output (std::ostream &outfile, const unsigned &nplot) |
Output macro elements. More... | |
virtual void | macro_element_boundary (const double &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary i_direct (e.g. N/S/W/E in 2D) at continuous time, t. More... | |
void | macro_element_boundary (const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary i_direct (e.g. N/S/W/E in 2D) at current time: f(s). More... | |
void | output_macro_element_boundaries (const std::string &filename, const unsigned &nplot) |
Output all macro element boundaries as tecplot zones. More... | |
void | output_macro_element_boundaries (std::ostream &outfile, const unsigned &nplot) |
Output all macro element boundaries as tecplot zones. More... | |
virtual void | dmacro_element_boundary (const unsigned &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary derivatives i_direct (e.g. N/S/W/E in 2D) at time level t (t=0: present; t>0: previous): f(s). Broken virtual. More... | |
virtual void | dmacro_element_boundary (const double &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary derivatives i_direct (e.g. N/S/W/E in 2D) at continuous time level t. Broken virtual. More... | |
void | dmacro_element_boundary (const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary derivatives i_direct (e.g. N/S/W/E in 2D) at current time: f(s). More... | |
virtual void | d2macro_element_boundary (const unsigned &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary second derivatives i_direct (e.g. N/S/W/E in 2D) at time level t (t=0: present; t>0: previous): f(s). Broken virtual. More... | |
virtual void | d2macro_element_boundary (const double &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary seocond derivatives i_direct (e.g. N/S/W/E in 2D) at continuous time level t. Broken virtual. More... | |
void | d2macro_element_boundary (const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Vector representation of the i_macro-th macro element boundary second derivatives i_direct (e.g. N/S/W/E in 2D) at current time: f(s). More... | |
Private Member Functions | |
void | r_centr_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of central box macro element zeta . More... | |
void | r_centr_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of central box macro element zeta . More... | |
void | r_centr_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of central box macro element zeta . More... | |
void | r_centr_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of central box macro element zeta . More... | |
void | r_centr_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of central box macro element zeta . More... | |
void | r_centr_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of central box macro element zeta . More... | |
void | r_right_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of right box macro element zeta . More... | |
void | r_right_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of right box macro element zeta . More... | |
void | r_right_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of right box macro element zeta . More... | |
void | r_right_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of right box macro element zeta . More... | |
void | r_right_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of right box macro element zeta . More... | |
void | r_right_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of right box macro element zeta . More... | |
void | r_up_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_up_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_up_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_up_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_up_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_up_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_front_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_front_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_front_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_front_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_front_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
void | r_front_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f) |
Boundary of top left box macro element zeta . More... | |
Private Attributes | |
double | Radius |
Additional Inherited Members | |
Protected Attributes inherited from oomph::Domain | |
Vector< MacroElement * > | Macro_element_pt |
Vector of pointers to macro elements. More... | |
Eighth sphere as domain. Domain is parametrised by four macro elements.
Definition at line 41 of file eighth_sphere_domain.h.
|
inline |
Constructor: Pass the radius of the sphere.
Definition at line 45 of file eighth_sphere_domain.h.
References i, and oomph::Domain::Macro_element_pt.
|
delete |
Broken copy constructor.
|
inline |
Destructor: Empty; cleanup done in base class.
Definition at line 67 of file eighth_sphere_domain.h.
|
inlinevirtual |
Vector representation of the imacro-th macro element boundary idirect (L/R/D/U/B/F) at time level t (t=0: present; t>0: previous): f(s).
Implements oomph::Domain.
Definition at line 74 of file eighth_sphere_domain.h.
References oomph::OcTreeNames::B, oomph::OcTreeNames::D, oomph::OcTree::Direct_string, oomph::OcTreeNames::F, oomph::BinaryTreeNames::L, oomph::BinaryTreeNames::R, r_centr_B(), r_centr_D(), r_centr_F(), r_centr_L(), r_centr_R(), r_centr_U(), r_front_B(), r_front_D(), r_front_F(), r_front_L(), r_front_R(), r_front_U(), r_right_B(), r_right_D(), r_right_F(), r_right_L(), r_right_R(), r_right_U(), r_up_B(), r_up_D(), r_up_F(), r_up_L(), r_up_R(), r_up_U(), s, t, and oomph::OcTreeNames::U.
|
delete |
Broken assignment operator.
|
private |
Boundary of central box macro element zeta .
Definition at line 484 of file eighth_sphere_domain.h.
References Radius.
Referenced by macro_element_boundary().
|
private |
Boundary of central box macro element zeta .
Definition at line 456 of file eighth_sphere_domain.h.
References Radius.
Referenced by macro_element_boundary().
|
private |
Boundary of central box macro element zeta .
Definition at line 497 of file eighth_sphere_domain.h.
References Radius.
Referenced by macro_element_boundary(), and r_front_B().
|
private |
Boundary of central box macro element zeta .
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
Boundary of central box macro element zeta
Definition at line 428 of file eighth_sphere_domain.h.
References Radius.
Referenced by macro_element_boundary().
|
private |
Boundary of central box macro element zeta .
Definition at line 442 of file eighth_sphere_domain.h.
References Radius.
Referenced by macro_element_boundary(), and r_right_L().
|
private |
Boundary of central box macro element zeta .
Definition at line 470 of file eighth_sphere_domain.h.
References Radius.
Referenced by macro_element_boundary(), and r_up_D().
|
private |
Boundary of top left box macro element zeta .
Definition at line 898 of file eighth_sphere_domain.h.
References r_centr_F(), and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 857 of file eighth_sphere_domain.h.
References i, r_front_F(), Radius, and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 910 of file eighth_sphere_domain.h.
Referenced by macro_element_boundary(), r_front_D(), and r_front_L().
|
private |
Boundary of top left box macro element zeta .
Definition at line 813 of file eighth_sphere_domain.h.
References i, r_front_F(), Radius, and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 842 of file eighth_sphere_domain.h.
References r_right_F(), and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 886 of file eighth_sphere_domain.h.
Referenced by macro_element_boundary().
|
private |
Boundary of right box macro element zeta .
Definition at line 613 of file eighth_sphere_domain.h.
References i, r_right_R(), Radius, and t.
Referenced by macro_element_boundary().
|
private |
Boundary of right box macro element zeta .
Definition at line 556 of file eighth_sphere_domain.h.
References i, r_right_R(), Radius, and t.
Referenced by macro_element_boundary().
|
private |
Boundary of right box macro element zeta .
Definition at line 642 of file eighth_sphere_domain.h.
References i, r_right_R(), Radius, and t.
Referenced by macro_element_boundary(), and r_front_R().
|
private |
Boundary of right box macro element zeta .
Definition at line 511 of file eighth_sphere_domain.h.
References r_centr_R(), and t.
Referenced by macro_element_boundary().
|
private |
Boundary of right box macro element zeta .
Definition at line 523 of file eighth_sphere_domain.h.
Referenced by macro_element_boundary(), r_right_B(), r_right_D(), r_right_F(), and r_right_U().
|
private |
Boundary of right box macro element zeta .
Definition at line 585 of file eighth_sphere_domain.h.
References i, r_right_R(), Radius, and t.
Referenced by macro_element_boundary(), and r_up_R().
|
private |
Boundary of top left box macro element zeta .
Definition at line 755 of file eighth_sphere_domain.h.
References i, r_up_U(), Radius, and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 711 of file eighth_sphere_domain.h.
References r_centr_U(), and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 784 of file eighth_sphere_domain.h.
References i, r_up_U(), Radius, and t.
Referenced by macro_element_boundary(), and r_front_U().
|
private |
Boundary of top left box macro element zeta .
Definition at line 670 of file eighth_sphere_domain.h.
References i, r_up_U(), Radius, and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 699 of file eighth_sphere_domain.h.
References r_right_U(), and t.
Referenced by macro_element_boundary().
|
private |
Boundary of top left box macro element zeta .
Definition at line 722 of file eighth_sphere_domain.h.
Referenced by macro_element_boundary(), r_up_B(), r_up_F(), and r_up_L().
|
private |
Definition at line 272 of file eighth_sphere_domain.h.
Referenced by r_centr_B(), r_centr_D(), r_centr_F(), r_centr_L(), r_centr_R(), r_centr_U(), r_front_D(), r_front_F(), r_front_L(), r_right_B(), r_right_D(), r_right_F(), r_right_R(), r_right_U(), r_up_B(), r_up_F(), r_up_L(), and r_up_U().