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);
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Base class for brick meshes (meshes made of 3D brick elements).
Definition: brick_mesh.h:178
MacroElement * macro_element_pt(const unsigned &i)
Access to i-th macro element.
Definition: domain.h:116
Definition: eighth_sphere_mesh.template.h:54
EighthSphereMesh(const double &radius, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Definition: eighth_sphere_mesh.template.cc:39
~EighthSphereMesh()
Destructor.
Definition: eighth_sphere_mesh.template.h:63
Domain * Domain_pt
Pointer to the domain.
Definition: eighth_sphere_mesh.template.h:71
double Radius
Radius of the sphere.
Definition: eighth_sphere_mesh.template.h:74
Definition: elements.h:1313
static Steady< 0 > Default_TimeStepper
The Steady Timestepper.
Definition: mesh.h:75
FiniteElement * finite_element_pt(const unsigned &e) const
Definition: mesh.h:473
const Vector< GeneralisedElement * > & element_pt() const
Return reference to the Vector of elements.
Definition: mesh.h:460
unsigned self_test()
Self-test: Check elements and nodes. Return 0 for OK.
Definition: mesh.cc:778
unsigned long nelement() const
Return number of elements in the mesh.
Definition: mesh.h:590
static void setup_static_data()
Setup the static data, rotation and reflection schemes, etc.
Definition: octree.cc:1040
Definition: refineable_brick_mesh.h:61
Definition: eighth_sphere_mesh.template.h:91
RefineableEighthSphereMesh(const double &radius, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Definition: eighth_sphere_mesh.template.h:95
Definition: refineable_brick_element.h:68
Definition: timesteppers.h:231
TreeForest * Forest_pt
Forest representation of the mesh.
Definition: refineable_mesh.h:768
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Definition: AnisotropicHookean.h:10