Public Member Functions | Private Member Functions | Private Attributes | List of all members
oomph::EighthSphereDomain Class Reference

Eighth sphere as domain. Domain is parametrised by four macro elements. More...

#include <eighth_sphere_domain.h>

+ Inheritance diagram for oomph::EighthSphereDomain:

Public Member Functions

 EighthSphereDomain (const double &radius)
 Constructor: Pass the radius of the sphere. More...
 
 EighthSphereDomain (const EighthSphereDomain &)
 Broken copy constructor. More...
 
void operator= (const EighthSphereDomain &)
 Broken assignment operator. More...
 
 ~EighthSphereDomain ()
 Destructor: Kill macro elements. 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 &)
 Broken copy constructor. More...
 
void operator= (const Domain &)
 Broken assignment operator. More...
 
virtual ~Domain ()
 Virtual destructor: Empty. More...
 
MacroElementmacro_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...
 
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...
 
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...
 
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 $ \in [-1,1]^2 $. More...
 
void r_centr_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of central box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_centr_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of central box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_centr_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of central box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_centr_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of central box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_centr_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of central box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_right_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of right box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_right_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of right box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_right_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of right box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_right_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of right box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_right_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of right box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_right_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of right box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_up_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_up_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_up_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_up_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_up_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_up_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_front_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_front_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_front_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_front_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_front_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. More...
 
void r_front_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Boundary of top left box macro element zeta $ \in [-1,1]^2 $. 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...
 

Detailed Description

Eighth sphere as domain. Domain is parametrised by four macro elements.

Definition at line 47 of file eighth_sphere_domain.h.

Constructor & Destructor Documentation

◆ EighthSphereDomain() [1/2]

oomph::EighthSphereDomain::EighthSphereDomain ( const double &  radius)
inline

Constructor: Pass the radius of the sphere.

Definition at line 53 of file eighth_sphere_domain.h.

References i, and oomph::Domain::Macro_element_pt.

◆ EighthSphereDomain() [2/2]

oomph::EighthSphereDomain::EighthSphereDomain ( const EighthSphereDomain )
inline

Broken copy constructor.

Definition at line 69 of file eighth_sphere_domain.h.

References oomph::BrokenCopy::broken_copy().

◆ ~EighthSphereDomain()

oomph::EighthSphereDomain::~EighthSphereDomain ( )
inline

Destructor: Kill macro elements.

Definition at line 82 of file eighth_sphere_domain.h.

References i, and oomph::Domain::Macro_element_pt.

Member Function Documentation

◆ macro_element_boundary()

void oomph::EighthSphereDomain::macro_element_boundary ( const unsigned &  t,
const unsigned &  imacro,
const unsigned &  idirect,
const Vector< double > &  s,
Vector< double > &  f 
)
inlinevirtual

◆ operator=()

void oomph::EighthSphereDomain::operator= ( const EighthSphereDomain )
inline

Broken assignment operator.

Definition at line 75 of file eighth_sphere_domain.h.

References oomph::BrokenCopy::broken_assign().

◆ r_centr_B()

void oomph::EighthSphereDomain::r_centr_B ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of central box macro element zeta $ \in [-1,1]^2 $.

Boundary of central box macro element zeta $ \in [-1,1]^2 $

Definition at line 495 of file eighth_sphere_domain.h.

References Radius.

Referenced by macro_element_boundary().

◆ r_centr_D()

void oomph::EighthSphereDomain::r_centr_D ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of central box macro element zeta $ \in [-1,1]^2 $.

Boundary of central box macro element zeta $ \in [-1,1]^2 $

Definition at line 466 of file eighth_sphere_domain.h.

References Radius.

Referenced by macro_element_boundary().

◆ r_centr_F()

void oomph::EighthSphereDomain::r_centr_F ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of central box macro element zeta $ \in [-1,1]^2 $.

Boundary of central box macro element zeta $ \in [-1,1]^2 $

Definition at line 508 of file eighth_sphere_domain.h.

References Radius.

Referenced by macro_element_boundary(), and r_front_B().

◆ r_centr_L()

void oomph::EighthSphereDomain::r_centr_L ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of central box macro element zeta $ \in [-1,1]^2 $.

Boundary of central box macro element zeta $ \in [-1,1]^2 $

Definition at line 436 of file eighth_sphere_domain.h.

References Radius.

Referenced by macro_element_boundary().

◆ r_centr_R()

void oomph::EighthSphereDomain::r_centr_R ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of central box macro element zeta $ \in [-1,1]^2 $.

Boundary of central box macro element zeta $ \in [-1,1]^2 $

Definition at line 450 of file eighth_sphere_domain.h.

References Radius.

Referenced by macro_element_boundary(), and r_right_L().

◆ r_centr_U()

void oomph::EighthSphereDomain::r_centr_U ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of central box macro element zeta $ \in [-1,1]^2 $.

Boundary of central box macro element zeta $ \in [-1,1]^2 $

Definition at line 480 of file eighth_sphere_domain.h.

References Radius.

Referenced by macro_element_boundary(), and r_up_D().

◆ r_front_B()

void oomph::EighthSphereDomain::r_front_B ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 908 of file eighth_sphere_domain.h.

References r_centr_F().

Referenced by macro_element_boundary().

◆ r_front_D()

void oomph::EighthSphereDomain::r_front_D ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 867 of file eighth_sphere_domain.h.

References i, r_front_F(), and Radius.

Referenced by macro_element_boundary().

◆ r_front_F()

void oomph::EighthSphereDomain::r_front_F ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 920 of file eighth_sphere_domain.h.

References i, and Radius.

Referenced by macro_element_boundary(), r_front_D(), and r_front_L().

◆ r_front_L()

void oomph::EighthSphereDomain::r_front_L ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 823 of file eighth_sphere_domain.h.

References i, r_front_F(), and Radius.

Referenced by macro_element_boundary().

◆ r_front_R()

void oomph::EighthSphereDomain::r_front_R ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 852 of file eighth_sphere_domain.h.

References r_right_F().

Referenced by macro_element_boundary().

◆ r_front_U()

void oomph::EighthSphereDomain::r_front_U ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 896 of file eighth_sphere_domain.h.

References r_up_F().

Referenced by macro_element_boundary().

◆ r_right_B()

void oomph::EighthSphereDomain::r_right_B ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of right box macro element zeta $ \in [-1,1]^2 $.

Boundary of right box macro element zeta $ \in [-1,1]^2 $

Definition at line 624 of file eighth_sphere_domain.h.

References i, r_right_R(), and Radius.

Referenced by macro_element_boundary().

◆ r_right_D()

void oomph::EighthSphereDomain::r_right_D ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of right box macro element zeta $ \in [-1,1]^2 $.

Boundary of right box macro element zeta $ \in [-1,1]^2 $

Definition at line 569 of file eighth_sphere_domain.h.

References i, r_right_R(), and Radius.

Referenced by macro_element_boundary().

◆ r_right_F()

void oomph::EighthSphereDomain::r_right_F ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of right box macro element zeta $ \in [-1,1]^2 $.

Boundary of right box macro element zeta $ \in [-1,1]^2 $

Definition at line 652 of file eighth_sphere_domain.h.

References i, r_right_R(), and Radius.

Referenced by macro_element_boundary(), and r_front_R().

◆ r_right_L()

void oomph::EighthSphereDomain::r_right_L ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of right box macro element zeta $ \in [-1,1]^2 $.

Boundary of right box macro element zeta $ \in [-1,1]^2 $

Definition at line 523 of file eighth_sphere_domain.h.

References r_centr_R().

Referenced by macro_element_boundary().

◆ r_right_R()

void oomph::EighthSphereDomain::r_right_R ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of right box macro element zeta $ \in [-1,1]^2 $.

Boundary of right box macro element zeta $ \in [-1,1]^2 $

Definition at line 535 of file eighth_sphere_domain.h.

References i, and Radius.

Referenced by macro_element_boundary(), r_right_B(), r_right_D(), r_right_F(), and r_right_U().

◆ r_right_U()

void oomph::EighthSphereDomain::r_right_U ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of right box macro element zeta $ \in [-1,1]^2 $.

Boundary of right box macro element zeta $ \in [-1,1]^2 $

Definition at line 597 of file eighth_sphere_domain.h.

References i, r_right_R(), and Radius.

Referenced by macro_element_boundary(), and r_up_R().

◆ r_up_B()

void oomph::EighthSphereDomain::r_up_B ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 766 of file eighth_sphere_domain.h.

References i, r_up_U(), and Radius.

Referenced by macro_element_boundary().

◆ r_up_D()

void oomph::EighthSphereDomain::r_up_D ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 720 of file eighth_sphere_domain.h.

References r_centr_U().

Referenced by macro_element_boundary().

◆ r_up_F()

void oomph::EighthSphereDomain::r_up_F ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 795 of file eighth_sphere_domain.h.

References i, r_up_U(), and Radius.

Referenced by macro_element_boundary(), and r_front_U().

◆ r_up_L()

void oomph::EighthSphereDomain::r_up_L ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 680 of file eighth_sphere_domain.h.

References i, r_up_U(), and Radius.

Referenced by macro_element_boundary().

◆ r_up_R()

void oomph::EighthSphereDomain::r_up_R ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 708 of file eighth_sphere_domain.h.

References r_right_U().

Referenced by macro_element_boundary().

◆ r_up_U()

void oomph::EighthSphereDomain::r_up_U ( const unsigned &  t,
const Vector< double > &  zeta,
Vector< double > &  f 
)
private

Boundary of top left box macro element zeta $ \in [-1,1]^2 $.

Boundary of top left box macro element zeta $ \in [-1,1]^2 $

Definition at line 731 of file eighth_sphere_domain.h.

References i, and Radius.

Referenced by macro_element_boundary(), r_up_B(), r_up_F(), and r_up_L().

Member Data Documentation

◆ Radius

double oomph::EighthSphereDomain::Radius
private

The documentation for this class was generated from the following file: