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

Annular domain. More...

#include <annular_domain.h>

+ Inheritance diagram for oomph::AnnularDomain:

Public Member Functions

 AnnularDomain (const double &azimuthal_fraction, const unsigned &ntheta, const unsigned &nr, const double &a, const double &h, const double &phi)
 Constructor: Specify azimuthal fraction (1.0 is 360 degrees) number of macro elements in azimuthal and radial direction, inner radius and thickness. Rotate mesh by angle phi. More...
 
 AnnularDomain (const AnnularDomain &)
 Broken copy constructor. More...
 
void operator= (const AnnularDomain &)
 Broken assignment operator. More...
 
 ~AnnularDomain ()
 Destructor: Kill all macro elements. 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 (N/S/W/E) 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 Attributes

double Azimuthal_fraction
 Azimuthal fraction. More...
 
double Inner_radius
 Inner radius. More...
 
double Thickness
 Thickness. More...
 
unsigned Ntheta
 Number of macro elements in azimuthal direction. More...
 
unsigned Nr
 Number of macro elements in radial direction. More...
 
double Phi
 Rotation angle. More...
 

Additional Inherited Members

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

Detailed Description

Annular domain.

Definition at line 44 of file annular_domain.h.

Constructor & Destructor Documentation

◆ AnnularDomain() [1/2]

oomph::AnnularDomain::AnnularDomain ( const double &  azimuthal_fraction,
const unsigned &  ntheta,
const unsigned &  nr,
const double &  a,
const double &  h,
const double &  phi 
)
inline

Constructor: Specify azimuthal fraction (1.0 is 360 degrees) number of macro elements in azimuthal and radial direction, inner radius and thickness. Rotate mesh by angle phi.

Definition at line 52 of file annular_domain.h.

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

◆ AnnularDomain() [2/2]

oomph::AnnularDomain::AnnularDomain ( const AnnularDomain )
inline

Broken copy constructor.

Definition at line 69 of file annular_domain.h.

References oomph::BrokenCopy::broken_copy().

◆ ~AnnularDomain()

oomph::AnnularDomain::~AnnularDomain ( )
inline

Destructor: Kill all macro elements.

Definition at line 82 of file annular_domain.h.

References i, macro_element_boundary(), oomph::Domain::Macro_element_pt, oomph::Domain::nmacro_element(), s, and t.

Member Function Documentation

◆ macro_element_boundary()

void oomph::AnnularDomain::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 (N/S/W/E) at time level t (t=0: present; t>0: previous): f(s).

Vector representation of the imacro-th macro element boundary idirect (N/S/W/E) at time level t (t=0: present; t>0: previous): f(s)

Implements oomph::Domain.

Definition at line 136 of file annular_domain.h.

References Azimuthal_fraction, oomph::QuadTreeNames::E, Inner_radius, oomph::QuadTreeNames::N, Nr, Ntheta, Phi, oomph::MathematicalConstants::Pi, oomph::QuadTreeNames::S, Thickness, and oomph::QuadTreeNames::W.

Referenced by ~AnnularDomain().

◆ operator=()

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

Broken assignment operator.

Definition at line 75 of file annular_domain.h.

References oomph::BrokenCopy::broken_assign().

Member Data Documentation

◆ Azimuthal_fraction

double oomph::AnnularDomain::Azimuthal_fraction
private

Azimuthal fraction.

Definition at line 105 of file annular_domain.h.

Referenced by macro_element_boundary().

◆ Inner_radius

double oomph::AnnularDomain::Inner_radius
private

Inner radius.

Definition at line 108 of file annular_domain.h.

Referenced by macro_element_boundary().

◆ Nr

unsigned oomph::AnnularDomain::Nr
private

Number of macro elements in radial direction.

Definition at line 117 of file annular_domain.h.

Referenced by macro_element_boundary().

◆ Ntheta

unsigned oomph::AnnularDomain::Ntheta
private

Number of macro elements in azimuthal direction.

Definition at line 114 of file annular_domain.h.

Referenced by macro_element_boundary().

◆ Phi

double oomph::AnnularDomain::Phi
private

Rotation angle.

Definition at line 120 of file annular_domain.h.

Referenced by macro_element_boundary().

◆ Thickness

double oomph::AnnularDomain::Thickness
private

Thickness.

Definition at line 111 of file annular_domain.h.

Referenced by macro_element_boundary().


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