IOSS 2.0
Loading...
Searching...
No Matches
Iotm::text_mesh Namespace Reference

Classes

class  Assemblies
struct  AssemblyData
class  AssemblyParser
class  Coordinates
struct  ElementData
struct  ElementDataLess
class  EntityGroup
struct  EntityGroupData
struct  NodesetData
class  NodesetParser
class  Nodesets
class  PartIdMapping
class  SideAdjacencyGraph
struct  SideBlockInfo
struct  SidesetData
class  SidesetParser
class  Sidesets
class  SidesetSkinner
class  SidesetSplitter
struct  TextMeshData
class  TextMeshLexer
class  TextMeshOptionParser
class  TextMeshParser
class  TopologyMapping

Typedefs

using ErrorHandler = std::function<void(const std::ostringstream &)>
using AssemblyDataType = std::string
template<typename EntityId>
using NodesetDataType = EntityId
template<typename EntityId>
using SidesetDataType = std::pair<EntityId, int>

Enumerations

enum  AssemblyType {
  ASSEMBLY , BLOCK , SIDESET , NODESET ,
  INVALID_ASSEMBLY
}
enum  SplitType { TOPOLOGY , ELEMENT_BLOCK , NO_SPLIT , INVALID_SPLIT }

Functions

std::ostream & operator<< (std::ostream &out, const AssemblyType &t)
template<class EXCEPTION>
void handle_error (const std::ostringstream &message)
void default_error_handler (const std::ostringstream &message)
template<class ForwardIt, class T>
ForwardIt bound_search (ForwardIt first, ForwardIt last, const T &value)
template<class ForwardIt, class T, class Compare>
ForwardIt bound_search (ForwardIt first, ForwardIt last, const T &value, Compare comp)
std::string strip_whitespace (const std::string &inpt)
std::vector< std::string > get_tokens (const std::string &str, const std::string &separators)
void convert_to_uppercase (std::string &str)
void convert_to_lowercase (std::string &str)
bool is_positive_number (const std::string &str)
template<typename T>
std::set< T > transform_to_set (const std::vector< T > &dataAsVector)
std::pair< unsigned, bool > get_id_from_part_name (const std::string &name, const std::string &prefix)
std::ostream & operator<< (std::ostream &out, const SplitType &t)

Typedef Documentation

◆ AssemblyDataType

using Iotm::text_mesh::AssemblyDataType = std::string

◆ ErrorHandler

typedef std::function< void(const std::ostringstream &)> Iotm::text_mesh::ErrorHandler = std::function<void(const std::ostringstream &)>

◆ NodesetDataType

◆ SidesetDataType

template<typename EntityId>
using Iotm::text_mesh::SidesetDataType = std::pair<EntityId, int>

Enumeration Type Documentation

◆ AssemblyType

Enumerator
ASSEMBLY 
BLOCK 
SIDESET 
NODESET 
INVALID_ASSEMBLY 

◆ SplitType

Enumerator
TOPOLOGY 
ELEMENT_BLOCK 
NO_SPLIT 
INVALID_SPLIT 

Function Documentation

◆ bound_search() [1/2]

template<class ForwardIt, class T>
ForwardIt Iotm::text_mesh::bound_search ( ForwardIt first,
ForwardIt last,
const T & value )

◆ bound_search() [2/2]

template<class ForwardIt, class T, class Compare>
ForwardIt Iotm::text_mesh::bound_search ( ForwardIt first,
ForwardIt last,
const T & value,
Compare comp )

◆ convert_to_lowercase()

void Iotm::text_mesh::convert_to_lowercase ( std::string & str)
inline

◆ convert_to_uppercase()

void Iotm::text_mesh::convert_to_uppercase ( std::string & str)
inline

◆ default_error_handler()

void Iotm::text_mesh::default_error_handler ( const std::ostringstream & message)
inline

◆ get_id_from_part_name()

std::pair< unsigned, bool > Iotm::text_mesh::get_id_from_part_name ( const std::string & name,
const std::string & prefix )
inline

◆ get_tokens()

std::vector< std::string > Iotm::text_mesh::get_tokens ( const std::string & str,
const std::string & separators )
inline

◆ handle_error()

template<class EXCEPTION>
void Iotm::text_mesh::handle_error ( const std::ostringstream & message)

◆ is_positive_number()

bool Iotm::text_mesh::is_positive_number ( const std::string & str)
inline

◆ operator<<() [1/2]

std::ostream & Iotm::text_mesh::operator<< ( std::ostream & out,
const AssemblyType & t )
inline

◆ operator<<() [2/2]

std::ostream & Iotm::text_mesh::operator<< ( std::ostream & out,
const SplitType & t )
inline

◆ strip_whitespace()

std::string Iotm::text_mesh::strip_whitespace ( const std::string & inpt)
inline

◆ transform_to_set()

template<typename T>
std::set< T > Iotm::text_mesh::transform_to_set ( const std::vector< T > & dataAsVector)