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

////////////////////////////////////////////////////////////////////// More...

#include <domain.h>

+ Inheritance diagram for oomph::WarpedCubeDomain:

Public Member Functions

 WarpedCubeDomain ()
 Constructor: More...
 
 WarpedCubeDomain (const WarpedCubeDomain &)=delete
 Broken copy constructor. More...
 
void operator= (const WarpedCubeDomain &)=delete
 Broken assignment operator. More...
 
 ~WarpedCubeDomain ()
 Destructor (empty; clean up handled in base class) 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 &)=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...
 
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...
 
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_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 316 of file domain.h.

Constructor & Destructor Documentation

◆ WarpedCubeDomain() [1/2]

oomph::WarpedCubeDomain::WarpedCubeDomain ( )
inline

Constructor:

Definition at line 320 of file domain.h.

References oomph::Domain::Macro_element_pt.

◆ WarpedCubeDomain() [2/2]

oomph::WarpedCubeDomain::WarpedCubeDomain ( const WarpedCubeDomain )
delete

Broken copy constructor.

◆ ~WarpedCubeDomain()

oomph::WarpedCubeDomain::~WarpedCubeDomain ( )
inline

Destructor (empty; clean up handled in base class)

Definition at line 336 of file domain.h.

Member Function Documentation

◆ macro_element_boundary()

void oomph::WarpedCubeDomain::macro_element_boundary ( const unsigned &  t,
const unsigned &  imacro,
const unsigned &  idirect,
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 47 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(), s, t, and oomph::OcTreeNames::U.

◆ operator=()

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

Broken assignment operator.

◆ r_B()

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 177 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

◆ r_D()

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 142 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

◆ r_F()

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 194 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

◆ r_L()

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 107 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

◆ r_R()

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 125 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

◆ r_U()

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 159 of file domain.cc.

References warp_it().

Referenced by macro_element_boundary().

◆ warp_it()

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

Warp the unit cube.

Definition at line 210 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: