|
| ParMesh (MPI_Comm comm, Mesh &mesh, int *partitioning_=NULL, int part_method=1) |
|
MPI_Comm | GetComm () |
|
int | GetNRanks () |
|
int | GetMyRank () |
|
int | GetNGroups () |
|
int | GroupNVertices (int group) |
|
int | GroupNEdges (int group) |
|
int | GroupNFaces (int group) |
|
int | GroupVertex (int group, int i) |
|
void | GroupEdge (int group, int i, int &edge, int &o) |
|
void | GroupFace (int group, int i, int &face, int &o) |
|
void | ExchangeFaceNbrData () |
|
void | ExchangeFaceNbrNodes () |
|
int | GetNFaceNeighbors () const |
|
int | GetFaceNbrGroup (int fn) const |
|
int | GetFaceNbrRank (int fn) const |
|
Table * | GetFaceToAllElementTable () const |
|
FaceElementTransformations * | GetSharedFaceTransformations (int) |
|
int | GetNSharedFaces () const |
| Return the number of shared faces (3D), edges (2D), vertices (1D) More...
|
|
virtual void | ReorientTetMesh () |
| See the remarks for the serial version in mesh.hpp. More...
|
|
virtual void | LocalRefinement (const Array< int > &marked_el, int type=3) |
| Refine the marked elements. More...
|
|
void | RefineGroups (const DSTable &v_to_v, int *middle) |
| Update the groups after tet refinement. More...
|
|
virtual void | Print (std::ostream &out=std::cout) const |
|
virtual void | PrintXG (std::ostream &out=std::cout) const |
|
void | PrintAsOne (std::ostream &out=std::cout) |
|
void | PrintAsOneXG (std::ostream &out=std::cout) |
| Old mesh format (Netgen/Truegrid) version of 'PrintAsOne'. More...
|
|
void | PrintInfo (std::ostream &out=std::cout) |
| Print various parallel mesh stats. More...
|
|
virtual | ~ParMesh () |
|
| Mesh () |
|
| Mesh (int _Dim, int NVert, int NElem, int NBdrElem=0, int _spaceDim=-1) |
|
Element * | NewElement (int geom) |
|
void | AddVertex (const double *) |
|
void | AddTri (const int *vi, int attr=1) |
|
void | AddTriangle (const int *vi, int attr=1) |
|
void | AddQuad (const int *vi, int attr=1) |
|
void | AddTet (const int *vi, int attr=1) |
|
void | AddHex (const int *vi, int attr=1) |
|
void | AddHexAsTets (const int *vi, int attr=1) |
|
void | AddElement (Element *elem) |
|
void | AddBdrSegment (const int *vi, int attr=1) |
|
void | AddBdrTriangle (const int *vi, int attr=1) |
|
void | AddBdrQuad (const int *vi, int attr=1) |
|
void | AddBdrQuadAsTriangles (const int *vi, int attr=1) |
|
void | GenerateBoundaryElements () |
|
void | FinalizeTriMesh (int generate_edges=0, int refine=0, bool fix_orientation=true) |
|
void | FinalizeQuadMesh (int generate_edges=0, int refine=0, bool fix_orientation=true) |
|
void | FinalizeTetMesh (int generate_edges=0, int refine=0, bool fix_orientation=true) |
|
void | FinalizeHexMesh (int generate_edges=0, int refine=0, bool fix_orientation=true) |
|
void | SetAttributes () |
|
| Mesh (int nx, int ny, int nz, Element::Type type, int generate_edges=0, double sx=1.0, double sy=1.0, double sz=1.0) |
|
| Mesh (int nx, int ny, Element::Type type, int generate_edges=0, double sx=1.0, double sy=1.0) |
|
| Mesh (int n, double sx=1.0) |
|
| Mesh (std::istream &input, int generate_edges=0, int refine=1, bool fix_orientation=true) |
|
| Mesh (Mesh *mesh_array[], int num_pieces) |
| Create a disjoint mesh from the given mesh array. More...
|
|
void | Load (std::istream &input, int generate_edges=0, int refine=1, bool fix_orientation=true) |
|
int | MeshGenerator () |
| Truegrid or NetGen? More...
|
|
int | GetNV () const |
|
int | GetNE () const |
| Returns number of elements. More...
|
|
int | GetNBE () const |
| Returns number of boundary elements. More...
|
|
int | GetNEdges () const |
| Return the number of edges. More...
|
|
int | GetNFaces () const |
| Return the number of faces in a 3D mesh. More...
|
|
int | GetNumFaces () const |
| Return the number of faces (3D), edges (2D) or vertices (1D). More...
|
|
int | EulerNumber () const |
| Equals 1 + num_holes - num_loops. More...
|
|
int | EulerNumber2D () const |
| Equals 1 - num_holes. More...
|
|
int | Dimension () const |
|
int | SpaceDimension () const |
|
const double * | GetVertex (int i) const |
| Return pointer to vertex i's coordinates. More...
|
|
double * | GetVertex (int i) |
|
const Element * | GetElement (int i) const |
|
Element * | GetElement (int i) |
|
const Element * | GetBdrElement (int i) const |
|
Element * | GetBdrElement (int i) |
|
const Element * | GetFace (int i) const |
|
int | GetFaceBaseGeometry (int i) const |
|
int | GetElementBaseGeometry (int i) const |
|
int | GetBdrElementBaseGeometry (int i) const |
|
void | GetElementVertices (int i, Array< int > &dofs) const |
| Returns the indices of the dofs of element i. More...
|
|
void | GetBdrElementVertices (int i, Array< int > &dofs) const |
| Returns the indices of the dofs of boundary element i. More...
|
|
void | GetElementEdges (int i, Array< int > &, Array< int > &) const |
| Return the indices and the orientations of all edges of element i. More...
|
|
void | GetBdrElementEdges (int i, Array< int > &, Array< int > &) const |
| Return the indices and the orientations of all edges of bdr element i. More...
|
|
void | GetFaceEdges (int i, Array< int > &, Array< int > &) const |
|
void | GetFaceVertices (int i, Array< int > &vert) const |
| Returns the indices of the vertices of face i. More...
|
|
void | GetEdgeVertices (int i, Array< int > &vert) const |
| Returns the indices of the vertices of edge i. More...
|
|
Table * | GetFaceEdgeTable () const |
| Returns the face-to-edge Table (3D) More...
|
|
Table * | GetEdgeVertexTable () const |
| Returns the edge-to-vertex Table (3D) More...
|
|
void | GetElementFaces (int i, Array< int > &, Array< int > &) const |
| Return the indices and the orientations of all faces of element i. More...
|
|
void | GetBdrElementFace (int i, int *, int *) const |
| Return the index and the orientation of the face of bdr element i. (3D) More...
|
|
int | GetBdrElementEdgeIndex (int i) const |
|
int | GetElementType (int i) const |
| Returns the type of element i. More...
|
|
int | GetBdrElementType (int i) const |
| Returns the type of boundary element i. More...
|
|
void | GetPointMatrix (int i, DenseMatrix &pointmat) const |
|
void | GetBdrPointMatrix (int i, DenseMatrix &pointmat) const |
|
void | GetElementTransformation (int i, IsoparametricTransformation *ElTr) |
|
ElementTransformation * | GetElementTransformation (int i) |
| Returns the transformation defining the i-th element. More...
|
|
void | GetElementTransformation (int i, const Vector &nodes, IsoparametricTransformation *ElTr) |
|
ElementTransformation * | GetBdrElementTransformation (int i) |
| Returns the transformation defining the i-th boundary element. More...
|
|
void | GetBdrElementTransformation (int i, IsoparametricTransformation *ElTr) |
|
void | GetFaceTransformation (int i, IsoparametricTransformation *FTr) |
|
ElementTransformation * | GetFaceTransformation (int FaceNo) |
| Returns the transformation defining the given face element. More...
|
|
void | GetEdgeTransformation (int i, IsoparametricTransformation *EdTr) |
|
ElementTransformation * | GetEdgeTransformation (int EdgeNo) |
| Returns the transformation defining the given face element. More...
|
|
FaceElementTransformations * | GetFaceElementTransformations (int FaceNo, int mask=31) |
|
FaceElementTransformations * | GetInteriorFaceTransformations (int FaceNo) |
|
FaceElementTransformations * | GetBdrFaceTransformations (int BdrElemNo) |
|
bool | FaceIsInterior (int FaceNo) const |
| Return true if the given face is interior. More...
|
|
void | GetFaceElements (int Face, int *Elem1, int *Elem2) |
|
void | GetFaceInfos (int Face, int *Inf1, int *Inf2) |
|
void | CheckElementOrientation (bool fix_it=true) |
| Check the orientation of the elements. More...
|
|
void | CheckBdrElementOrientation (bool fix_it=true) |
| Check the orientation of the boundary elements. More...
|
|
int | GetAttribute (int i) const |
| Return the attribute of element i. More...
|
|
int | GetBdrAttribute (int i) const |
| Return the attribute of boundary element i. More...
|
|
const Table & | ElementToElementTable () |
|
const Table & | ElementToFaceTable () const |
|
const Table & | ElementToEdgeTable () const |
|
Table * | GetVertexToElementTable () |
| The returned Table must be destroyed by the caller. More...
|
|
Table * | GetFaceToElementTable () const |
|
int * | CartesianPartitioning (int nxyz[]) |
|
int * | GeneratePartitioning (int nparts, int part_method=1) |
|
void | CheckPartitioning (int *partitioning) |
|
void | CheckDisplacements (const Vector &displacements, double &tmax) |
|
void | MoveVertices (const Vector &displacements) |
|
void | GetVertices (Vector &vert_coord) const |
|
void | SetVertices (const Vector &vert_coord) |
|
void | GetNode (int i, double *coord) |
|
void | SetNode (int i, const double *coord) |
|
void | MoveNodes (const Vector &displacements) |
|
void | GetNodes (Vector &node_coord) const |
|
void | SetNodes (const Vector &node_coord) |
|
GridFunction * | GetNodes () |
| Return a pointer to the internal node GridFunction (may be NULL). More...
|
|
void | NewNodes (GridFunction &nodes, bool make_owner=false) |
| Replace the internal node GridFunction with the given GridFunction. More...
|
|
void | SwapNodes (GridFunction *&nodes, int &own_nodes_) |
|
void | GetNodes (GridFunction &nodes) const |
| Return the mesh nodes/vertices projected on the given GridFunction. More...
|
|
void | SetNodalFESpace (FiniteElementSpace *nfes) |
|
void | SetNodalGridFunction (GridFunction *nodes, bool make_owner=false) |
|
const FiniteElementSpace * | GetNodalFESpace () |
|
void | UniformRefinement () |
|
void | GeneralRefinement (Array< Refinement > &refinements, int nonconforming=-1, int nc_limit=0) |
|
void | GeneralRefinement (Array< int > &el_to_refine, int nonconforming=-1, int nc_limit=0) |
|
void | KnotInsert (Array< KnotVector * > &kv) |
|
void | DegreeElevate (int t) |
|
void | UseTwoLevelState (int use) |
|
void | SetState (int s) |
| Change the mesh state to NORMAL, TWO_LEVEL_COARSE, TWO_LEVEL_FINE. More...
|
|
int | GetState () const |
|
int | GetNumFineElems (int i) |
|
int | GetRefinementType (int i) |
| For a given coarse element i returns its refinement type. More...
|
|
int | GetFineElem (int i, int j) |
|
ElementTransformation * | GetFineElemTrans (int i, int j) |
|
void | PrintVTK (std::ostream &out) |
| Print the mesh in VTK format (linear and quadratic meshes only). More...
|
|
void | PrintVTK (std::ostream &out, int ref, int field_data=0) |
|
void | GetElementColoring (Array< int > &colors, int el0=0) |
|
void | PrintWithPartitioning (int *partitioning, std::ostream &out, int elem_attr=0) const |
|
void | PrintElementsWithPartitioning (int *partitioning, std::ostream &out, int interior_faces=0) |
|
void | PrintSurfaces (const Table &Aface_face, std::ostream &out) const |
| Print set of disjoint surfaces: More...
|
|
void | ScaleSubdomains (double sf) |
|
void | ScaleElements (double sf) |
|
void | Transform (void(*f)(const Vector &, Vector &)) |
|
double | GetElementSize (int i, int type=0) |
|
double | GetElementSize (int i, const Vector &dir) |
|
double | GetElementVolume (int i) |
|
void | PrintCharacteristics (Vector *Vh=NULL, Vector *Vk=NULL) |
|
void | MesquiteSmooth (const int mesquite_option=0) |
|
virtual | ~Mesh () |
| Destroys mesh. More...
|
|