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

Warped cube as domain which is parametrised by a single macro element. More...

#include <domain.h>

+ Inheritance diagram for oomph::WarpedCubeDomain:

Public Member Functions

 WarpedCubeDomain ()
 Constructor: More...
 
 WarpedCubeDomain (const WarpedCubeDomain &)
 Broken copy constructor. More...
 
void operator= (const WarpedCubeDomain &)
 Broken assignment operator. More...
 
 ~WarpedCubeDomain ()
 Destructor: Kill macro elements. More...
 
void warp_it (Vector< double > &f)
 Warp the unit cube. More...
 
void macro_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 i_direct (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_L (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Left boundary face zeta $ \in [-1,1]^2 $. More...
 
void r_R (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Right boundary face zeta $ \in [-1,1]^2 $. More...
 
void r_D (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Down boundary face zeta $ \in [-1,1]^2 $. More...
 
void r_U (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Up boundary face zeta $ \in [-1,1]^2 $. More...
 
void r_B (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Back boundary face zeta $ \in [-1,1]^2 $. More...
 
void r_F (const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
 Front boundary face zeta $ \in [-1,1]^2 $. More...
 

Additional Inherited Members

- Protected Attributes inherited from oomph::Domain
Vector< MacroElement * > Macro_element_pt
 Vector of pointers to macro elements. More...
 

Detailed Description

Warped cube as domain which is parametrised by a single macro element.

Definition at line 255 of file domain.h.

Constructor & Destructor Documentation

oomph::WarpedCubeDomain::WarpedCubeDomain ( )
inline

Constructor:

Definition at line 263 of file domain.h.

References oomph::Domain::Macro_element_pt.

oomph::WarpedCubeDomain::WarpedCubeDomain ( const WarpedCubeDomain )
inline

Broken copy constructor.

Definition at line 273 of file domain.h.

References oomph::BrokenCopy::broken_copy().

oomph::WarpedCubeDomain::~WarpedCubeDomain ( )
inline

Destructor: Kill macro elements.

Definition at line 286 of file domain.h.

References oomph::Domain::Macro_element_pt.

Member Function Documentation

void oomph::WarpedCubeDomain::macro_element_boundary ( const unsigned &  t,
const unsigned &  i_macro,
const unsigned &  i_direct,
const Vector< double > &  s,
Vector< double > &  f 
)
virtual

Vector representation of the i_macro-th macro element boundary i_direct (L/R/D/U/B/F) at time level t (t=0: present; t>0: previous): f(s).

Vector representation of the imacro-th macro element boundary idirect (L/R/D/B/F) at time level t (t=0: present; t>0: previous): f(s)

Implements oomph::Domain.

Definition at line 55 of file domain.cc.

References oomph::OcTreeNames::B, oomph::OcTreeNames::D, oomph::OcTreeNames::F, oomph::BinaryTreeNames::L, oomph::BinaryTreeNames::R, r_B(), r_D(), r_F(), r_L(), r_R(), r_U(), and oomph::OcTreeNames::U.

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

Broken assignment operator.

Definition at line 279 of file domain.h.

References oomph::BrokenCopy::broken_assign().

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

Back boundary face zeta $ \in [-1,1]^2 $.

Definition at line 197 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

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

Down boundary face zeta $ \in [-1,1]^2 $.

Definition at line 161 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

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

Front boundary face zeta $ \in [-1,1]^2 $.

Definition at line 216 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

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

Left boundary face zeta $ \in [-1,1]^2 $.

Definition at line 123 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

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

Right boundary face zeta $ \in [-1,1]^2 $.

Definition at line 143 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

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

Up boundary face zeta $ \in [-1,1]^2 $.

Definition at line 179 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

void oomph::WarpedCubeDomain::warp_it ( Vector< double > &  f)

Warp the unit cube.

Definition at line 233 of file domain.cc.

Referenced by r_B(), r_D(), r_F(), r_L(), r_R(), and r_U().


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