IOSS 2.0
Loading...
Searching...
No Matches
Ioss::FaceGenerator Class Reference

#include <Ioss_FaceGenerator.h>

Collaboration diagram for Ioss::FaceGenerator:
[legend]

Public Member Functions

 FaceGenerator (Ioss::Region &region)
 
template<typename INT >
void generate_faces (INT, bool block_by_block=false, bool local_ids=false)
 
template<typename INT >
void generate_block_faces (const ElementBlockContainer &ebs, INT, bool local_ids=false)
 
FaceUnorderedSetfaces (const std::string &name="ALL")
 
FaceUnorderedSetfaces (const ElementBlock *block)
 
void clear (const std::string &name)
 
void clear (const ElementBlock *block)
 
size_t node_id_hash (size_t local_node_id) const
 Given a local node id (0-based), return the hashed value.
 
void progress (const std::string &output) const
 

Static Public Member Functions

static size_t id_hash (size_t global_id)
 

Private Member Functions

template<typename INT >
void hash_node_ids (const std::vector< INT > &node_ids)
 
void hash_local_node_ids (size_t count)
 
template<typename INT >
void generate_model_faces (INT, bool local_ids)
 

Private Attributes

Ioss::Regionregion_
 
std::map< std::string, FaceUnorderedSetfaces_
 
std::vector< size_t > hashIds_
 

Constructor & Destructor Documentation

◆ FaceGenerator()

Ioss::FaceGenerator::FaceGenerator ( Ioss::Region & region)
explicit

Member Function Documentation

◆ clear() [1/2]

void Ioss::FaceGenerator::clear ( const ElementBlock * block)

◆ clear() [2/2]

void Ioss::FaceGenerator::clear ( const std::string & name)
inline

◆ faces() [1/2]

FaceUnorderedSet & Ioss::FaceGenerator::faces ( const ElementBlock * block)

◆ faces() [2/2]

FaceUnorderedSet & Ioss::FaceGenerator::faces ( const std::string & name = "ALL")
inline

◆ generate_block_faces()

template<typename INT >
void Ioss::FaceGenerator::generate_block_faces ( const ElementBlockContainer & ebs,
INT ,
bool local_ids = false )

◆ generate_faces()

template<typename INT >
void Ioss::FaceGenerator::generate_faces ( INT ,
bool block_by_block = false,
bool local_ids = false )

◆ generate_model_faces()

template<typename INT >
void Ioss::FaceGenerator::generate_model_faces ( INT ,
bool local_ids )
private

◆ hash_local_node_ids()

void Ioss::FaceGenerator::hash_local_node_ids ( size_t count)
private

◆ hash_node_ids()

template<typename INT >
void Ioss::FaceGenerator::hash_node_ids ( const std::vector< INT > & node_ids)
private

◆ id_hash()

size_t Ioss::FaceGenerator::id_hash ( size_t global_id)
static

◆ node_id_hash()

size_t Ioss::FaceGenerator::node_id_hash ( size_t local_node_id) const
inline

Given a local node id (0-based), return the hashed value.

◆ progress()

void Ioss::FaceGenerator::progress ( const std::string & output) const

Member Data Documentation

◆ faces_

std::map<std::string, FaceUnorderedSet> Ioss::FaceGenerator::faces_
private

◆ hashIds_

std::vector<size_t> Ioss::FaceGenerator::hashIds_
private

◆ region_

Ioss::Region& Ioss::FaceGenerator::region_
private

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