Wildmeshing Toolkit
wmtk::components::multimesh::utils Namespace Reference

Functions

wmtk::attribute::MeshAttributeHandle get_attribute (const Mesh &mesh, const nlohmann::json &js)
 
wmtk::attribute::MeshAttributeHandle get_attribute (const wmtk::components::multimesh::MeshCollection &mc, const nlohmann::json &js)
 

Function Documentation

◆ get_attribute() [1/2]

wmtk::attribute::MeshAttributeHandle wmtk::components::multimesh::utils::get_attribute ( const Mesh mesh,
const nlohmann::json js 
)

Definition at line 8 of file get_attribute.cpp.

References wmtk::Mesh::get_attribute_handle(), wmtk::get_primitive_type_from_id(), wmtk::Mesh::has_attribute(), wmtk::log_and_throw_error(), and wmtk::Mesh::top_cell_dimension().

Referenced by get_attribute().

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

◆ get_attribute() [2/2]

wmtk::attribute::MeshAttributeHandle wmtk::components::multimesh::utils::get_attribute ( const wmtk::components::multimesh::MeshCollection mc,
const nlohmann::json js 
)

Definition at line 79 of file get_attribute.cpp.

References get_attribute(), and wmtk::components::multimesh::MeshCollection::get_mesh().

Here is the call graph for this function: