![]() |
Chi-Tech
|
#include <chi_runtime.h>
Data Structures | |
| class | RecoverableException |
| class | run_time |
Public Member Functions | |
| Chi ()=delete | |
| Chi (const Chi &)=delete | |
| Chi | operator= (const Chi &)=delete |
Static Public Member Functions | |
| static int | RunInteractive (int argc, char **argv) |
| static int | RunBatch (int argc, char **argv) |
| static int | Initialize (int argc, char **argv, MPI_Comm communicator) |
| static void | Finalize () |
| static void | Exit (int error_code) |
| static chi::RegistryStatuses | GetStatusOfRegistries () |
| static std::string | GetVersionStr () |
| template<class R , class T > | |
| static R & | GetStackItem (std::vector< std::shared_ptr< T > > &stack, const size_t handle, const std::string &calling_function_name="Unknown") |
| template<class T , class P > | |
| static std::shared_ptr< T > | GetStackItemPtrAsType (std::vector< std::shared_ptr< P > > &stack, const size_t handle, const std::string &calling_function_name="Unknown") |
| template<class T > | |
| static std::shared_ptr< T > & | GetStackItemPtr (std::vector< std::shared_ptr< T > > &stack, const size_t handle, const std::string &calling_function_name="Unknown") |
General utilities in ChiTech
Definition at line 75 of file chi_runtime.h.
|
delete |
|
delete |
|
static |
Exits the program appropriately.
Definition at line 342 of file chi_runtime.cc.
|
static |
Finalizes ChiTech.
Definition at line 216 of file chi_runtime.cc.
|
inlinestatic |
Attempts to retrieve an object of base-type shared_ptr<T> at the given handle. It then attempts to cast it to type shared_ptr<R> and, if successful, will return a reference of type R&.
Example usage:
Definition at line 183 of file chi_runtime.h.
|
inlinestatic |
Attempts to obtain object of type shared_ptr<T> at the given handle of a stack ALSO OF TYPE T.
Example usage:
Definition at line 258 of file chi_runtime.h.
|
inlinestatic |
Attempts to obtain object of type shared_ptr<T> at the given handle of a stack with parent type P.
Example usage:
Definition at line 220 of file chi_runtime.h.
|
static |
Builds a RegistryStatuses structure
Definition at line 350 of file chi_runtime.cc.
|
static |
Gets the ChiTech-version string.
Definition at line 346 of file chi_runtime.cc.
|
static |
Initializes all necessary items for ChiTech.
| argc | int Number of arguments supplied. |
| argv | char** Array of strings representing each argument. |
| communicator | MPI_Comm The main communicator, used system wide. |
Definition at line 173 of file chi_runtime.cc.
|
static |
Runs ChiTech in pure batch mode. Start then finish.
Definition at line 285 of file chi_runtime.cc.
|
static |
Runs the interactive chitech engine
Definition at line 239 of file chi_runtime.cc.
|
static |
Definition at line 94 of file chi_runtime.h.
|
static |
Definition at line 80 of file chi_runtime.h.
|
static |
Definition at line 84 of file chi_runtime.h.
|
static |
Definition at line 87 of file chi_runtime.h.
|
static |
Definition at line 92 of file chi_runtime.h.
|
static |
Definition at line 81 of file chi_runtime.h.
|
static |
Definition at line 90 of file chi_runtime.h.
|
static |
Global stack of handlers
Definition at line 83 of file chi_runtime.h.
|
static |
Definition at line 78 of file chi_runtime.h.
|
static |
Definition at line 91 of file chi_runtime.h.
|
static |
Definition at line 96 of file chi_runtime.h.
|
static |
Definition at line 98 of file chi_runtime.h.
|
static |
Definition at line 79 of file chi_runtime.h.
|
static |
Definition at line 97 of file chi_runtime.h.
|
static |
Definition at line 100 of file chi_runtime.h.
|
static |
Definition at line 86 of file chi_runtime.h.
|
static |
Definition at line 88 of file chi_runtime.h.