IOSS 2.0
Loading...
Searching...
No Matches
Iocatalyst::DatabaseIO::ImplementationT Class Reference
Collaboration diagram for Iocatalyst::DatabaseIO::ImplementationT:
[legend]

Public Member Functions

conduit_cpp::Node & databaseNode ()
 
void * catalystConduitNode ()
 
void setDatabaseNode (conduit_node *c_node)
 
conduit_cpp::Node & root ()
 
void print ()
 
bool defineModel (Ioss::Region *region)
 
void readZoneConnectivity (conduit_cpp::Node &&parent, Ioss::StructuredBlock *sb)
 
void readBoundaryConditions (conduit_cpp::Node &&parent, Ioss::StructuredBlock *sb)
 
Ioss::IJK_t readIJK (conduit_cpp::Node &&parent)
 
bool readModel (Ioss::Region *region)
 
bool readTime (Ioss::Region *region)
 
std::vector< double > getTime ()
 
int64_t putField (const std::string &containerName, const Ioss::GroupingEntity *entityGroup, const Ioss::Field &field, void *data, size_t data_size, bool deep_copy)
 
int64_t getField (const std::string &containerName, const Ioss::GroupingEntity *entityGroup, const Ioss::Field &field, void *data, size_t data_size)
 
int64_t getFieldZeroCopy (const std::string &containerName, const Ioss::GroupingEntity *entityGroup, const Ioss::Field &field, void **data, size_t *data_size)
 
int64_t getMeshModelCoordinates (const std::string &containerName, const Ioss::GroupingEntity *entityGroup, const Ioss::Field &field, void *data, size_t data_size)
 
bool hasField (const std::string &containerName, const Ioss::GroupingEntity *entityGroup, const std::string &fieldName)
 
std::string getFieldPath (const std::string &containerName, const std::string &groupName, const std::string &fieldName)
 
bool hasProperty (const std::string &containerName, const Ioss::GroupingEntity *entityGroup, const std::string &propertyName)
 
std::string getPropertyPath (const std::string &containerName, const std::string &groupName, const std::string &propertyName)
 
std::string getName (const Ioss::GroupingEntity *entityGroup)
 
std::string getTimePath ()
 
int64_t getStructuredBlockIDS (const Ioss::StructuredBlock *sb, const Ioss::Field &field, void *data, size_t data_size)
 
template<typename INT_t >
void copyIDS (const Ioss::StructuredBlock *sb, const Ioss::Field &field, INT_t *data)
 
Ioss::Mapget_node_map (const Ioss::DatabaseIO *dbase) const
 

Private Member Functions

template<typename GroupingEntityT >
bool defineEntityGroup (conduit_cpp::Node parent, const std::vector< GroupingEntityT * > &container)
 
bool defineEntityGroup (conduit_cpp::Node parent, const Ioss::SideSetContainer &container)
 
bool defineEntityGroup (conduit_cpp::Node parent, const Ioss::AssemblyContainer &container)
 
bool defineEntityGroup (conduit_cpp::Node parent, const Ioss::StructuredBlockContainer &container)
 
void defineZoneConnectivity (conduit_cpp::Node parent, Ioss::ZoneConnectivity &zc)
 
void defineBoundaryCondition (conduit_cpp::Node parent, Ioss::BoundaryCondition &bc)
 
conduit_cpp::Node defineIJK (Ioss::IJK_t &a)
 
template<typename GroupingEntityT >
bool addProperties (conduit_cpp::Node parent, GroupingEntityT *entityGroup)
 
template<typename GroupingEntityT >
bool readEntityGroup (conduit_cpp::Node &&parent, Ioss::Region *region)
 
template<typename GroupingEntityT >
bool readProperties (const conduit_cpp::Node &&parent, GroupingEntityT *block) const
 
std::vector< std::string > getScalarNamesFromNonScalarField (const Ioss::Field &field) const
 
template<typename T >
std::vector< T > getInterweavedScalarDataFromConduitNode (const std::vector< std::string > fnames, conduit_cpp::Node &node) const
 
template<typename T >
void addFieldNodeAndDataToConduitNode (const Ioss::Field &field, void *data, conduit_cpp::Node &node) const
 
void combineScalarFieldsInConduitNodeToNonScalarField (const Ioss::Field &field, conduit_cpp::Node &node) const
 
template<typename GroupingEntityT >
bool readFields (conduit_cpp::Node &&parent, GroupingEntityT *block) const
 

Private Attributes

conduit_cpp::Node Root
 
conduit_cpp::Node DBNode
 
Ioss::Map NodeMap
 
std::map< std::string, Ioss::SideBlock * > sideBlocks
 
char read_db_field_separator
 

Member Function Documentation

◆ addFieldNodeAndDataToConduitNode()

template<typename T >
void Iocatalyst::DatabaseIO::ImplementationT::addFieldNodeAndDataToConduitNode ( const Ioss::Field & field,
void * data,
conduit_cpp::Node & node ) const
inlineprivate

◆ addProperties()

template<typename GroupingEntityT >
bool Iocatalyst::DatabaseIO::ImplementationT::addProperties ( conduit_cpp::Node parent,
GroupingEntityT * entityGroup )
inlineprivate

◆ catalystConduitNode()

void * Iocatalyst::DatabaseIO::ImplementationT::catalystConduitNode ( )
inline

◆ combineScalarFieldsInConduitNodeToNonScalarField()

void Iocatalyst::DatabaseIO::ImplementationT::combineScalarFieldsInConduitNodeToNonScalarField ( const Ioss::Field & field,
conduit_cpp::Node & node ) const
inlineprivate

◆ copyIDS()

template<typename INT_t >
void Iocatalyst::DatabaseIO::ImplementationT::copyIDS ( const Ioss::StructuredBlock * sb,
const Ioss::Field & field,
INT_t * data )
inline

◆ databaseNode()

conduit_cpp::Node & Iocatalyst::DatabaseIO::ImplementationT::databaseNode ( )
inline

◆ defineBoundaryCondition()

void Iocatalyst::DatabaseIO::ImplementationT::defineBoundaryCondition ( conduit_cpp::Node parent,
Ioss::BoundaryCondition & bc )
inlineprivate

◆ defineEntityGroup() [1/4]

bool Iocatalyst::DatabaseIO::ImplementationT::defineEntityGroup ( conduit_cpp::Node parent,
const Ioss::AssemblyContainer & container )
inlineprivate

◆ defineEntityGroup() [2/4]

bool Iocatalyst::DatabaseIO::ImplementationT::defineEntityGroup ( conduit_cpp::Node parent,
const Ioss::SideSetContainer & container )
inlineprivate

◆ defineEntityGroup() [3/4]

bool Iocatalyst::DatabaseIO::ImplementationT::defineEntityGroup ( conduit_cpp::Node parent,
const Ioss::StructuredBlockContainer & container )
inlineprivate

◆ defineEntityGroup() [4/4]

template<typename GroupingEntityT >
bool Iocatalyst::DatabaseIO::ImplementationT::defineEntityGroup ( conduit_cpp::Node parent,
const std::vector< GroupingEntityT * > & container )
inlineprivate

◆ defineIJK()

conduit_cpp::Node Iocatalyst::DatabaseIO::ImplementationT::defineIJK ( Ioss::IJK_t & a)
inlineprivate

◆ defineModel()

bool Iocatalyst::DatabaseIO::ImplementationT::defineModel ( Ioss::Region * region)
inline

◆ defineZoneConnectivity()

void Iocatalyst::DatabaseIO::ImplementationT::defineZoneConnectivity ( conduit_cpp::Node parent,
Ioss::ZoneConnectivity & zc )
inlineprivate

◆ get_node_map()

Ioss::Map & Iocatalyst::DatabaseIO::ImplementationT::get_node_map ( const Ioss::DatabaseIO * dbase) const
inline

◆ getField()

int64_t Iocatalyst::DatabaseIO::ImplementationT::getField ( const std::string & containerName,
const Ioss::GroupingEntity * entityGroup,
const Ioss::Field & field,
void * data,
size_t data_size )
inline

◆ getFieldPath()

std::string Iocatalyst::DatabaseIO::ImplementationT::getFieldPath ( const std::string & containerName,
const std::string & groupName,
const std::string & fieldName )
inline

◆ getFieldZeroCopy()

int64_t Iocatalyst::DatabaseIO::ImplementationT::getFieldZeroCopy ( const std::string & containerName,
const Ioss::GroupingEntity * entityGroup,
const Ioss::Field & field,
void ** data,
size_t * data_size )
inline

◆ getInterweavedScalarDataFromConduitNode()

template<typename T >
std::vector< T > Iocatalyst::DatabaseIO::ImplementationT::getInterweavedScalarDataFromConduitNode ( const std::vector< std::string > fnames,
conduit_cpp::Node & node ) const
inlineprivate

◆ getMeshModelCoordinates()

int64_t Iocatalyst::DatabaseIO::ImplementationT::getMeshModelCoordinates ( const std::string & containerName,
const Ioss::GroupingEntity * entityGroup,
const Ioss::Field & field,
void * data,
size_t data_size )
inline

◆ getName()

std::string Iocatalyst::DatabaseIO::ImplementationT::getName ( const Ioss::GroupingEntity * entityGroup)
inline

◆ getPropertyPath()

std::string Iocatalyst::DatabaseIO::ImplementationT::getPropertyPath ( const std::string & containerName,
const std::string & groupName,
const std::string & propertyName )
inline

◆ getScalarNamesFromNonScalarField()

std::vector< std::string > Iocatalyst::DatabaseIO::ImplementationT::getScalarNamesFromNonScalarField ( const Ioss::Field & field) const
inlineprivate

◆ getStructuredBlockIDS()

int64_t Iocatalyst::DatabaseIO::ImplementationT::getStructuredBlockIDS ( const Ioss::StructuredBlock * sb,
const Ioss::Field & field,
void * data,
size_t data_size )
inline

◆ getTime()

std::vector< double > Iocatalyst::DatabaseIO::ImplementationT::getTime ( )
inline

◆ getTimePath()

std::string Iocatalyst::DatabaseIO::ImplementationT::getTimePath ( )
inline

◆ hasField()

bool Iocatalyst::DatabaseIO::ImplementationT::hasField ( const std::string & containerName,
const Ioss::GroupingEntity * entityGroup,
const std::string & fieldName )
inline

◆ hasProperty()

bool Iocatalyst::DatabaseIO::ImplementationT::hasProperty ( const std::string & containerName,
const Ioss::GroupingEntity * entityGroup,
const std::string & propertyName )
inline

◆ print()

void Iocatalyst::DatabaseIO::ImplementationT::print ( )
inline

◆ putField()

int64_t Iocatalyst::DatabaseIO::ImplementationT::putField ( const std::string & containerName,
const Ioss::GroupingEntity * entityGroup,
const Ioss::Field & field,
void * data,
size_t data_size,
bool deep_copy )
inline

◆ readBoundaryConditions()

void Iocatalyst::DatabaseIO::ImplementationT::readBoundaryConditions ( conduit_cpp::Node && parent,
Ioss::StructuredBlock * sb )

◆ readEntityGroup()

template<typename GroupingEntityT >
bool Iocatalyst::DatabaseIO::ImplementationT::readEntityGroup ( conduit_cpp::Node && parent,
Ioss::Region * region )
inlineprivate

◆ readFields()

template<typename GroupingEntityT >
bool Iocatalyst::DatabaseIO::ImplementationT::readFields ( conduit_cpp::Node && parent,
GroupingEntityT * block ) const
inlineprivate

◆ readIJK()

Ioss::IJK_t Iocatalyst::DatabaseIO::ImplementationT::readIJK ( conduit_cpp::Node && parent)

◆ readModel()

bool Iocatalyst::DatabaseIO::ImplementationT::readModel ( Ioss::Region * region)

◆ readProperties()

template<typename GroupingEntityT >
bool Iocatalyst::DatabaseIO::ImplementationT::readProperties ( const conduit_cpp::Node && parent,
GroupingEntityT * block ) const
inlineprivate

◆ readTime()

bool Iocatalyst::DatabaseIO::ImplementationT::readTime ( Ioss::Region * region)
inline

◆ readZoneConnectivity()

void Iocatalyst::DatabaseIO::ImplementationT::readZoneConnectivity ( conduit_cpp::Node && parent,
Ioss::StructuredBlock * sb )

◆ root()

conduit_cpp::Node & Iocatalyst::DatabaseIO::ImplementationT::root ( )
inline

◆ setDatabaseNode()

void Iocatalyst::DatabaseIO::ImplementationT::setDatabaseNode ( conduit_node * c_node)
inline

Member Data Documentation

◆ DBNode

conduit_cpp::Node Iocatalyst::DatabaseIO::ImplementationT::DBNode
private

◆ NodeMap

Ioss::Map Iocatalyst::DatabaseIO::ImplementationT::NodeMap
mutableprivate

◆ read_db_field_separator

char Iocatalyst::DatabaseIO::ImplementationT::read_db_field_separator
private

◆ Root

conduit_cpp::Node Iocatalyst::DatabaseIO::ImplementationT::Root
private

◆ sideBlocks

std::map<std::string, Ioss::SideBlock *> Iocatalyst::DatabaseIO::ImplementationT::sideBlocks
private

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