Annular domain. More...
#include <annular_domain.h>
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... | |
![]() | |
Domain () | |
Constructor. More... | |
Domain (const Domain &) | |
Broken copy constructor. More... | |
void | operator= (const Domain &) |
Broken assignment operator. More... | |
virtual | ~Domain () |
Virtual destructor: Empty. 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... | |
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 | |
![]() | |
Vector< MacroElement * > | Macro_element_pt |
Vector of pointers to macro elements. More... | |
Annular domain.
Definition at line 44 of file annular_domain.h.
|
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.
|
inline |
Broken copy constructor.
Definition at line 69 of file annular_domain.h.
References oomph::BrokenCopy::broken_copy().
|
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.
|
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().
|
inline |
Broken assignment operator.
Definition at line 75 of file annular_domain.h.
References oomph::BrokenCopy::broken_assign().
|
private |
Azimuthal fraction.
Definition at line 105 of file annular_domain.h.
Referenced by macro_element_boundary().
|
private |
Inner radius.
Definition at line 108 of file annular_domain.h.
Referenced by macro_element_boundary().
|
private |
Number of macro elements in radial direction.
Definition at line 117 of file annular_domain.h.
Referenced by macro_element_boundary().
|
private |
Number of macro elements in azimuthal direction.
Definition at line 114 of file annular_domain.h.
Referenced by macro_element_boundary().
|
private |
Rotation angle.
Definition at line 120 of file annular_domain.h.
Referenced by macro_element_boundary().
|
private |