IOSS 2.0
Loading...
Searching...
No Matches
Ioexnl_Utils.h File Reference
#include "Ioss_CoordinateFrame.h"
#include "Ioss_ElementBlock.h"
#include "Ioss_ElementTopology.h"
#include "Ioss_Utils.h"
#include <cassert>
#include <exodusII.h>
#include <map>
#include <set>
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <vector>
#include "Ioss_CodeTypes.h"
#include "Ioss_EntityType.h"
#include "Ioss_SurfaceSplit.h"
#include "ioexnl_export.h"
#include <hopscotch_map.h>
Include dependency graph for Ioexnl_Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Ioexnl::NameTopoKeyCompare
 
struct  Ioexnl::NameTopoKeyHash
 

Namespaces

namespace  Ioss
 The main namespace for the Ioss library.
 
namespace  Ioexnl
 A namespace for the exodus database format.
 

Macros

#define EXU_USE_HOPSCOTCH
 

Typedefs

using Ioexnl::SideSetSet = std::set<std::string>
 
using Ioexnl::SideSetMap = std::map<std::string, const std::string, std::less<>>
 
using Ioexnl::NameTopoKey = std::pair<std::string, const Ioss::ElementTopology *>
 
using Ioexnl::TopologyMap = tsl::hopscotch_map<NameTopoKey, int, NameTopoKeyHash>
 

Functions

IOSS_NODISCARD IOEXNL_EXPORT const char * Ioexnl::Version ()
 
bool Ioexnl::check_processor_info (const std::string &filename, int exodusFilePtr, int processor_count, int processor_id)
 
Ioss::EntityType Ioexnl::map_exodus_type (ex_entity_type type)
 
ex_entity_type Ioexnl::map_exodus_type (Ioss::EntityType type)
 
void Ioexnl::update_last_time_attribute (int exodusFilePtr, double value)
 
bool Ioexnl::read_last_time_attribute (int exodusFilePtr, double *value)
 
bool Ioexnl::type_match (const std::string &type, const char *substring)
 
int64_t Ioexnl::extract_id (const std::string &name_id)
 
bool Ioexnl::set_id (const Ioss::GroupingEntity *entity, Ioexnl::EntityIdSet *idset)
 
int64_t Ioexnl::get_id (const Ioss::GroupingEntity *entity, Ioexnl::EntityIdSet *idset)
 
void Ioexnl::decode_surface_name (Ioexnl::SideSetMap &fs_map, Ioexnl::SideSetSet &fs_set, const std::string &name)
 
void Ioexnl::fix_bad_name (char *name)
 
void Ioexnl::exodus_error (int exoid, int lineno, const char *function, const char *filename)
 
void Ioexnl::exodus_error (int exoid, int lineno, const char *function, const char *filename, const std::string &extra)
 
IOEXNL_EXPORT int Ioexnl::add_map_fields (int exoid, Ioss::ElementBlock *block, int64_t my_element_count, size_t name_length)
 
IOEXNL_EXPORT void Ioexnl::add_coordinate_frames (int exoid, Ioss::Region *region)
 
void Ioexnl::write_coordinate_frames (int exoid, const Ioss::CoordinateFrameContainer &frames)
 
bool Ioexnl::find_displacement_field (Ioss::NameList &fields, const Ioss::GroupingEntity *block, int ndim, std::string *disp_name)
 
IOSS_NODISCARD IOEXNL_EXPORT std::string Ioexnl::get_entity_name (int exoid, ex_entity_type type, int64_t id, const std::string &basename, int length, bool &db_has_name)
 
void Ioexnl::filter_element_list (Ioss::Region *region, Ioss::Int64Vector &elements, Ioss::Int64Vector &sides, bool remove_omitted_elements)
 
bool Ioexnl::filter_node_list (Ioss::Int64Vector &nodes, const std::vector< unsigned char > &node_connectivity_status)
 
template<typename T >
void Ioexnl::filter_node_list (T *data, std::vector< T > &dbvals, const std::vector< int64_t > &active_node_index)
 
void Ioexnl::separate_surface_element_sides (Ioss::Int64Vector &element, Ioss::Int64Vector &sides, Ioss::Region *region, Ioexnl::TopologyMap &topo_map, Ioexnl::TopologyMap &side_map, Ioss::SurfaceSplitType split_type, const std::string &surface_name)
 
void Ioexnl::write_reduction_attributes (int exoid, const Ioss::GroupingEntity *ge)
 
template<typename T >
void Ioexnl::write_reduction_attributes (int exoid, const std::vector< T * > &entities)
 

Macro Definition Documentation

◆ EXU_USE_HOPSCOTCH

#define EXU_USE_HOPSCOTCH