#include <MeshAttributeHandle.hpp>
|
using | HandleVariant = std::variant< TypedAttributeHandle< char >, TypedAttributeHandle< int64_t >, TypedAttributeHandle< double >, TypedAttributeHandle< wmtk::Rational > > |
|
using | ValueVariant = std::variant< char, int64_t, double, wmtk::Rational, std::tuple< char, wmtk::Rational, double > > |
|
using | HeldType = AttributeType |
|
template<HeldType Type> |
using | held_handle_type = std::variant_alternative_t< size_t(Type), HandleVariant > |
|
template<HeldType Type> |
using | held_primitive_type = typename held_handle_type< Type >::Type |
|
Definition at line 27 of file MeshAttributeHandle.hpp.
◆ HandleVariant
◆ held_handle_type
◆ held_primitive_type
◆ HeldType
◆ ValueVariant
◆ MeshAttributeHandle() [1/4]
wmtk::attribute::MeshAttributeHandle::MeshAttributeHandle |
( |
| ) |
|
|
default |
◆ MeshAttributeHandle() [2/4]
wmtk::attribute::MeshAttributeHandle::MeshAttributeHandle |
( |
Mesh & |
m, |
|
|
const HandleVariant & |
h |
|
) |
| |
◆ MeshAttributeHandle() [3/4]
◆ MeshAttributeHandle() [4/4]
◆ as()
template<typename T >
auto wmtk::attribute::MeshAttributeHandle::as |
|
inline |
Definition at line 161 of file MeshAttributeHandle.hpp.
Referenced by wmtk::invariants::EnvelopeInvariant::after(), wmtk::MeshCRTP< Derived >::create_accessor(), wmtk::MeshCRTP< Derived >::create_const_accessor(), wmtk::invariants::EnvelopeInvariant::EnvelopeInvariant(), wmtk::operations::AMIPSOptimizationSmoothing::execute(), wmtk::operations::AMIPSOptimizationSmoothingPeriodic::execute(), wmtk::components::output::output(), wmtk::components::Marching::process(), wmtk::HDF5Reader::set_attribute(), wmtk::mesh_utils::set_matrix_attribute(), and TEST_CASE().
◆ as_from_held_type()
template<MeshAttributeHandle::HeldType Type>
auto wmtk::attribute::MeshAttributeHandle::as_from_held_type |
|
inline |
◆ dimension()
int64_t wmtk::attribute::MeshAttributeHandle::dimension |
( |
| ) |
const |
Definition at line 44 of file MeshAttributeHandle.cpp.
References wmtk::Mesh::get_attribute_dimension(), m_handle, and mesh().
Referenced by wmtk::components::internal::MultiMeshFromTag::build_adjacency_matrix(), wmtk::utils::cast_attribute(), wmtk::function::Function::embedded_dimension(), wmtk::function::PerSimplexFunction::embedded_dimension(), wmtk::operations::AMIPSOptimizationSmoothing::execute(), wmtk::operations::AMIPSOptimizationSmoothingPeriodic::execute(), wmtk::components::longest_edge_split::longest_edge_split(), wmtk::components::multimesh::multimesh(), and wmtk::components::shortest_edge_collapse::shortest_edge_collapse().
◆ handle() [1/2]
Definition at line 132 of file MeshAttributeHandle.hpp.
References m_handle.
Referenced by wmtk::operations::AttributeTransferConfiguration::add_collapse_new(), wmtk::operations::AttributeTransferConfiguration::add_split_new(), wmtk::utils::cast_attribute(), wmtk::Mesh::delete_attribute(), wmtk::multimesh::utils::extract_and_register_child_mesh_from_tag(), wmtk::operations::attribute_update::make_cast_attribute_transfer_strategy(), wmtk::operations::VertexLaplacianSmooth::operator()(), wmtk::components::internal::RegularSpace::regularize_tags(), wmtk::operations::EdgeCollapse::set_new_attribute_strategy(), wmtk::operations::EdgeSplit::set_new_attribute_strategy(), and wmtk::multimesh::utils::transfer_attribute().
◆ handle() [2/2]
const HandleVariant& wmtk::attribute::MeshAttributeHandle::handle |
( |
| ) |
const |
|
inline |
◆ handle_type_is_basic() [1/2]
template<typename T >
constexpr static bool wmtk::attribute::MeshAttributeHandle::handle_type_is_basic |
( |
| ) |
|
|
staticconstexpr |
◆ handle_type_is_basic() [2/2]
template<typename T >
constexpr bool wmtk::attribute::MeshAttributeHandle::handle_type_is_basic |
( |
| ) |
|
|
inlineconstexpr |
◆ held_type()
auto wmtk::attribute::MeshAttributeHandle::held_type |
( |
| ) |
const |
◆ held_type_from_handle() [1/2]
template<typename T >
constexpr static HeldType wmtk::attribute::MeshAttributeHandle::held_type_from_handle |
( |
| ) |
|
|
staticconstexpr |
◆ held_type_from_handle() [2/2]
template<typename T >
constexpr auto wmtk::attribute::MeshAttributeHandle::held_type_from_handle |
( |
| ) |
-> HeldType
|
|
inlineconstexpr |
◆ held_type_from_primitive() [1/2]
template<typename T >
constexpr static HeldType wmtk::attribute::MeshAttributeHandle::held_type_from_primitive |
( |
| ) |
|
|
staticconstexpr |
◆ held_type_from_primitive() [2/2]
template<typename T >
constexpr auto wmtk::attribute::MeshAttributeHandle::held_type_from_primitive |
( |
| ) |
-> HeldType
|
|
inlineconstexpr |
◆ holds()
template<typename T >
bool wmtk::attribute::MeshAttributeHandle::holds |
|
inline |
◆ holds_basic_type()
bool wmtk::attribute::MeshAttributeHandle::holds_basic_type |
( |
| ) |
const |
|
inline |
◆ holds_from_held_type()
template<MeshAttributeHandle::HeldType Type>
bool wmtk::attribute::MeshAttributeHandle::holds_from_held_type |
|
inline |
◆ is_same_mesh()
bool wmtk::attribute::MeshAttributeHandle::is_same_mesh |
( |
const Mesh & |
m | ) |
const |
◆ is_valid()
bool wmtk::attribute::MeshAttributeHandle::is_valid |
( |
| ) |
const |
◆ mesh() [1/2]
Mesh & wmtk::attribute::MeshAttributeHandle::mesh |
( |
| ) |
|
Definition at line 18 of file MeshAttributeHandle.cpp.
References m_mesh.
Referenced by wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseNewAttributeStrategy(), wmtk::MeshCRTP< Derived >::create_accessor(), wmtk::MeshCRTP< Derived >::create_const_accessor(), wmtk::Mesh::delete_attribute(), dimension(), wmtk::invariants::EnvelopeInvariant::EnvelopeInvariant(), wmtk::multimesh::utils::extract_and_register_child_mesh_from_tag(), wmtk::operations::AttributeTransferStrategyBase::get_parent_simplices(), wmtk::components::longest_edge_split::longest_edge_split(), wmtk::components::marching(), name(), wmtk::components::isotropic_remeshing::relative_to_absolute_length(), wmtk::operations::AttributeTransferStrategyBase::run_on_all(), wmtk::operations::EdgeCollapse::set_new_attribute_strategy(), wmtk::components::shortest_edge_collapse::shortest_edge_collapse(), wmtk::operations::SplitNewAttributeStrategy< T >::SplitNewAttributeStrategy(), and wmtk::multimesh::utils::transfer_attribute().
◆ mesh() [2/2]
const Mesh & wmtk::attribute::MeshAttributeHandle::mesh |
( |
| ) |
const |
◆ name()
std::string wmtk::attribute::MeshAttributeHandle::name |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
◆ primitive_type()
PrimitiveType wmtk::attribute::MeshAttributeHandle::primitive_type |
( |
| ) |
const |
|
inline |
◆ primitive_typeT()
template<typename T >
PrimitiveType wmtk::attribute::MeshAttributeHandle::primitive_typeT |
|
inline |
◆ wmtk::hash< MeshAttributeHandle >
◆ wmtk::Mesh
◆ m_handle
Definition at line 157 of file MeshAttributeHandle.hpp.
Referenced by as_from_held_type(), dimension(), handle(), held_type(), holds_basic_type(), holds_from_held_type(), is_valid(), name(), operator==(), primitive_type(), and primitive_typeT().
◆ m_mesh
Mesh* wmtk::attribute::MeshAttributeHandle::m_mesh = nullptr |
|
private |
The documentation for this class was generated from the following files: