Wildmeshing Toolkit
wmtk Namespace Reference

Namespaces

 attribute
 
 autogen
 
 components
 
 function
 
 image
 
 invariants
 
 io
 
 mesh_utils
 
 multimesh
 
 operations
 
 simplex
 
 tests
 
 utils
 

Classes

class  hash
 
class  hash< wmtk::attribute::AttributeHandle >
 
class  hash< wmtk::attribute::TypedAttributeHandle< T > >
 
class  hash< wmtk::attribute::MeshAttributeHandle >
 
class  hash< attribute::utils::HybridRationalAttribute< D > >
 
class  Cell
 
class  EdgeMesh
 
class  MaxEdgeLengthInvariant
 
class  MinEdgeLengthInvariant
 
class  MultiMeshLinkConditionInvariant
 
class  MultiMeshMapValidInvariant
 
class  MultiMeshEdgeTopologyInvariant
 
class  RoundedInvariant
 
class  SimplexInversionInvariant
 
class  Swap23EnergyBeforeInvariant
 
class  Swap32EnergyBeforeInvariant
 
class  Swap44EnergyBeforeInvariant
 
class  Swap56EnergyBeforeInvariant
 
class  TodoInvariant
 
class  TodoLargerInvariant
 
class  TodoSmallerInvariant
 
class  HDF5Reader
 
class  HDF5Writer
 
class  MeshWriter
 
class  MshReader
 
class  Mesh
 
class  MeshCRTP
 A Curiously Recurring Template Pattern shim to enable generic specialization of functions. More...
 
class  MultiMeshManager
 
class  PointMesh
 
class  Primitive
 
class  SchedulerStats
 
class  Scheduler
 
class  TetMesh
 
class  TriMesh
 
class  Tuple
 
class  Rational
 

Typedefs

using AttributeHandle = attribute::AttributeHandle
 
template<typename T >
using TypedAttributeHandle = attribute::TypedAttributeHandle< T >
 
using InteriorEdgeInvariant = invariants::InteriorEdgeInvariant
 
using InteriorVertexInvariant = invariants::InteriorVertexInvariant
 
using Invariant = invariants::Invariant
 
using ParaviewWriter = io::ParaviewWriter
 
template<typename T , int C>
using RowVectors = Eigen::Matrix< T, Eigen::Dynamic, C >
 
template<typename T , int R>
using SquareMatrix = Eigen::Matrix< T, R, R >
 
template<typename T >
using MatrixX = Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic >
 
template<typename T , int R>
using Vector = Eigen::Matrix< T, R, 1 >
 
template<typename T >
using VectorX = Vector< T, Eigen::Dynamic >
 
template<typename T >
using Vector2 = Vector< T, 2 >
 
template<typename T >
using Vector3 = Vector< T, 3 >
 
template<typename T >
using Vector4 = Vector< T, 4 >
 
template<typename T , int C>
using RowVector = Eigen::Matrix< T, 1, C >
 
template<typename T >
using RowVectorX = RowVector< T, Eigen::Dynamic >
 
using VectorXl = VectorX< int64_t >
 
using Vector2l = Vector< int64_t, 2 >
 
using Vector3l = Vector< int64_t, 3 >
 
using Vector4l = Vector< int64_t, 4 >
 
using Vector5l = Vector< int64_t, 5 >
 
using Vector3d = Vector< double, 3 >
 
using Vector3r = Vector< Rational, 3 >
 
using RowVector2d = RowVector< double, 2 >
 
using RowVector3d = RowVector< double, 3 >
 
using RowVectors2l = RowVectors< int64_t, 2 >
 
using RowVectors3l = RowVectors< int64_t, 3 >
 
using RowVectors4l = RowVectors< int64_t, 4 >
 
using RowVectors6l = RowVectors< int64_t, 6 >
 
using RowVectors2d = RowVectors< double, 2 >
 
using RowVectors3d = RowVectors< double, 3 >
 
using RowVectors3r = RowVectors< Rational, 3 >
 

Enumerations

enum class  AttributeAccessMode { Immediate , Buffered }
 
enum class  PrimitiveType : int8_t { Vertex = 0 , Edge = 1 , Triangle = 2 , Tetrahedron = 3 }
 

Functions

template<typename InvariantType >
bool find_invariant_in_collection_by_type (const InvariantCollection &invariants)
 
template<typename... InvariantTypes>
bool find_invariants_in_collection_by_type (const InvariantCollection &invariants)
 
std::shared_ptr< Meshread_mesh (const std::filesystem::path &filename, const bool ignore_z, const std::vector< std::string > &tetrahedron_attributes)
 
int8_t get_max_primitive_type_id (const std::vector< PrimitiveType > &primitive_types)
 Get the maximum id for a list of primitive types. More...
 
std::string_view primitive_type_name (PrimitiveType t)
 
constexpr int8_t get_primitive_type_id (PrimitiveType t)
 Get a unique integer id corresponding to each primitive type. More...
 
constexpr bool operator== (PrimitiveType a, PrimitiveType b)
 
constexpr bool operator!= (PrimitiveType a, PrimitiveType b)
 
constexpr bool operator< (PrimitiveType a, PrimitiveType b)
 
constexpr bool operator> (PrimitiveType a, PrimitiveType b)
 
constexpr bool operator<= (PrimitiveType a, PrimitiveType b)
 
constexpr bool operator>= (PrimitiveType a, PrimitiveType b)
 
constexpr PrimitiveType get_primitive_type_from_id (int8_t id)
 Get the primitive type corresponding to its unique integer id. More...
 
std::tuple< RowVectors2l, VectorXledgemesh_topology_initialization (Eigen::Ref< const RowVectors2l > E)
 
size_t getPeakRSS ()
 Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS. More...
 
size_t getCurrentRSS ()
 Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS. More...
 
spdlog::logger & logger ()
 Retrieves the current logger. More...
 
spdlog::logger & opt_logger ()
 Retrieves the logger for the optimization. More...
 
void set_logger (std::shared_ptr< spdlog::logger > logger)
 Setup a logger object to be used by WildmeshToolkit. More...
 
void set_opt_logger (std::shared_ptr< spdlog::logger > logger)
 Setup a logger object to be used by WildmeshToolkit optimization. More...
 
void log_and_throw_error (const std::string &msg)
 
template<typename... Args>
void log_and_throw_error (const std::string &msg, const Args &... args)
 
Rational operator+ (const Rational &x, const Rational &y)
 
Rational operator- (const Rational &x, const Rational &y)
 
Rational operator- (const Rational &x)
 
Rational pow (const Rational &x, int p)
 
Rational operator* (const Rational &x, const Rational &y)
 
Rational operator/ (const Rational &x, const Rational &y)
 
int cmp (const Rational &r, const Rational &r1)
 
bool operator== (const Rational &r, const Rational &r1)
 
bool operator!= (const Rational &r, const Rational &r1)
 
Rational abs (const Rational &r0)
 
std::ostream & operator<< (std::ostream &os, const Rational &r)
 
std::tuple< RowVectors6l, RowVectors4l, RowVectors4l, VectorXl, VectorXl, VectorXltetmesh_topology_initialization (Eigen::Ref< const RowVectors4l > T)
 Given the mesh connectivity in matrix format, finds unique edges and faces and their relations. More...
 
std::tuple< RowVectors3l, RowVectors3l, VectorXl, VectorXltrimesh_topology_initialization (Eigen::Ref< const RowVectors3l > F)
 

Variables

constexpr PrimitiveType PV = PrimitiveType::Vertex
 
constexpr PrimitiveType PE = PrimitiveType::Edge
 

Typedef Documentation

◆ AttributeHandle

Definition at line 55 of file AttributeHandle.hpp.

◆ InteriorEdgeInvariant

◆ InteriorVertexInvariant

◆ Invariant

Definition at line 54 of file Invariant.hpp.

◆ MatrixX

template<typename T >
using wmtk::MatrixX = typedef Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>

Definition at line 14 of file Types.hpp.

◆ ParaviewWriter

Definition at line 114 of file ParaviewWriter.hpp.

◆ RowVector

template<typename T , int C>
using wmtk::RowVector = typedef Eigen::Matrix<T, 1, C>

Definition at line 29 of file Types.hpp.

◆ RowVector2d

using wmtk::RowVector2d = typedef RowVector<double, 2>

Definition at line 43 of file Types.hpp.

◆ RowVector3d

using wmtk::RowVector3d = typedef RowVector<double, 3>

Definition at line 44 of file Types.hpp.

◆ RowVectors

template<typename T , int C>
using wmtk::RowVectors = typedef Eigen::Matrix<T, Eigen::Dynamic, C>

Definition at line 8 of file Types.hpp.

◆ RowVectors2d

using wmtk::RowVectors2d = typedef RowVectors<double, 2>

Definition at line 49 of file Types.hpp.

◆ RowVectors2l

using wmtk::RowVectors2l = typedef RowVectors<int64_t, 2>

Definition at line 45 of file Types.hpp.

◆ RowVectors3d

using wmtk::RowVectors3d = typedef RowVectors<double, 3>

Definition at line 50 of file Types.hpp.

◆ RowVectors3l

using wmtk::RowVectors3l = typedef RowVectors<int64_t, 3>

Definition at line 46 of file Types.hpp.

◆ RowVectors3r

using wmtk::RowVectors3r = typedef RowVectors<Rational, 3>

Definition at line 52 of file Types.hpp.

◆ RowVectors4l

using wmtk::RowVectors4l = typedef RowVectors<int64_t, 4>

Definition at line 47 of file Types.hpp.

◆ RowVectors6l

using wmtk::RowVectors6l = typedef RowVectors<int64_t, 6>

Definition at line 48 of file Types.hpp.

◆ RowVectorX

template<typename T >
using wmtk::RowVectorX = typedef RowVector<T, Eigen::Dynamic>

Definition at line 31 of file Types.hpp.

◆ SquareMatrix

template<typename T , int R>
using wmtk::SquareMatrix = typedef Eigen::Matrix<T, R, R>

Definition at line 11 of file Types.hpp.

◆ TypedAttributeHandle

template<typename T >
using wmtk::TypedAttributeHandle = typedef attribute::TypedAttributeHandle<T>

Definition at line 82 of file TypedAttributeHandle.hpp.

◆ Vector

template<typename T , int R>
using wmtk::Vector = typedef Eigen::Matrix<T, R, 1>

Definition at line 17 of file Types.hpp.

◆ Vector2

template<typename T >
using wmtk::Vector2 = typedef Vector<T, 2>

Definition at line 22 of file Types.hpp.

◆ Vector2l

using wmtk::Vector2l = typedef Vector<int64_t, 2>

Definition at line 34 of file Types.hpp.

◆ Vector3

template<typename T >
using wmtk::Vector3 = typedef Vector<T, 3>

Definition at line 24 of file Types.hpp.

◆ Vector3d

using wmtk::Vector3d = typedef Vector<double, 3>

Definition at line 39 of file Types.hpp.

◆ Vector3l

using wmtk::Vector3l = typedef Vector<int64_t, 3>

Definition at line 35 of file Types.hpp.

◆ Vector3r

using wmtk::Vector3r = typedef Vector<Rational, 3>

Definition at line 41 of file Types.hpp.

◆ Vector4

template<typename T >
using wmtk::Vector4 = typedef Vector<T, 4>

Definition at line 26 of file Types.hpp.

◆ Vector4l

using wmtk::Vector4l = typedef Vector<int64_t, 4>

Definition at line 36 of file Types.hpp.

◆ Vector5l

using wmtk::Vector5l = typedef Vector<int64_t, 5>

Definition at line 37 of file Types.hpp.

◆ VectorX

template<typename T >
using wmtk::VectorX = typedef Vector<T, Eigen::Dynamic>

Definition at line 19 of file Types.hpp.

◆ VectorXl

using wmtk::VectorXl = typedef VectorX<int64_t>

Definition at line 33 of file Types.hpp.

Enumeration Type Documentation

◆ AttributeAccessMode

Enumerator
Immediate 
Buffered 

Definition at line 4 of file AttributeAccessMode.hpp.

◆ PrimitiveType

enum wmtk::PrimitiveType : int8_t
strong
Enumerator
Vertex 
Edge 
Triangle 
Tetrahedron 

Definition at line 9 of file PrimitiveType.hpp.

Function Documentation

◆ abs()

Rational wmtk::abs ( const Rational r0)

◆ cmp()

int wmtk::cmp ( const Rational r,
const Rational r1 
)

Definition at line 259 of file Rational.cpp.

Referenced by wmtk::components::fusion().

Here is the caller graph for this function:

◆ edgemesh_topology_initialization()

std::tuple< RowVectors2l, VectorXl > wmtk::edgemesh_topology_initialization ( Eigen::Ref< const RowVectors2l E)

Definition at line 8 of file edgemesh_topology_initialization.cpp.

Referenced by wmtk::EdgeMesh::initialize().

Here is the caller graph for this function:

◆ find_invariant_in_collection_by_type()

template<typename InvariantType >
bool wmtk::find_invariant_in_collection_by_type ( const InvariantCollection &  invariants)

Definition at line 6 of file find_invariant_in_collection_by_type.hpp.

◆ find_invariants_in_collection_by_type()

template<typename... InvariantTypes>
bool wmtk::find_invariants_in_collection_by_type ( const InvariantCollection &  invariants)

Definition at line 22 of file find_invariant_in_collection_by_type.hpp.

◆ get_max_primitive_type_id()

int8_t wmtk::get_max_primitive_type_id ( const std::vector< PrimitiveType > &  primitive_types)

Get the maximum id for a list of primitive types.

Parameters
primitive_typeslist of primitive types
Returns
maximum primitive type id among the list

Definition at line 17 of file PrimitiveType.cpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ get_primitive_type_from_id()

◆ get_primitive_type_id()

constexpr int8_t wmtk::get_primitive_type_id ( PrimitiveType  t)
inlineconstexpr

Get a unique integer id corresponding to each primitive type.

Ordering of primitive types by dimension allows to exploit the fact that all m<n dimensional primitives exist in an n dimensional manifold

Definition at line 17 of file PrimitiveType.hpp.

Referenced by wmtk::simplex::boundary(), wmtk::simplex::internal::boundary_with_preserved_face_simplices(), wmtk::components::internal::MultiMeshFromTag::build_adjacency_matrix(), wmtk::Mesh::capacity(), wmtk::attribute::AttributeManager::clear_attributes(), wmtk::components::internal::MultiMeshFromTag::compute_substructure_mesh(), wmtk::components::internal::MultiMeshFromTag::create_substructure_soup(), wmtk::simplex::Simplex::dimension(), wmtk::operations::composite::TetEdgeSwap::execute(), wmtk::attribute::AttributeManager::get(), wmtk::TetMesh::TetMeshOperationExecutor::get_collapse_simplices_to_delete(), wmtk::TriMesh::TriMeshOperationExecutor::get_collapse_simplices_to_delete(), wmtk::components::internal::MultiMeshFromTag::get_connected_region(), wmtk::Mesh::get_const_flag_accessor(), wmtk::Mesh::get_flag_accessor(), get_max_primitive_type_id(), wmtk::TetMesh::TetMeshOperationExecutor::get_split_simplices_to_delete(), wmtk::TriMesh::TriMeshOperationExecutor::get_split_simplices_to_delete(), wmtk::Mesh::guarantee_at_least_attributes(), wmtk::Mesh::guarantee_more_attributes(), wmtk::operations::edge_mesh::SplitNewAttributeTopoInfo::input_ear_simplices(), wmtk::operations::tet_mesh::SplitNewAttributeTopoInfo::input_ear_simplices(), wmtk::operations::tri_mesh::SplitNewAttributeTopoInfo::input_ear_simplices(), wmtk::operations::edge_mesh::SplitNewAttributeTopoInfo::input_split_simplices(), wmtk::operations::tet_mesh::SplitNewAttributeTopoInfo::input_split_simplices(), wmtk::operations::tri_mesh::SplitNewAttributeTopoInfo::input_split_simplices(), wmtk::operations::edge_mesh::CollapseNewAttributeTopoInfo::merged_simplices(), wmtk::operations::tet_mesh::CollapseNewAttributeTopoInfo::merged_simplices(), wmtk::operations::tri_mesh::CollapseNewAttributeTopoInfo::merged_simplices(), wmtk::operations::edge_mesh::CollapseNewAttributeTopoInfo::new_simplices(), wmtk::operations::tet_mesh::CollapseNewAttributeTopoInfo::new_simplices(), wmtk::operations::tri_mesh::CollapseNewAttributeTopoInfo::new_simplices(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), wmtk::operations::edge_mesh::SplitNewAttributeTopoInfo::output_rib_simplices(), wmtk::operations::tet_mesh::SplitNewAttributeTopoInfo::output_rib_simplices(), wmtk::operations::tri_mesh::SplitNewAttributeTopoInfo::output_rib_simplices(), wmtk::operations::edge_mesh::SplitNewAttributeTopoInfo::output_split_simplices(), wmtk::operations::tet_mesh::SplitNewAttributeTopoInfo::output_split_simplices(), wmtk::operations::tri_mesh::SplitNewAttributeTopoInfo::output_split_simplices(), wmtk::hash< wmtk::attribute::TypedAttributeHandle< T > >::primitive_hash(), wmtk::utils::primitive_range(), primitive_type_name(), wmtk::components::internal::RegularSpace::regularize_tags(), wmtk::Mesh::request_simplex_indices(), wmtk::Mesh::reserve_attributes(), wmtk::Mesh::reserve_more_attributes(), and wmtk::Mesh::simplices_to_gids().

◆ getCurrentRSS()

size_t wmtk::getCurrentRSS ( )

Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

Definition at line 87 of file getRSS.cpp.

◆ getPeakRSS()

size_t wmtk::getPeakRSS ( )

Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

Definition at line 44 of file getRSS.cpp.

◆ log_and_throw_error() [1/2]

◆ log_and_throw_error() [2/2]

template<typename... Args>
void wmtk::log_and_throw_error ( const std::string &  msg,
const Args &...  args 
)

Definition at line 44 of file Logger.hpp.

References log_and_throw_error().

Here is the call graph for this function:

◆ logger()

spdlog::logger & wmtk::logger ( )

Retrieves the current logger.

Returns
A const reference to WildmeshToolkit's logger object.

Definition at line 50 of file Logger.cpp.

References set_logger().

Referenced by wmtk::multimesh::MultiMeshManager::check_child_map_valid(), wmtk::components::adaptive_tessellation::image::combine_position_normal_texture(), wmtk::components::internal::delaunay_geogram(), wmtk::invariants::EnvelopeInvariant::EnvelopeInvariant(), wmtk::io::Cache::equals(), wmtk::components::fusion(), wmtk::utils::generate_raw_tetmesh_from_input_surface(), wmtk::utils::generate_raw_tetmesh_with_surface_from_input(), wmtk::io::CachedMultiMesh::get(), wmtk::components::get_all_meshes(), wmtk::TetMesh::is_connectivity_valid(), wmtk::TriMesh::is_connectivity_valid(), wmtk::EdgeMesh::is_connectivity_valid(), wmtk::TriMesh::is_valid(), wmtk::components::internal::isotropic_remeshing(), wmtk::components::adaptive_tessellation::image::Image::load(), load_image_exr_red_channel(), load_image_exr_split_3channels(), wmtk::components::adaptive_tessellation::image::load_rgb_image(), log_and_throw_error(), wmtk::components::adaptive_tessellation::image::make_samples_to_bicubic_coeffs_operator(), wmtk::components::mesh_info(), wmtk::operations::utils::UpdateEdgeOperationMultiMeshMapFunctor::operator()(), wmtk::operations::utils::MultiMeshEdgeSplitFunctor::operator()(), wmtk::components::output(), wmtk::MshReader::read(), wmtk::HDF5Reader::read_mesh(), wmtk::Mesh::request_simplex_indices(), wmtk::components::run_components(), wmtk::Scheduler::run_operation_on_all(), wmtk::components::adaptive_tessellation::image::Image::save(), wmtk::components::adaptive_tessellation::image::save_image_exr_3channels(), wmtk::components::adaptive_tessellation::image::save_image_exr_red_channel(), wmtk::components::adaptive_tessellation::image::split_and_save_3channels(), wmtk::TetMesh::TetMeshOperationExecutor::split_edge(), wmtk::components::to_points(), wmtk::components::triangle_insertion(), wmtk::multimesh::MultiMeshManager::update_map_tuple_hashes(), wmtk::components::wildmeshing(), wmtk::components::winding_number(), and wmtk::io::Cache::~Cache().

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

◆ operator!=() [1/2]

bool wmtk::operator!= ( const Rational r,
const Rational r1 
)

Definition at line 311 of file Rational.cpp.

◆ operator!=() [2/2]

constexpr bool wmtk::operator!= ( PrimitiveType  a,
PrimitiveType  b 
)
inlineconstexpr

Definition at line 26 of file PrimitiveType.hpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ operator*()

Rational wmtk::operator* ( const Rational x,
const Rational y 
)

Definition at line 178 of file Rational.cpp.

◆ operator+()

Rational wmtk::operator+ ( const Rational x,
const Rational y 
)

Definition at line 104 of file Rational.cpp.

◆ operator-() [1/2]

Rational wmtk::operator- ( const Rational x)

Definition at line 157 of file Rational.cpp.

◆ operator-() [2/2]

Rational wmtk::operator- ( const Rational x,
const Rational y 
)

Definition at line 130 of file Rational.cpp.

◆ operator/()

Rational wmtk::operator/ ( const Rational x,
const Rational y 
)

Definition at line 204 of file Rational.cpp.

◆ operator<()

constexpr bool wmtk::operator< ( PrimitiveType  a,
PrimitiveType  b 
)
inlineconstexpr

Definition at line 30 of file PrimitiveType.hpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ operator<<()

std::ostream& wmtk::operator<< ( std::ostream &  os,
const Rational r 
)

Definition at line 340 of file Rational.cpp.

◆ operator<=()

constexpr bool wmtk::operator<= ( PrimitiveType  a,
PrimitiveType  b 
)
inlineconstexpr

Definition at line 38 of file PrimitiveType.hpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ operator==() [1/2]

bool wmtk::operator== ( const Rational r,
const Rational r1 
)

Definition at line 286 of file Rational.cpp.

◆ operator==() [2/2]

constexpr bool wmtk::operator== ( PrimitiveType  a,
PrimitiveType  b 
)
inlineconstexpr

Definition at line 22 of file PrimitiveType.hpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ operator>()

constexpr bool wmtk::operator> ( PrimitiveType  a,
PrimitiveType  b 
)
inlineconstexpr

Definition at line 34 of file PrimitiveType.hpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ operator>=()

constexpr bool wmtk::operator>= ( PrimitiveType  a,
PrimitiveType  b 
)
inlineconstexpr

Definition at line 42 of file PrimitiveType.hpp.

References get_primitive_type_id().

Here is the call graph for this function:

◆ opt_logger()

spdlog::logger & wmtk::opt_logger ( )

Retrieves the logger for the optimization.

Returns
A const reference to WildmeshToolkit's optimization logger object.

Definition at line 67 of file Logger.cpp.

Referenced by wmtk::operations::AMIPSOptimizationSmoothing::create_solver(), wmtk::operations::OptimizationSmoothing::create_solver(), and wmtk::components::run_components().

Here is the caller graph for this function:

◆ pow()

Rational wmtk::pow ( const Rational x,
int  p 
)

Definition at line 166 of file Rational.cpp.

Referenced by wmtk::function::Tet_AMIPS_energy(), wmtk::function::utils::Tet_AMIPS_energy(), wmtk::function::Tet_AMIPS_hessian(), wmtk::function::utils::Tet_AMIPS_hessian(), wmtk::function::Tet_AMIPS_jacobian(), wmtk::function::utils::Tet_AMIPS_jacobian(), wmtk::components::to_points(), and wmtk::function::Tri_AMIPS_hessian().

Here is the caller graph for this function:

◆ primitive_type_name()

std::string_view wmtk::primitive_type_name ( PrimitiveType  t)

Definition at line 41 of file PrimitiveType.cpp.

References get_primitive_type_id().

Referenced by wmtk::Mesh::request_simplex_indices().

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

◆ read_mesh()

std::shared_ptr< Mesh > wmtk::read_mesh ( const std::filesystem::path &  filename,
const bool  ignore_z,
const std::vector< std::string > &  tetrahedron_attributes 
)

Definition at line 8 of file MeshReader.cpp.

References wmtk::HDF5Reader::read(), and wmtk::MshReader::read().

Referenced by wmtk::io::Cache::equals(), wmtk::components::input(), and wmtk::io::CachedMultiMesh::load().

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

◆ set_logger()

void wmtk::set_logger ( std::shared_ptr< spdlog::logger >  logger)

Setup a logger object to be used by WildmeshToolkit.

Calling this function with other WildmeshToolkit function is not thread-safe.

Parameters
[in]loggerNew logger object to be used by WildmeshToolkit. Ownership is shared with WildmeshToolkit.

Definition at line 82 of file Logger.cpp.

Referenced by logger().

Here is the caller graph for this function:

◆ set_opt_logger()

void wmtk::set_opt_logger ( std::shared_ptr< spdlog::logger >  logger)

Setup a logger object to be used by WildmeshToolkit optimization.

Calling this function with other WildmeshToolkit function is not thread-safe.

Parameters
[in]loggerNew logger object to be used by WildmeshToolkit logger. Ownership is shared with WildmeshToolkit.

Definition at line 88 of file Logger.cpp.

◆ tetmesh_topology_initialization()

std::tuple< RowVectors6l, RowVectors4l, RowVectors4l, VectorXl, VectorXl, VectorXl > wmtk::tetmesh_topology_initialization ( Eigen::Ref< const RowVectors4l T)

Given the mesh connectivity in matrix format, finds unique edges and faces and their relations.

Definition at line 11 of file tetmesh_topology_initialization.cpp.

References wmtk::autogen::tet_mesh::auto_3d_edges, and wmtk::autogen::tet_mesh::auto_3d_faces.

Referenced by wmtk::TetMesh::initialize().

Here is the caller graph for this function:

◆ trimesh_topology_initialization()

std::tuple< RowVectors3l, RowVectors3l, VectorXl, VectorXl > wmtk::trimesh_topology_initialization ( Eigen::Ref< const RowVectors3l F)

Definition at line 10 of file trimesh_topology_initialization.cpp.

References wmtk::autogen::tri_mesh::auto_2d_edges.

Referenced by wmtk::TriMesh::initialize().

Here is the caller graph for this function:

Variable Documentation

◆ PE

◆ PV