IOSS 2.0
Loading...
Searching...
No Matches
Iotm::text_mesh::Coordinates< EntityId > Class Template Reference

#include <Iotm_TextMeshDataTypes.h>

Public Member Functions

 Coordinates ()
 
const std::vector< double > & operator[] (const EntityId nodeId) const
 
void set_coordinate_data (const unsigned spatialDim, const std::set< EntityId > &nodeIds, const std::vector< double > &coordinates)
 
void set_error_handler (ErrorHandler errorHandler)
 
bool has_coordinate_data () const
 

Private Member Functions

void validate_num_coordinates (const unsigned spatialDim, const std::set< EntityId > &nodeIds, const std::vector< double > &coordinates)
 
void fill_coordinate_map (const unsigned spatialDim, const std::set< EntityId > &nodeIds, const std::vector< double > &coordinates)
 

Private Attributes

bool m_hasCoordinateData {false}
 
std::unordered_map< EntityId, std::vector< double > > m_nodalCoords
 
ErrorHandler m_errorHandler
 

Constructor & Destructor Documentation

◆ Coordinates()

template<typename EntityId >
Iotm::text_mesh::Coordinates< EntityId >::Coordinates ( )
inline

Member Function Documentation

◆ fill_coordinate_map()

template<typename EntityId >
void Iotm::text_mesh::Coordinates< EntityId >::fill_coordinate_map ( const unsigned spatialDim,
const std::set< EntityId > & nodeIds,
const std::vector< double > & coordinates )
inlineprivate

◆ has_coordinate_data()

template<typename EntityId >
bool Iotm::text_mesh::Coordinates< EntityId >::has_coordinate_data ( ) const
inline

◆ operator[]()

template<typename EntityId >
const std::vector< double > & Iotm::text_mesh::Coordinates< EntityId >::operator[] ( const EntityId nodeId) const
inline

◆ set_coordinate_data()

template<typename EntityId >
void Iotm::text_mesh::Coordinates< EntityId >::set_coordinate_data ( const unsigned spatialDim,
const std::set< EntityId > & nodeIds,
const std::vector< double > & coordinates )
inline

◆ set_error_handler()

template<typename EntityId >
void Iotm::text_mesh::Coordinates< EntityId >::set_error_handler ( ErrorHandler errorHandler)
inline

◆ validate_num_coordinates()

template<typename EntityId >
void Iotm::text_mesh::Coordinates< EntityId >::validate_num_coordinates ( const unsigned spatialDim,
const std::set< EntityId > & nodeIds,
const std::vector< double > & coordinates )
inlineprivate

Member Data Documentation

◆ m_errorHandler

template<typename EntityId >
ErrorHandler Iotm::text_mesh::Coordinates< EntityId >::m_errorHandler
private

◆ m_hasCoordinateData

template<typename EntityId >
bool Iotm::text_mesh::Coordinates< EntityId >::m_hasCoordinateData {false}
private

◆ m_nodalCoords

template<typename EntityId >
std::unordered_map<EntityId, std::vector<double> > Iotm::text_mesh::Coordinates< EntityId >::m_nodalCoords
private

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