Open a new database and do some prepratory work on it¶
OpenDatabase
is a function defined in loadbalance.c.
Synopsis:
-
void
OpenDatabase
(char *dbname, hbool_t do_multifile, int numDims, int numProcs, DbInfo_t *dbInfo)¶
Formal Arguments:
dbname
: [IN
] name of the databasedo_multifile
: [IN
] boolean to indicate if each step will go to a different supplemental filenumDims
: [IN
] number of topological and geometric dimensions in the meshnumProcs
: [IN
] number of processorsdbInfo
: [OUT
] database info object
Description: This function creates the initial database and some key objects such as the top-most aggregate set, the nodes, elems and procs collection categories and the state suite.
See Also:
- Dynamic Load Balance Use Case: Introduction for current chapter