Wildmeshing Toolkit
wmtk::components::multimesh Namespace Reference

Namespaces

 internal
 
 utils
 

Classes

class  MeshCollection
 
class  NamedMultiMesh
 

Enumerations

enum class  MultiMeshType { UV , Boundary , Tag }
 

Functions

std::shared_ptr< Meshaxis_aligned_fusion (const Mesh &mesh, const std::vector< bool > &operating_axis, double eps)
 
std::shared_ptr< Meshfrom_boundary (Mesh &mesh, const PrimitiveType ptype, const std::string &attribute_name, char value, const std::vector< wmtk::attribute::MeshAttributeHandle > &passed_attributes)
 
void from_facet_bijection (Mesh &parent, Mesh &child)
 
std::shared_ptr< Meshfrom_tag (const wmtk::attribute::MeshAttributeHandle &handle, const wmtk::attribute::MeshAttributeHandle::ValueVariant &tag_value, const std::vector< wmtk::attribute::MeshAttributeHandle > &passed_attributes)
 
std::pair< std::shared_ptr< Mesh >, std::shared_ptr< Mesh > > multimesh (const MultiMeshType &type, Mesh &parent, std::shared_ptr< Mesh > child, const attribute::MeshAttributeHandle parent_position_handle, const std::string &tag_name, const int64_t tag_value, const int64_t primitive)
 

Enumeration Type Documentation

◆ MultiMeshType

Enumerator
UV 
Boundary 
Tag 

Definition at line 8 of file multimesh.hpp.

Function Documentation

◆ axis_aligned_fusion()

std::shared_ptr< Mesh > wmtk::components::multimesh::axis_aligned_fusion ( const Mesh mesh,
const std::vector< bool > &  operating_axis,
double  eps 
)

◆ from_boundary()

std::shared_ptr< Mesh > wmtk::components::multimesh::from_boundary ( Mesh mesh,
const PrimitiveType  ptype,
const std::string &  attribute_name,
char  value,
const std::vector< wmtk::attribute::MeshAttributeHandle > &  passed_attributes 
)

Definition at line 10 of file from_boundary.cpp.

References wmtk::Mesh::create_accessor(), from_tag(), wmtk::Mesh::get_all(), wmtk::Mesh::is_boundary(), and wmtk::Mesh::register_attribute().

Referenced by multimesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ from_facet_bijection()

void wmtk::components::multimesh::from_facet_bijection ( Mesh parent,
Mesh child 
)

Definition at line 7 of file from_facet_bijection.cpp.

References wmtk::Mesh::register_child_mesh(), and wmtk::multimesh::same_simplex_dimension_bijection().

Referenced by multimesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ from_tag()

std::shared_ptr< Mesh > wmtk::components::multimesh::from_tag ( const wmtk::attribute::MeshAttributeHandle handle,
const wmtk::attribute::MeshAttributeHandle::ValueVariant tag_value,
const std::vector< wmtk::attribute::MeshAttributeHandle > &  passed_attributes 
)

Definition at line 28 of file from_tag.cpp.

Referenced by from_boundary().

Here is the caller graph for this function:

◆ multimesh()

std::pair< std::shared_ptr< Mesh >, std::shared_ptr< Mesh > > wmtk::components::multimesh::multimesh ( const MultiMeshType type,
Mesh parent,
std::shared_ptr< Mesh child,
const attribute::MeshAttributeHandle  parent_position_handle,
const std::string &  tag_name,
const int64_t  tag_value,
const int64_t  primitive 
)