Public Member Functions | Private Member Functions | Private Attributes | List of all members
oomph::BrickFromTetMesh< ELEMENT > Class Template Reference

Brick mesh built by brickifying an existing tet mesh – each tet gets split into four bricks. Can only be built with quadratic (27 node) elements. More...

#include <brick_from_tet_mesh.template.h>

Inheritance diagram for oomph::BrickFromTetMesh< ELEMENT >:
oomph::RefineableBrickFromTetMesh< ELEMENT > oomph::RefineableSolidBrickFromTetMesh< ELEMENT > oomph::SolidBrickFromTetMesh< ELEMENT >

Public Member Functions

 BrickFromTetMesh (const std::string xda_file_name, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass xda file name. More...
 
 BrickFromTetMesh (const std::string &node_file_name, const std::string &element_file_name, const std::string &face_file_name, const bool &split_corner_elements, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper, const bool &use_attributes=false)
 Constructor: Pass the files required for the tetgen mesh. More...
 
 BrickFromTetMesh (const std::string xda_file_name, XdaTetMesh< TElement< 3, 3 >> *&xda_tet_mesh_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass xda file name. This returns a pointer to the internally built XdaTetMesh for external use. Note that YOU are responsible for deleting this mesh. More...
 
Vector< unsigned > oomph_lib_boundary_ids (const unsigned &xda_boundary_id)
 Access functions to the Vector of oomph-lib boundary ids that make up boundary b in the original xda enumeration. More...
 

Private Member Functions

void build_mesh (XdaTetMesh< TElement< 3, 3 >> *tet_mesh_pt, TimeStepper *time_stepper_pt)
 Build fct: Pass pointer to existing tet mesh. More...
 
void build_mesh (TetgenMesh< TElement< 3, 3 >> *tet_mesh_pt, TimeStepper *time_stepper_pt)
 Build fct: Pass pointer to existing tet mesh. More...
 

Private Attributes

Vector< Vector< unsigned > > Boundary_id
 Vector of vectors containing the boundary IDs of the overall boundary specified in the xda file. More...
 

Detailed Description

template<class ELEMENT>
class oomph::BrickFromTetMesh< ELEMENT >

Brick mesh built by brickifying an existing tet mesh – each tet gets split into four bricks. Can only be built with quadratic (27 node) elements.

Definition at line 60 of file brick_from_tet_mesh.template.h.

Constructor & Destructor Documentation

◆ BrickFromTetMesh() [1/3]

template<class ELEMENT >
oomph::BrickFromTetMesh< ELEMENT >::BrickFromTetMesh ( const std::string  xda_file_name,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor: Pass xda file name.

Definition at line 64 of file brick_from_tet_mesh.template.h.

References oomph::BrickFromTetMesh< ELEMENT >::build_mesh().

◆ BrickFromTetMesh() [2/3]

template<class ELEMENT >
oomph::BrickFromTetMesh< ELEMENT >::BrickFromTetMesh ( const std::string &  node_file_name,
const std::string &  element_file_name,
const std::string &  face_file_name,
const bool &  split_corner_elements,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper,
const bool &  use_attributes = false 
)
inline

Constructor: Pass the files required for the tetgen mesh.

Definition at line 83 of file brick_from_tet_mesh.template.h.

References oomph::BrickFromTetMesh< ELEMENT >::build_mesh().

◆ BrickFromTetMesh() [3/3]

template<class ELEMENT >
oomph::BrickFromTetMesh< ELEMENT >::BrickFromTetMesh ( const std::string  xda_file_name,
XdaTetMesh< TElement< 3, 3 >> *&  xda_tet_mesh_pt,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor: Pass xda file name. This returns a pointer to the internally built XdaTetMesh for external use. Note that YOU are responsible for deleting this mesh.

Definition at line 114 of file brick_from_tet_mesh.template.h.

References oomph::BrickFromTetMesh< ELEMENT >::build_mesh().

Member Function Documentation

◆ build_mesh() [1/2]

template<class ELEMENT >
void oomph::BrickFromTetMesh< ELEMENT >::build_mesh ( TetgenMesh< TElement< 3, 3 >> *  tet_mesh_pt,
TimeStepper *  time_stepper_pt 
)
private

Build fct: Pass pointer to existing tet mesh.

Build fct: Pass pointer to existing tet mesh and timestepper Specialisation for TetgenMesh<TElement<3,3> >

Definition at line 4896 of file brick_from_tet_mesh.template.cc.

◆ build_mesh() [2/2]

template<class ELEMENT >
void oomph::BrickFromTetMesh< ELEMENT >::build_mesh ( XdaTetMesh< TElement< 3, 3 >> *  tet_mesh_pt,
TimeStepper *  time_stepper_pt 
)
private

Build fct: Pass pointer to existing tet mesh.

Build fct: Pass pointer to existing tet mesh and timestepper Specialisation for XdaTetMesh<TElement<3,3> >

Definition at line 39 of file brick_from_tet_mesh.template.cc.

Referenced by oomph::BrickFromTetMesh< ELEMENT >::BrickFromTetMesh().

◆ oomph_lib_boundary_ids()

template<class ELEMENT >
Vector<unsigned> oomph::BrickFromTetMesh< ELEMENT >::oomph_lib_boundary_ids ( const unsigned &  xda_boundary_id)
inline

Access functions to the Vector of oomph-lib boundary ids that make up boundary b in the original xda enumeration.

Definition at line 134 of file brick_from_tet_mesh.template.h.

References oomph::BrickFromTetMesh< ELEMENT >::Boundary_id.

Member Data Documentation

◆ Boundary_id

template<class ELEMENT >
Vector<Vector<unsigned> > oomph::BrickFromTetMesh< ELEMENT >::Boundary_id
private

Vector of vectors containing the boundary IDs of the overall boundary specified in the xda file.

Definition at line 151 of file brick_from_tet_mesh.template.h.

Referenced by oomph::BrickFromTetMesh< ELEMENT >::oomph_lib_boundary_ids().


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