27 #ifndef OOMPH_FULL_CIRCLE_MESH_HEADER
28 #define OOMPH_FULL_CIRCLE_MESH_HEADER
31 #include "../generic/refineable_quad_mesh.h"
48 template<
class ELEMENT>
110 template<
class ELEMENT>
130 wall_pt, theta_positions, radius_box, time_stepper_pt)
133 for (
unsigned ielem = 0; ielem < FullCircleMesh<ELEMENT>::nelement();
145 for (
unsigned iel = 0; iel < FullCircleMesh<ELEMENT>::nelement(); iel++)
148 ELEMENT* ref_el_pt =
dynamic_cast<ELEMENT*
>(el_pt);
150 trees_pt.push_back(quadtree_root_pt);
157 unsigned success_flag =
159 if (success_flag == 0)
161 oomph_info <<
"Successfully built quadtree forest " << std::endl;
166 OOMPH_CURRENT_FUNCTION,
167 OOMPH_EXCEPTION_LOCATION);
MacroElement * macro_element_pt(const unsigned &i)
Access to i-th macro element.
A general Finite Element class.
Topologically circular domain, e.g. a tube cross section. The entire domain must be defined by a Geom...
Full circle mesh class. The domain is specified by the GeomObject that identifies the entire area....
FullCircleDomain * Domain_pt
Pointer to domain.
GeomObject * Area_pt
Pointer to the geometric object that represents the entire domain.
GeomObject *& area_pt()
Access function to GeomObject representing wall.
virtual ~FullCircleMesh()
Destructor: empty.
FullCircleDomain * domain_pt()
Access function to domain.
FullCircleMesh(GeomObject *wall_pt, const Vector< double > &theta_positions, const Vector< double > &radius_box, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Constructor: Pass pointer to geometric object that specifies the area; values of theta at which divid...
FullCircleDomain * domain_pt() const
Access function to underlying domain.
/////////////////////////////////////////////////////////////////////
static Steady< 0 > Default_TimeStepper
Default Steady Timestepper, to be used in default arguments to Mesh constructors.
FiniteElement * finite_element_pt(const unsigned &e) const
Upcast (downcast?) to FiniteElement (needed to access FiniteElement member functions).
const Vector< GeneralisedElement * > & element_pt() const
Return reference to the Vector of elements.
unsigned self_test()
Self-test: Check elements and nodes. Return 0 for OK.
An OomphLibError object which should be thrown when an run-time error is encountered....
//////////////////////////////////////////////////////////////////// ////////////////////////////////...
A QuadTreeForest consists of a collection of QuadTreeRoots. Each member tree can have neighbours to i...
QuadTreeRoot is a QuadTree that forms the root of a (recursive) quadtree. The "root node" is special ...
///////////////////////////////////////////////////////////////// ///////////////////////////////////...
RefineableFullCircleMesh(GeomObject *wall_pt, const Vector< double > &theta_positions, const Vector< double > &radius_box, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Constructor for adaptive deformable quarter tube mesh class. Pass pointer to geometric object that sp...
virtual ~RefineableFullCircleMesh()
Destructor: empty.
Refineable version of QElement<2,NNODE_1D>.
Intermediate mesh class that implements the mesh adaptation functions specified in the TreeBasedRefin...
////////////////////////////////////////////////////////////////////// //////////////////////////////...
TreeForest * Forest_pt
Forest representation of the mesh.
//////////////////////////////////////////////////////////////////// ////////////////////////////////...
OomphInfo oomph_info
Single (global) instantiation of the OomphInfo object – this is used throughout the library as a "rep...