OpenABF 2.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
OpenABF::detail::hlscm::HierarchyLevel< T > Struct Template Reference

A level in the mesh hierarchy. More...

Public Attributes

std::vector< Vec< T, 3 > > positions
 
std::vector< std::array< std::size_t, 3 > > faces
 
std::vector< std::size_t > local_to_original
 
std::vector< std::optional< std::size_t > > original_to_local
 

Detailed Description

template<typename T>
struct OpenABF::detail::hlscm::HierarchyLevel< T >

A level in the mesh hierarchy.

Member Data Documentation

◆ faces

template<typename T >
std::vector<std::array<std::size_t, 3> > OpenABF::detail::hlscm::HierarchyLevel< T >::faces

Face connectivity (each face is 3 level-local indices)

◆ local_to_original

template<typename T >
std::vector<std::size_t> OpenABF::detail::hlscm::HierarchyLevel< T >::local_to_original

Map from level-local vertex index to original (finest) vertex index

◆ original_to_local

template<typename T >
std::vector<std::optional<std::size_t> > OpenABF::detail::hlscm::HierarchyLevel< T >::original_to_local

Map from original vertex index to level-local index. Sized to the finest-mesh vertex count; vertices not present at this level hold std::nullopt.

◆ positions

template<typename T >
std::vector<Vec<T, 3> > OpenABF::detail::hlscm::HierarchyLevel< T >::positions

Vertex positions (indexed by level-local index)