IOSS  2.0
Ioss_Utils.C File Reference
#include <Ioss_CodeTypes.h>
#include <Ioss_MeshCopyOptions.h>
#include <Ioss_Utils.h>
#include <algorithm>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <sstream>
#include <string>
#include <sys/select.h>
#include <tokenize.h>
#include <vector>
#include <sys/utsname.h>
#include <Ioss_SubSystem.h>
#include <fstream>

Namespaces

 anonymous_namespace{Ioss_Utils.C}
 

Functions

size_t anonymous_namespace{Ioss_Utils.C}::MAX (size_t a, size_t b)
 
void anonymous_namespace{Ioss_Utils.C}::show_step (int istep, double time, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_nodeblock (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_structuredblocks (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_elementblocks (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_edgeblocks (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_faceblocks (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_nodesets (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_edgesets (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_facesets (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_elemsets (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_sidesets (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_commsets (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_coordinate_frames (Ioss::Region &region, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
template<typename T >
void anonymous_namespace{Ioss_Utils.C}::transfer_fields (const std::vector< T *> &entities, Ioss::Region &output_region, Ioss::Field::RoleType role, const Ioss::MeshCopyOptions &options, int rank)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_fields (Ioss::GroupingEntity *ige, Ioss::GroupingEntity *oge, Ioss::Field::RoleType role, const std::string &prefix="")
 
template<typename T >
void anonymous_namespace{Ioss_Utils.C}::transfer_field_data (const std::vector< T *> &entities, Ioss::Region &output_region, Ioss::Field::RoleType role, const Ioss::MeshCopyOptions &options)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_field_data (Ioss::GroupingEntity *ige, Ioss::GroupingEntity *oge, Ioss::Field::RoleType role, const Ioss::MeshCopyOptions &options, const std::string &prefix="")
 
void anonymous_namespace{Ioss_Utils.C}::transfer_properties (Ioss::GroupingEntity *ige, Ioss::GroupingEntity *oge)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_qa_info (Ioss::Region &in, Ioss::Region &out)
 
void anonymous_namespace{Ioss_Utils.C}::transfer_field_data_internal (Ioss::GroupingEntity *ige, Ioss::GroupingEntity *oge, const std::string &field_name, const Ioss::MeshCopyOptions &options)
 
template<typename INT >
void anonymous_namespace{Ioss_Utils.C}::set_owned_node_count (Ioss::Region &region, int my_processor, INT dummy)
 
int anonymous_namespace{Ioss_Utils.C}::to_lower (int c)
 
int anonymous_namespace{Ioss_Utils.C}::to_upper (int c)
 
bool anonymous_namespace{Ioss_Utils.C}::is_separator (const char separator, const char value)
 
size_t anonymous_namespace{Ioss_Utils.C}::match (const char *name1, const char *name2)
 
void anonymous_namespace{Ioss_Utils.C}::field_tokenize (const std::string &str, const char separator, std::vector< std::string > &tokens)
 
const Ioss::VariableTypeanonymous_namespace{Ioss_Utils.C}::match_composite_field (char **names, Ioss::IntVector &which_names, const char suffix_separator)
 
const Ioss::VariableTypeanonymous_namespace{Ioss_Utils.C}::match_single_field (char **names, Ioss::IntVector &which_names, const char suffix_separator)
 
Ioss::Field anonymous_namespace{Ioss_Utils.C}::get_next_field (char **names, int num_names, size_t count, Ioss::Field::RoleType fld_role, const char suffix_separator, int *truth_table)
 
bool anonymous_namespace{Ioss_Utils.C}::define_field (size_t nmatch, size_t match_length, char **names, std::vector< Ioss::Suffix > &suffices, size_t entity_count, Ioss::Field::RoleType fld_role, std::vector< Ioss::Field > &fields)
 
std::string anonymous_namespace{Ioss_Utils.C}::two_letter_hash (const char *symbol)
 Hash function from Aho, Sethi, Ullman "Compilers: Principles, Techniques, and Tools. Page 436. More...
 
template<typename T >
void anonymous_namespace{Ioss_Utils.C}::transfer_blocks (const std::vector< T *> &blocks, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 
template<typename T >
void anonymous_namespace{Ioss_Utils.C}::transfer_sets (const std::vector< T *> &sets, Ioss::Region &output_region, bool debug, bool verbose, int rank)
 

Variables

size_t anonymous_namespace{Ioss_Utils.C}::max_field_size = 0
 
std::vector< char > anonymous_namespace{Ioss_Utils.C}::data
 
std::vector< int > anonymous_namespace{Ioss_Utils.C}::data_int
 
std::vector< int64_t > anonymous_namespace{Ioss_Utils.C}::data_int64
 
std::vector< double > anonymous_namespace{Ioss_Utils.C}::data_double
 
std::vector< Complexanonymous_namespace{Ioss_Utils.C}::data_complex
 
const int anonymous_namespace{Ioss_Utils.C}::tab64 [64]