www.mooseframework.org
Namespaces | Functions
MooseMeshUtils.C File Reference

Go to the source code of this file.

Namespaces

 MooseMeshUtils
 

Functions

void MooseMeshUtils::changeBoundaryId (MeshBase &mesh, const boundary_id_type old_id, const boundary_id_type new_id, bool delete_prev)
 
std::vector< BoundaryIDMooseMeshUtils::getBoundaryIDs (const libMesh::MeshBase &mesh, const std::vector< BoundaryName > &boundary_name, bool generate_unknown)
 Gets the boundary IDs with their names. More...
 
std::vector< BoundaryIDMooseMeshUtils::getBoundaryIDs (const libMesh::MeshBase &mesh, const std::vector< BoundaryName > &boundary_name, bool generate_unknown, const std::set< BoundaryID > &mesh_boundary_ids)
 Gets the boundary IDs with their names. More...
 
std::set< BoundaryIDMooseMeshUtils::getBoundaryIDSet (const libMesh::MeshBase &mesh, const std::vector< BoundaryName > &boundary_name, bool generate_unknown)
 Gets the boundary IDs into a set with their names. More...
 
std::vector< subdomain_id_typeMooseMeshUtils::getSubdomainIDs (const libMesh::MeshBase &mesh, const std::vector< SubdomainName > &subdomain_name)
 Get the associated subdomainIDs for the subdomain names that are passed in. More...
 
BoundaryID MooseMeshUtils::getBoundaryID (const BoundaryName &boundary_name, const MeshBase &mesh)
 
SubdomainID MooseMeshUtils::getSubdomainID (const SubdomainName &subdomain_name, const MeshBase &mesh)
 
void MooseMeshUtils::changeSubdomainId (MeshBase &mesh, const subdomain_id_type old_id, const subdomain_id_type new_id)
 
Point MooseMeshUtils::meshCentroidCalculator (const MeshBase &mesh)
 
std::unordered_map< dof_id_type, dof_id_typeMooseMeshUtils::getExtraIDUniqueCombinationMap (const MeshBase &mesh, const std::set< SubdomainID > &block_ids, std::vector< ExtraElementIDName > extra_ids)
 
bool MooseMeshUtils::isCoPlanar (const std::vector< Point > vec_pts, const Point plane_nvec, const Point fixed_pt)
 
bool MooseMeshUtils::isCoPlanar (const std::vector< Point > vec_pts, const Point plane_nvec)
 
bool MooseMeshUtils::isCoPlanar (const std::vector< Point > vec_pts)
 
SubdomainID MooseMeshUtils::getNextFreeSubdomainID (MeshBase &input_mesh)
 
BoundaryID MooseMeshUtils::getNextFreeBoundaryID (MeshBase &input_mesh)
 
bool MooseMeshUtils::hasSubdomainID (MeshBase &input_mesh, const SubdomainID &id)
 
bool MooseMeshUtils::hasSubdomainName (MeshBase &input_mesh, const SubdomainName &name)
 
bool MooseMeshUtils::hasBoundaryID (const MeshBase &input_mesh, const BoundaryID id)
 
bool MooseMeshUtils::hasBoundaryName (const MeshBase &input_mesh, const BoundaryName &name)
 
void MooseMeshUtils::makeOrderedNodeList (std::vector< std::pair< dof_id_type, dof_id_type >> &node_assm, std::vector< dof_id_type > &elem_id_list, std::vector< dof_id_type > &ordered_node_list, std::vector< dof_id_type > &ordered_elem_id_list)
 Convert a list of sides in the form of a vector of pairs of node ids into a list of ordered nodes based on connectivity. More...