Wildmeshing Toolkit
wmtk::components::internal::RegularSpace Class Reference

#include <RegularSpace.hpp>

Collaboration diagram for wmtk::components::internal::RegularSpace:
[legend]

Public Member Functions

 RegularSpace (Mesh &mesh, const std::vector< attribute::MeshAttributeHandle > &label_attributes, const std::vector< int64_t > &values, const std::vector< attribute::MeshAttributeHandle > &pass_through_attributes)
 
void regularize_tags ()
 

Private Attributes

Meshm_mesh
 
std::vector< attribute::MeshAttributeHandlem_label_attributes
 
std::vector< int64_t > m_values
 
std::vector< attribute::MeshAttributeHandlem_pass_through_attributes
 

Detailed Description

Definition at line 11 of file RegularSpace.hpp.

Constructor & Destructor Documentation

◆ RegularSpace()

wmtk::components::internal::RegularSpace::RegularSpace ( Mesh mesh,
const std::vector< attribute::MeshAttributeHandle > &  label_attributes,
const std::vector< int64_t > &  values,
const std::vector< attribute::MeshAttributeHandle > &  pass_through_attributes 
)

Definition at line 37 of file RegularSpace.cpp.

References m_label_attributes, and m_values.

Member Function Documentation

◆ regularize_tags()

void wmtk::components::internal::RegularSpace::regularize_tags ( )

Definition at line 50 of file RegularSpace.cpp.

References wmtk::operations::Operation::add_invariant(), wmtk::operations::composite::TriFaceSplit::collapse(), wmtk::attribute::Accessor< T, MeshType, Dim >::const_scalar_attribute(), wmtk::Mesh::create_accessor(), wmtk::Edge, wmtk::simplex::faces(), wmtk::simplex::faces_single_dimension_tuples(), wmtk::Mesh::get_all(), wmtk::get_primitive_type_from_id(), wmtk::get_primitive_type_id(), wmtk::attribute::MeshAttributeHandle::handle(), wmtk::log_and_throw_error(), wmtk::components::internal::TagAttribute::m_accessor, m_label_attributes, m_mesh, m_pass_through_attributes, wmtk::components::internal::TagAttribute::m_ptype, wmtk::components::internal::TagAttribute::m_val, m_values, wmtk::Mesh::register_attribute(), wmtk::Scheduler::run_operation_on_all(), wmtk::attribute::Accessor< T, MeshType, Dim >::scalar_attribute(), wmtk::operations::EdgeCollapse::set_new_attribute_strategy(), wmtk::operations::EdgeSplit::set_new_attribute_strategy(), wmtk::operations::composite::TriFaceSplit::split(), wmtk::Tetrahedron, wmtk::Mesh::top_cell_dimension(), wmtk::Mesh::top_simplex_type(), and wmtk::Triangle.

Referenced by wmtk::components::regular_space(), and TEST_CASE().

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

Member Data Documentation

◆ m_label_attributes

std::vector<attribute::MeshAttributeHandle> wmtk::components::internal::RegularSpace::m_label_attributes
private

Definition at line 25 of file RegularSpace.hpp.

Referenced by regularize_tags(), and RegularSpace().

◆ m_mesh

Mesh& wmtk::components::internal::RegularSpace::m_mesh
private

Definition at line 23 of file RegularSpace.hpp.

Referenced by regularize_tags().

◆ m_pass_through_attributes

std::vector<attribute::MeshAttributeHandle> wmtk::components::internal::RegularSpace::m_pass_through_attributes
private

Definition at line 28 of file RegularSpace.hpp.

Referenced by regularize_tags().

◆ m_values

std::vector<int64_t> wmtk::components::internal::RegularSpace::m_values
private

Definition at line 26 of file RegularSpace.hpp.

Referenced by regularize_tags(), and RegularSpace().


The documentation for this class was generated from the following files: