libMesh
Classes | Namespaces | Functions
mesh_modification.h File Reference

Go to the source code of this file.

Classes

class  libMesh::FunctionBase< Output >
 Base class for functors that can be evaluated at a point and (optionally) time. More...
 

Namespaces

 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 
 libMesh::MeshTools
 Utility functions for operations on a Mesh object.
 
 libMesh::MeshTools::Modification
 Tools for Mesh modification.
 

Functions

void libMesh::MeshTools::Modification::distort (MeshBase &mesh, const Real factor, const bool perturb_boundary=false)
 Randomly perturb the nodal locations. More...
 
void libMesh::MeshTools::Modification::permute_elements (MeshBase &mesh)
 Randomly permute the nodal ordering of each element (without twisting the element mapping). More...
 
void libMesh::MeshTools::Modification::orient_elements (MeshBase &mesh)
 Redo the nodal ordering of each element as necessary to give the element Jacobian a positive orientation. More...
 
void libMesh::MeshTools::Modification::redistribute (MeshBase &mesh, const FunctionBase< Real > &mapfunc)
 Deterministically perturb the nodal locations. More...
 
void libMesh::MeshTools::Modification::translate (MeshBase &mesh, const Real xt=0., const Real yt=0., const Real zt=0.)
 Translates the mesh. More...
 
RealTensorValue libMesh::MeshTools::Modification::rotate (MeshBase &mesh, const Real phi, const Real theta=0., const Real psi=0.)
 Rotates the mesh in the xy plane. More...
 
void libMesh::MeshTools::Modification::scale (MeshBase &mesh, const Real xs, const Real ys=0., const Real zs=0.)
 Scales the mesh. More...
 
void libMesh::MeshTools::Modification::all_tri (MeshBase &mesh)
 Subdivides any non-simplex elements in a Mesh to produce simplex (triangular in 2D, tetrahedral in 3D) elements. More...
 
void libMesh::MeshTools::Modification::smooth (MeshBase &, unsigned int, Real)
 Smooth the mesh with a simple Laplace smoothing algorithm. More...
 
void libMesh::MeshTools::Modification::flatten (MeshBase &mesh)
 Removes all the refinement tree structure of Mesh, leaving only the highest-level (most-refined) elements. More...
 
void libMesh::MeshTools::Modification::change_boundary_id (MeshBase &mesh, const boundary_id_type old_id, const boundary_id_type new_id)
 Finds any boundary ids that are currently old_id, changes them to new_id. More...
 
void libMesh::MeshTools::Modification::change_subdomain_id (MeshBase &mesh, const subdomain_id_type old_id, const subdomain_id_type new_id)
 Finds any subdomain ids that are currently old_id, changes them to new_id. More...