Module conf
source code
Information about the configuration of solvcon.
SOLVCON will find each of the solvcon.ini files from current working directory
toward the root, and use their settings. Three settings are recognized in
[SOLVCON] section:
APPS: SOLVCON_APPS
LOGFILE: SOLVCON_LOGFILE
- PROJECT_DIR: SOLVCON_PROJECT_DIR. Can be set at empty, which indicates the
path where the configuration file locates.
Configurable environmental variables:
- SOLVCON_PROJECT_DIR: the directory holds the applications.
- SOLVCON_LOGFILE: filename for solvcon logfile.
- SOLVCON_APPS: names of the available applications, seperated with
semi-colon. There should be no spaces.
- SOLVCON_FPDTYPE: a string for the numpy dtype object for floating-point.
The default fpdtype to be used is float64 (double).
- SOLVCON_INTDTYPE: a string for the numpy dtype object for integer.
The default intdtype to be used is int32.
- SOLVCON_MPI: flag to use MPI.
|
|
Solvcon
The configuration singleton.
|
|
|
env = Solvcon()
|
|
|
__package__ = 'solvcon'
|