The main public user interface for creating Ioss::DatabaseIO objects.
More...
#include <Ioss_IOFactory.h>
|
static void | alias (const std::string &base, const std::string &syn) |
|
The main public user interface for creating Ioss::DatabaseIO objects.
◆ ~IOFactory()
virtual Ioss::IOFactory::~IOFactory |
( |
| ) |
|
|
virtualdefault |
◆ IOFactory()
Ioss::IOFactory::IOFactory |
( |
const std::string & | type | ) |
|
|
explicitprotected |
◆ alias()
void Ioss::IOFactory::alias |
( |
const std::string & | base, |
|
|
const std::string & | syn ) |
|
staticprotected |
◆ clean()
void Ioss::IOFactory::clean |
( |
| ) |
|
|
static |
◆ create()
Create an IO database.
This is the public interface method for creating an Ioss::DatabaseIO object. If Ioss is invoked with more than one process, type == "exodus", db_usage == Ioss::READ_MODEL, and properties contains the property DECOMPOSITION_METHOD, which is not set to EXTERNAL, then a parallel decompose-on-the-fly (dof) style Exodus database will be created. The mesh in a single Exodus file will be decomposed according to DECOMPOSITION_METHOD. Otherwise, if the number of processes is greater than one, then a file-per-process (fpp) style Exodus database will be created. In this case, Ioss expects the mesh in p Exodus files, where p is the number of processes in communicator.
- Parameters
-
[in] | type | The database file format. Use Ioss::IOFactory::describe to list formats known to Ioss. |
[in] | filename | The name of the database file to read from or write to. |
[in] | db_usage | Specifies whether the database will be used for input, normal output, restart output, etc. |
[in] | communicator | The MPI communicator. |
[in] | properties | The property manager associated with the database. |
- Returns
- A pointer to the newly-constructed Ioss::DatabaseIO object, or NULL if unsuccessful.
◆ describe() [1/2]
Get the names of database formats known to IOSS.
- Returns
- The list of known database format names.
◆ describe() [2/2]
int Ioss::IOFactory::describe |
( |
NameList * | names | ) |
|
|
static |
Get the names of database formats known to IOSS.
- Parameters
-
[out] | names | The list of known database format names. |
- Returns
- The number of known database formats.
◆ make_IO()
Implemented in Ioad::IOFactory, Iocatalyst::IOFactory, Iocgns::IOFactory, Ioex::IOFactory, Ioexnl::IOFactory, Iofaodel::IOFactory, Iogn::IOFactory, Iogs::IOFactory, Iohb::IOFactory, Ionull::IOFactory, Iopg::IOFactory, Iotm::IOFactory, Iovs_cgns::IOFactory, and Iovs_exodus::IOFactory.
◆ registry()
◆ show_config()
virtual IOSS_NODISCARD std::string Ioss::IOFactory::show_config |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ show_configuration()
std::string Ioss::IOFactory::show_configuration |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: