26 #ifndef OOMPH_EIGHTH_SPHERE_MESH_HEADER
27 #define OOMPH_EIGHTH_SPHERE_MESH_HEADER
30 #include "../generic/refineable_brick_mesh.h"
31 #include "../generic/macro_element.h"
32 #include "../generic/domain.h"
33 #include "../generic/algebraic_elements.h"
34 #include "../generic/brick_mesh.h"
52 template<
class ELEMENT>
88 template<
class ELEMENT>
102 for (
unsigned ielem = 0; ielem < nel; ielem++)
111 for (
unsigned e = 0;
e < nel;
e++)
114 ELEMENT* ref_el_pt =
dynamic_cast<ELEMENT*
>(el_pt);
116 tree_pt.push_back(octree_root_pt);
//////////////////////////////////////////////////////////////////////// ////////////////////////////...
Base class for Domains with curvilinear and/or time-dependent boundaries. Domain boundaries are typic...
MacroElement * macro_element_pt(const unsigned &i)
Access to i-th macro element.
Eight of a sphere brick mesh, based on the EightSphereDomain Non-refineable version with four brick e...
EighthSphereMesh(const double &radius, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Constructor: Pass radius and timestepper; defaults to static default timestepper.
~EighthSphereMesh()
Destructor.
Domain * Domain_pt
Pointer to the domain.
double Radius
Radius of the sphere.
A general Finite Element class.
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.
unsigned long nelement() const
Return number of elements in the mesh.
/////////////////////////////////////////////////////////////////////// /////////////////////////////...
OcTreeRoot is a OcTree that forms the root of a (recursive) octree. The "root node" is special as it ...
static void setup_static_data()
Setup the static data, rotation and reflection schemes, etc.
Intermediate mesh class that implements the mesh adaptation functions specified in the TreeBasedRefin...
Refineable version of the eight of a sphere brick mesh. The eighth-sphere is located in the positive ...
RefineableEighthSphereMesh(const double &radius, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Constructor: Pass radius and timestepper; defaults to static default timestepper.
Refineable version of QElement<3,NNODE_1D>.
////////////////////////////////////////////////////////////////////// //////////////////////////////...
TreeForest * Forest_pt
Forest representation of the mesh.
A slight extension to the standard template vector class so that we can include "graceful" array rang...
//////////////////////////////////////////////////////////////////// ////////////////////////////////...