IOSS  2.0
Ioss::FaceGenerator Class Reference

#include <Ioss_FaceGenerator.h>

Collaboration diagram for Ioss::FaceGenerator:
[legend]

Public Member Functions

 FaceGenerator (Ioss::Region &region)
 
 ~FaceGenerator ()=default
 
template<typename INT >
void generate_faces (INT, bool block_by_block=false)
 
FaceUnorderedSet & faces (const std::string &name="ALL")
 
size_t node_id_hash (size_t local_node_id) const
 Given a local node id (0-based), return the hashed value. More...
 

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)
 
template<typename INT >
void generate_block_faces (INT)
 
template<typename INT >
void generate_model_faces (INT)
 

Private Attributes

Ioss::Region & region_
 
std::map< std::string, FaceUnorderedSet > faces_
 
std::vector< size_t > hashIds_
 

Constructor & Destructor Documentation

◆ FaceGenerator()

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

◆ ~FaceGenerator()

Ioss::FaceGenerator::~FaceGenerator ( )
default

Member Function Documentation

◆ faces()

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

◆ generate_block_faces()

template<typename INT >
void Ioss::FaceGenerator::generate_block_faces ( INT  )
private

◆ generate_faces()

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

◆ generate_model_faces()

template<typename INT >
void Ioss::FaceGenerator::generate_model_faces ( INT  )
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.

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: