Gascoigne::HierarchicalMesh3d Class Reference

#include <hierarchicalmesh3d.h>

Inheritance diagram for Gascoigne::HierarchicalMesh3d:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::HierarchicalMesh3d:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HierarchicalMesh3d ()
 HierarchicalMesh3d (const HierarchicalMesh3d &H)
HierarchicalMesh3doperator= (const HierarchicalMesh3d &H)
 HierarchicalMesh3d (const ParamFile *paramfile)
 ~HierarchicalMesh3d ()
std::string GetName () const
int dimension () const
int nnodes () const
int ncells () const
int nbquads () const
int nodes_per_cell (int i) const
int VtkType (int i) const
const Vertex3dvertex3d (int i) const
const Hexhex (int i) const
const BoundaryQuadbquad (int i) const
int vertex_of_cell (int i, int ii) const
int vertex_of_bquad (int i, int ii) const
int face_of_hex (int i, int ii) const
int level (int i) const
bool sleep (int i) const
int child (int i, int ii) const
int nchilds (int i) const
const HexLawAndOrderHexLawOrder () const
const LineHangListlinehang () const
const QuadHangListquadhanglist () const
const BoundaryFunction3dquad_shape (int i) const
const std::vector< BoundaryQuad > & quad_list () const
const VertexVec3dvertex3d () const
const HexVechex () const
const BQuadVecbquad () const
const QuadHangListquadhang () const
const std::map< int, int > & GetHexOfCurved () const
void write (const std::string &) const
void write_gup (const std::string &) const
void write_gip (const std::string &) const
void WriteAll (const std::string &) const
void write_inp (const std::string &) const
void read_inp (const std::string &)
void read_gup (const std::string &)
void read_gip (const std::string &)
void global_coarse3d ()
void refine (const IntVector &, const IntVector &)
void patch_refine (IntVector &, IntVector &)
void FillAllBoundaryLines ()
pint EdgeNeighbour (int i, int e) const
int NodeOnFace (int e) const
fixarray< 4, int > ChildrenOfFace (int e) const
void GetVertexesOfFace (fixarray< 4, int > &, int) const
void GetVertexesOfFace (fixarray< 5, int > &, int) const
void GetAwakePatchs (std::set< int > &) const
void GetAwakeCells (std::set< int > &) const
void ConstructQ2PatchMesh (IntVector &pm) const
IntVector ConstructQ4Patch (int c) const
std::set< int > GetColors () const
int nactivedescendants (int i) const
IntVector GetVertices (int c) const
int GetBoundaryCellOfCurved (int iq) const
void Testing ()
int neighbour (int c, int le) const
int neighbour_neighbour (int c, int le) const
void AddShape (int col, BoundaryFunction< 3 > *f)

Protected Types

typedef std::vector< Vertex3dVertexVec3d
typedef BoundaryCell< 4 > BoundaryQuad
typedef std::vector< HexHexVec
typedef std::vector< BoundaryQuadBQuadVec
typedef HangList< 2 > LineHangList
typedef HangList< 4 > QuadHangList
typedef BoundaryFunction< 3 > BoundaryFunction3d
typedef std::map< int, fixarray<
8, int > > 
HexChilds

Protected Member Functions

int Vater (const int i) const
IntVector Nachkommen (const int i) const
IntVector Geschwister (const int i) const
IntVector Kinder (const int i) const
void post_refine3d ()
void delete_vertexs3d (const IntVector &)
void new_edge_vertex3d (int, const EdgeVector &)
void new_face_vertex3d (int, const FaceVector &)
void new_vertex3d (int, const fixarray< 6, int > &)
void check_mesh3d () const
std::pair< bool, tintcheck_inp (const std::string &)
std::pair< int, int > GetBoundaryInformation (int i) const
void init_quad (BoundaryQuad &)
void build_neighbours () const
void prepare3d (const IntVector &, const IntVector &, IntSet &, IntSet &)
void new_hexs (const HangContainer3d &, const IntVector &, const IntVector &, int, const IntSet &)
void ghost_fill_neighbours2d ()
void ghost_fill_neighbours3d ()
void UpdateHangs (HangContainer3d &hangset, const IntSet &cellref, const IntSet &cellcoarse)
void FaceCoarse (HangContainer3d &, const IntSet &) const
void FaceRefine (HangContainer3d &, const IntSet &) const
void UpdateHangingEdges (HangContainer3d &hangset, const IntSet &cellref, const IntSet &cellcoarse) const
void boundary_prepare3d (IntSet &, IntSet &, IntSet &, const HangContainer3d &)
void new_boundary3d (IntSet &, IntSet &, IntSet &)
void new_vertexs3d (HangContainer3d &, const IntVector &, const IntSet &)
void basic_refine3d (HangContainer3d &, const IntSet &, const IntSet &)
void basic_fill_neighbours3d ()
void boundary_newton3d (IntSet &)
void inner_vertex_newton3d (const IntVector &, const IntSet &, const IntSet &)
void update_boundary_data3d (const IntSet &)
void new_bquads (const IntVector &, const IntVector &, const IntSet &)
void new_middle_vertex3d (int, int)
int regular_grid3d_one (IntSet &, IntVector &, const IntSet &, const IntSet &)
int regular_grid3d_one (IntVector &, IntVector &, const IntSet &, const IntSet &)
int regular_grid3d_two (IntVector &, const IntSet &)
int regular_grid3d_three_refine (IntSet &) const
int regular_grid3d_three_coarse (IntSet &, IntSet &) const
void GetMinMaxLevels (IntVector &maxi, IntVector &mini, const IntSet &CellRef) const
void init_edges3d ()
void LoadFathers3d (IntVector &v) const
void _refine3d (IntSet &, IntSet &, const IntVector &, const IntVector &)
void FillNeighbourFaces (const Hex &father, const FaceVector &Face, int rneigh)
void FillNeighbourFaces (int M, int S, const FaceVector &Face)
void InitHexOfCurved ()
int FindPatchDepth () const
void FillVertexLevels (IntVector &dst) const
void RefineCoarseNodes (IntSet &dst, const IntVector &refnodes, const IntVector &vertexlevel) const
void VertexToCells (IntVector &dst, const IntSet &src, const IntVector &vertexlevel) const
void VertexToCellsCoarsening (IntVector &dst, const IntSet &src, const IntVector &vertexlevel) const
void recursive_childs (int q, IntVector &ref, int d) const
const CurvedShapes< 3 > & GetCurvedShapes () const
CurvedShapes< 3 > & GetCurvedShapes ()

Protected Attributes

CurvedShapes< 3 > _curvedshapes
VertexVec3d vertexs3d
HexChilds hexchildsofdeleted
HexVec hexs
BQuadVec Bquads
LineHangList LineHang
QuadHangList QuadHang
HexLawAndOrder HexLaO
std::map< int, int > hexofcurved

Member Typedef Documentation

typedef BoundaryFunction<3> Gascoigne::HierarchicalMesh3d::BoundaryFunction3d [protected]

typedef BoundaryCell<4> Gascoigne::HierarchicalMesh3d::BoundaryQuad [protected]

typedef std::vector<BoundaryQuad> Gascoigne::HierarchicalMesh3d::BQuadVec [protected]

typedef std::map<int,fixarray<8,int> > Gascoigne::HierarchicalMesh3d::HexChilds [protected]

typedef std::vector<Hex> Gascoigne::HierarchicalMesh3d::HexVec [protected]

typedef HangList<2> Gascoigne::HierarchicalMesh3d::LineHangList [protected]

typedef HangList<4> Gascoigne::HierarchicalMesh3d::QuadHangList [protected]

typedef std::vector<Vertex3d> Gascoigne::HierarchicalMesh3d::VertexVec3d [protected]


Constructor & Destructor Documentation

Gascoigne::HierarchicalMesh3d::HierarchicalMesh3d (  ) 

Gascoigne::HierarchicalMesh3d::HierarchicalMesh3d ( const HierarchicalMesh3d H  ) 

Gascoigne::HierarchicalMesh3d::HierarchicalMesh3d ( const ParamFile paramfile  ) 

Gascoigne::HierarchicalMesh3d::~HierarchicalMesh3d (  )  [inline]


Member Function Documentation

void Gascoigne::HierarchicalMesh3d::_refine3d ( IntSet ,
IntSet ,
const IntVector ,
const IntVector  
) [protected]

void Gascoigne::HierarchicalMesh3d::AddShape ( int  col,
BoundaryFunction< 3 > *  f 
) [inline, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::basic_fill_neighbours3d (  )  [protected]

void Gascoigne::HierarchicalMesh3d::basic_refine3d ( HangContainer3d ,
const IntSet ,
const IntSet  
) [protected]

void Gascoigne::HierarchicalMesh3d::boundary_newton3d ( IntSet  )  [protected]

void Gascoigne::HierarchicalMesh3d::boundary_prepare3d ( IntSet ,
IntSet ,
IntSet ,
const HangContainer3d  
) [protected]

const BQuadVec& Gascoigne::HierarchicalMesh3d::bquad (  )  const [inline]

const BoundaryQuad& Gascoigne::HierarchicalMesh3d::bquad ( int  i  )  const [inline]

void Gascoigne::HierarchicalMesh3d::build_neighbours (  )  const [protected]

pair< bool, tint > Gascoigne::HierarchicalMesh3d::check_inp ( const std::string  )  [protected]

void Gascoigne::HierarchicalMesh3d::check_mesh3d (  )  const [protected]

int Gascoigne::HierarchicalMesh3d::child ( int  i,
int  ii 
) const [inline, virtual]

Implements Gascoigne::HierarchicalMesh.

fixarray< 4, int > Gascoigne::HierarchicalMesh3d::ChildrenOfFace ( int  e  )  const

void Gascoigne::HierarchicalMesh3d::ConstructQ2PatchMesh ( IntVector pm  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

IntVector Gascoigne::HierarchicalMesh3d::ConstructQ4Patch ( int  c  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::delete_vertexs3d ( const IntVector  )  [protected]

int Gascoigne::HierarchicalMesh3d::dimension (  )  const [inline, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

pint Gascoigne::HierarchicalMesh3d::EdgeNeighbour ( int  i,
int  e 
) const

int Gascoigne::HierarchicalMesh3d::face_of_hex ( int  i,
int  ii 
) const [inline]

void Gascoigne::HierarchicalMesh3d::FaceCoarse ( HangContainer3d ,
const IntSet  
) const [protected]

void Gascoigne::HierarchicalMesh3d::FaceRefine ( HangContainer3d ,
const IntSet  
) const [protected]

void Gascoigne::HierarchicalMesh3d::FillAllBoundaryLines (  ) 

void Gascoigne::HierarchicalMesh3d::FillNeighbourFaces ( int  M,
int  S,
const FaceVector Face 
) [protected]

void Gascoigne::HierarchicalMesh3d::FillNeighbourFaces ( const Hex father,
const FaceVector Face,
int  rneigh 
) [protected]

void Gascoigne::HierarchicalMesh3d::FillVertexLevels ( IntVector dst  )  const [protected, virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::FindPatchDepth (  )  const [protected, virtual]

Implements Gascoigne::HierarchicalMesh.

IntVector Gascoigne::HierarchicalMesh3d::Geschwister ( const int  i  )  const [protected, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::GetAwakeCells ( std::set< int > &   )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::GetAwakePatchs ( std::set< int > &   )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::GetBoundaryCellOfCurved ( int  iq  )  const [inline, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

pair< int, int > Gascoigne::HierarchicalMesh3d::GetBoundaryInformation ( int  i  )  const [protected]

set< int > Gascoigne::HierarchicalMesh3d::GetColors (  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

CurvedShapes<3>& Gascoigne::HierarchicalMesh3d::GetCurvedShapes (  )  [inline, protected]

const CurvedShapes<3>& Gascoigne::HierarchicalMesh3d::GetCurvedShapes (  )  const [inline, protected]

const std::map<int,int>& Gascoigne::HierarchicalMesh3d::GetHexOfCurved (  )  const [inline]

void Gascoigne::HierarchicalMesh3d::GetMinMaxLevels ( IntVector maxi,
IntVector mini,
const IntSet CellRef 
) const [protected]

std::string Gascoigne::HierarchicalMesh3d::GetName (  )  const [inline, virtual]

Implements Gascoigne::MeshInterface.

void Gascoigne::HierarchicalMesh3d::GetVertexesOfFace ( fixarray< 5, int > &  ,
int   
) const

void Gascoigne::HierarchicalMesh3d::GetVertexesOfFace ( fixarray< 4, int > &  ,
int   
) const

IntVector Gascoigne::HierarchicalMesh3d::GetVertices ( int  c  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::ghost_fill_neighbours2d (  )  [protected]

void Gascoigne::HierarchicalMesh3d::ghost_fill_neighbours3d (  )  [protected]

void Gascoigne::HierarchicalMesh3d::global_coarse3d (  ) 

const HexVec& Gascoigne::HierarchicalMesh3d::hex (  )  const [inline]

const Hex& Gascoigne::HierarchicalMesh3d::hex ( int  i  )  const [inline]

const HexLawAndOrder& Gascoigne::HierarchicalMesh3d::HexLawOrder (  )  const [inline]

void Gascoigne::HierarchicalMesh3d::init_edges3d (  )  [protected]

void Gascoigne::HierarchicalMesh3d::init_quad ( BoundaryQuad  )  [protected]

void Gascoigne::HierarchicalMesh3d::InitHexOfCurved (  )  [protected]

void Gascoigne::HierarchicalMesh3d::inner_vertex_newton3d ( const IntVector ,
const IntSet ,
const IntSet  
) [protected]

IntVector Gascoigne::HierarchicalMesh3d::Kinder ( const int  i  )  const [protected, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::level ( int  i  )  const [inline, virtual]

Implements Gascoigne::HierarchicalMesh.

const LineHangList& Gascoigne::HierarchicalMesh3d::linehang (  )  const [inline]

void Gascoigne::HierarchicalMesh3d::LoadFathers3d ( IntVector v  )  const [protected]

IntVector Gascoigne::HierarchicalMesh3d::Nachkommen ( const int  i  )  const [protected, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::nactivedescendants ( int  i  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::nbquads (  )  const [inline]

int Gascoigne::HierarchicalMesh3d::ncells (  )  const [inline, virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::nchilds ( int  i  )  const [inline, virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::neighbour ( int  c,
int  le 
) const

int Gascoigne::HierarchicalMesh3d::neighbour_neighbour ( int  c,
int  le 
) const

void Gascoigne::HierarchicalMesh3d::new_boundary3d ( IntSet ,
IntSet ,
IntSet  
) [protected]

void Gascoigne::HierarchicalMesh3d::new_bquads ( const IntVector ,
const IntVector ,
const IntSet  
) [protected]

void Gascoigne::HierarchicalMesh3d::new_edge_vertex3d ( int  ,
const EdgeVector  
) [protected]

void Gascoigne::HierarchicalMesh3d::new_face_vertex3d ( int  ,
const FaceVector  
) [protected]

void Gascoigne::HierarchicalMesh3d::new_hexs ( const HangContainer3d ,
const IntVector ,
const IntVector ,
int  ,
const IntSet  
) [protected]

void Gascoigne::HierarchicalMesh3d::new_middle_vertex3d ( int  ,
int   
) [protected]

void Gascoigne::HierarchicalMesh3d::new_vertex3d ( int  ,
const fixarray< 6, int > &   
) [protected]

void Gascoigne::HierarchicalMesh3d::new_vertexs3d ( HangContainer3d ,
const IntVector ,
const IntSet  
) [protected]

int Gascoigne::HierarchicalMesh3d::nnodes (  )  const [inline, virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::NodeOnFace ( int  e  )  const

int Gascoigne::HierarchicalMesh3d::nodes_per_cell ( int  i  )  const [inline, virtual]

Implements Gascoigne::MeshInterface.

HierarchicalMesh3d & Gascoigne::HierarchicalMesh3d::operator= ( const HierarchicalMesh3d H  ) 

void Gascoigne::HierarchicalMesh3d::patch_refine ( IntVector ,
IntVector  
) [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::post_refine3d (  )  [protected]

void Gascoigne::HierarchicalMesh3d::prepare3d ( const IntVector ,
const IntVector ,
IntSet ,
IntSet  
) [protected]

const std::vector<BoundaryQuad>& Gascoigne::HierarchicalMesh3d::quad_list (  )  const [inline]

const BoundaryFunction< 3 > * Gascoigne::HierarchicalMesh3d::quad_shape ( int  i  )  const

const QuadHangList& Gascoigne::HierarchicalMesh3d::quadhang (  )  const [inline]

const QuadHangList& Gascoigne::HierarchicalMesh3d::quadhanglist (  )  const [inline]

void Gascoigne::HierarchicalMesh3d::read_gip ( const std::string  )  [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::read_gup ( const std::string  )  [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::read_inp ( const std::string  )  [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::recursive_childs ( int  q,
IntVector ref,
int  d 
) const [protected]

void Gascoigne::HierarchicalMesh3d::refine ( const IntVector ,
const IntVector  
) [virtual]

Implements Gascoigne::HierarchicalMesh.

Reimplemented in Gascoigne::CoarseHierarchicalMesh3d.

void Gascoigne::HierarchicalMesh3d::RefineCoarseNodes ( IntSet dst,
const IntVector refnodes,
const IntVector vertexlevel 
) const [protected, virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::regular_grid3d_one ( IntVector ,
IntVector ,
const IntSet ,
const IntSet  
) [protected]

int Gascoigne::HierarchicalMesh3d::regular_grid3d_one ( IntSet ,
IntVector ,
const IntSet ,
const IntSet  
) [protected]

int Gascoigne::HierarchicalMesh3d::regular_grid3d_three_coarse ( IntSet ,
IntSet  
) const [protected]

int Gascoigne::HierarchicalMesh3d::regular_grid3d_three_refine ( IntSet  )  const [protected]

int Gascoigne::HierarchicalMesh3d::regular_grid3d_two ( IntVector ,
const IntSet  
) [protected]

bool Gascoigne::HierarchicalMesh3d::sleep ( int  i  )  const [inline, virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::Testing (  ) 

void Gascoigne::HierarchicalMesh3d::update_boundary_data3d ( const IntSet  )  [protected]

void Gascoigne::HierarchicalMesh3d::UpdateHangingEdges ( HangContainer3d hangset,
const IntSet cellref,
const IntSet cellcoarse 
) const [protected]

void Gascoigne::HierarchicalMesh3d::UpdateHangs ( HangContainer3d hangset,
const IntSet cellref,
const IntSet cellcoarse 
) [protected]

int Gascoigne::HierarchicalMesh3d::Vater ( const int  i  )  const [protected, virtual]

Reimplemented from Gascoigne::HierarchicalMesh.

const VertexVec3d& Gascoigne::HierarchicalMesh3d::vertex3d (  )  const [inline]

const Vertex3d& Gascoigne::HierarchicalMesh3d::vertex3d ( int  i  )  const [inline, virtual]

Reimplemented from Gascoigne::MeshInterface.

int Gascoigne::HierarchicalMesh3d::vertex_of_bquad ( int  i,
int  ii 
) const [inline]

int Gascoigne::HierarchicalMesh3d::vertex_of_cell ( int  i,
int  ii 
) const [inline, virtual]

Implements Gascoigne::MeshInterface.

void Gascoigne::HierarchicalMesh3d::VertexToCells ( IntVector dst,
const IntSet src,
const IntVector vertexlevel 
) const [protected, virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::VertexToCellsCoarsening ( IntVector dst,
const IntSet src,
const IntVector vertexlevel 
) const [protected, virtual]

Implements Gascoigne::HierarchicalMesh.

int Gascoigne::HierarchicalMesh3d::VtkType ( int  i  )  const [inline, virtual]

Implements Gascoigne::MeshInterface.

void Gascoigne::HierarchicalMesh3d::write ( const std::string  )  const

void Gascoigne::HierarchicalMesh3d::write_gip ( const std::string  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::write_gup ( const std::string  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::write_inp ( const std::string  )  const [virtual]

Implements Gascoigne::HierarchicalMesh.

void Gascoigne::HierarchicalMesh3d::WriteAll ( const std::string  )  const


Member Data Documentation

CurvedShapes<3> Gascoigne::HierarchicalMesh3d::_curvedshapes [protected]

BQuadVec Gascoigne::HierarchicalMesh3d::Bquads [protected]

HexChilds Gascoigne::HierarchicalMesh3d::hexchildsofdeleted [protected]

HexLawAndOrder Gascoigne::HierarchicalMesh3d::HexLaO [protected]

std::map<int,int> Gascoigne::HierarchicalMesh3d::hexofcurved [protected]

HexVec Gascoigne::HierarchicalMesh3d::hexs [protected]

LineHangList Gascoigne::HierarchicalMesh3d::LineHang [protected]

QuadHangList Gascoigne::HierarchicalMesh3d::QuadHang [protected]

VertexVec3d Gascoigne::HierarchicalMesh3d::vertexs3d [protected]


The documentation for this class was generated from the following files:
Generated on Thu Sep 14 10:50:30 2006 for Gascoigne by  doxygen 1.4.7