IOSS 2.0
Loading...
Searching...
No Matches
Iocatalyst_DatabaseIOTest Class Reference

#include <Iocatalyst_DatabaseIOTest.h>

Inheritance diagram for Iocatalyst_DatabaseIOTest:
[legend]
Collaboration diagram for Iocatalyst_DatabaseIOTest:
[legend]

Protected Member Functions

 Iocatalyst_DatabaseIOTest ()
 
bool regionsAreEqual (const std::string &fileName, const std::string &catFileName, const std::string &iossDatabaseType)
 
bool regionsAreEqualCatalystAndIoss (const std::string &fileName, Ioss::DatabaseIO &cat_d, const std::string &iossDatabaseType)
 
void runStructuredTest (const std::string &testName)
 
void runUnstructuredTest (const std::string &testName)
 
Ioss::DatabaseIOwriteAndGetExodusDatabaseOnRead (const std::string &testName, Ioss::PropertyManager dbProps={})
 
Ioss::DatabaseIOgetExodusDatabaseFromFile (std::string &filename, Ioss::PropertyManager dbProps={})
 
conduit_cpp::Node getConduitFromExodusFile (std::string &filename, Ioss::PropertyManager dbProps={})
 
Ioss::DatabaseIOgetCatalystDatabaseFromConduit (conduit_cpp::Node &conduitNode, Ioss::PropertyManager dbProps={})
 
Ioss::DatabaseIOgetDatabaseOnReadFromFileName (const std::string &fileName, const std::string &iossDatabaseType, Ioss::PropertyManager dbProps={})
 
Ioss::DatabaseIOgetCatalystDatabaseFromConduitFiles (const std::string &dirName, Ioss::PropertyManager dbProps={})
 
void checkZeroCopyFields (Iocatalyst::BlockMeshSet::IOSSparams &iop)
 
template<typename EntityContainer >
void checkEntityContainerZeroCopyFields (const EntityContainer &ge)
 
void setBlockMeshSize (unsigned int i, unsigned int j, unsigned int k)
 
void setOrigin (unsigned int i, unsigned int j, unsigned int k)
 
void addBlockMesh (Iocatalyst::BlockMesh &blockMesh)
 

Protected Attributes

Iocatalyst::BlockMeshSet bmSet
 
Iocatalyst::BlockMesh::Partition part
 
Iocatalyst::BlockMesh::Extent blockMeshSize
 
Iocatalyst::BlockMesh::Extent origin
 
Ioss::ParallelUtils putils
 
const std::string CGNS_DATABASE_TYPE = "cgns"
 
const std::string CGNS_FILE_EXTENSION = ".cgns"
 
const std::string EXODUS_DATABASE_TYPE = "exodus"
 
const std::string EXODUS_FILE_EXTENSION = ".ex2"
 
const std::string CATALYST_TEST_FILE_PREFIX = "catalyst_"
 
const std::string CATALYST_TEST_FILE_NP = "_np_"
 

Static Protected Attributes

static const std::string CATALYST_DATABASE_TYPE = "catalyst"
 
static const std::string CATALYST_DUMMY_DATABASE = "dummy.db"
 

Constructor & Destructor Documentation

◆ Iocatalyst_DatabaseIOTest()

Iocatalyst_DatabaseIOTest::Iocatalyst_DatabaseIOTest ( )
protected

Member Function Documentation

◆ addBlockMesh()

void Iocatalyst_DatabaseIOTest::addBlockMesh ( Iocatalyst::BlockMesh & blockMesh)
protected

◆ checkEntityContainerZeroCopyFields()

template<typename EntityContainer >
void Iocatalyst_DatabaseIOTest::checkEntityContainerZeroCopyFields ( const EntityContainer & ge)
inlineprotected

◆ checkZeroCopyFields()

void Iocatalyst_DatabaseIOTest::checkZeroCopyFields ( Iocatalyst::BlockMeshSet::IOSSparams & iop)
protected

◆ getCatalystDatabaseFromConduit()

Ioss::DatabaseIO * Iocatalyst_DatabaseIOTest::getCatalystDatabaseFromConduit ( conduit_cpp::Node & conduitNode,
Ioss::PropertyManager dbProps = {} )
protected

◆ getCatalystDatabaseFromConduitFiles()

Ioss::DatabaseIO * Iocatalyst_DatabaseIOTest::getCatalystDatabaseFromConduitFiles ( const std::string & dirName,
Ioss::PropertyManager dbProps = {} )
protected

◆ getConduitFromExodusFile()

conduit_cpp::Node Iocatalyst_DatabaseIOTest::getConduitFromExodusFile ( std::string & filename,
Ioss::PropertyManager dbProps = {} )
protected

◆ getDatabaseOnReadFromFileName()

Ioss::DatabaseIO * Iocatalyst_DatabaseIOTest::getDatabaseOnReadFromFileName ( const std::string & fileName,
const std::string & iossDatabaseType,
Ioss::PropertyManager dbProps = {} )
protected

◆ getExodusDatabaseFromFile()

Ioss::DatabaseIO * Iocatalyst_DatabaseIOTest::getExodusDatabaseFromFile ( std::string & filename,
Ioss::PropertyManager dbProps = {} )
protected

◆ regionsAreEqual()

bool Iocatalyst_DatabaseIOTest::regionsAreEqual ( const std::string & fileName,
const std::string & catFileName,
const std::string & iossDatabaseType )
protected

◆ regionsAreEqualCatalystAndIoss()

bool Iocatalyst_DatabaseIOTest::regionsAreEqualCatalystAndIoss ( const std::string & fileName,
Ioss::DatabaseIO & cat_d,
const std::string & iossDatabaseType )
protected

◆ runStructuredTest()

void Iocatalyst_DatabaseIOTest::runStructuredTest ( const std::string & testName)
protected

◆ runUnstructuredTest()

void Iocatalyst_DatabaseIOTest::runUnstructuredTest ( const std::string & testName)
protected

◆ setBlockMeshSize()

void Iocatalyst_DatabaseIOTest::setBlockMeshSize ( unsigned int i,
unsigned int j,
unsigned int k )
protected

◆ setOrigin()

void Iocatalyst_DatabaseIOTest::setOrigin ( unsigned int i,
unsigned int j,
unsigned int k )
protected

◆ writeAndGetExodusDatabaseOnRead()

Ioss::DatabaseIO * Iocatalyst_DatabaseIOTest::writeAndGetExodusDatabaseOnRead ( const std::string & testName,
Ioss::PropertyManager dbProps = {} )
protected

Member Data Documentation

◆ blockMeshSize

Iocatalyst::BlockMesh::Extent Iocatalyst_DatabaseIOTest::blockMeshSize
protected

◆ bmSet

Iocatalyst::BlockMeshSet Iocatalyst_DatabaseIOTest::bmSet
protected

◆ CATALYST_DATABASE_TYPE

const std::string Iocatalyst_DatabaseIOTest::CATALYST_DATABASE_TYPE = "catalyst"
inlinestaticprotected

◆ CATALYST_DUMMY_DATABASE

const std::string Iocatalyst_DatabaseIOTest::CATALYST_DUMMY_DATABASE = "dummy.db"
inlinestaticprotected

◆ CATALYST_TEST_FILE_NP

const std::string Iocatalyst_DatabaseIOTest::CATALYST_TEST_FILE_NP = "_np_"
protected

◆ CATALYST_TEST_FILE_PREFIX

const std::string Iocatalyst_DatabaseIOTest::CATALYST_TEST_FILE_PREFIX = "catalyst_"
protected

◆ CGNS_DATABASE_TYPE

const std::string Iocatalyst_DatabaseIOTest::CGNS_DATABASE_TYPE = "cgns"
protected

◆ CGNS_FILE_EXTENSION

const std::string Iocatalyst_DatabaseIOTest::CGNS_FILE_EXTENSION = ".cgns"
protected

◆ EXODUS_DATABASE_TYPE

const std::string Iocatalyst_DatabaseIOTest::EXODUS_DATABASE_TYPE = "exodus"
protected

◆ EXODUS_FILE_EXTENSION

const std::string Iocatalyst_DatabaseIOTest::EXODUS_FILE_EXTENSION = ".ex2"
protected

◆ origin

Iocatalyst::BlockMesh::Extent Iocatalyst_DatabaseIOTest::origin
protected

◆ part

Iocatalyst::BlockMesh::Partition Iocatalyst_DatabaseIOTest::part
protected

◆ putils

Ioss::ParallelUtils Iocatalyst_DatabaseIOTest::putils
protected

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