WallGo.config.Config

class Config(configGrid=<factory>, configEOM=<factory>, configHydrodynamics=<factory>, configThermodynamics=<factory>, configBoltzmannSolver=<factory>)[source]

Bases: object

Data class that holds all the model-independent configs. It contains objects of the data classes ConfigGrid, ConfigEOM, ConfigEffectivePotential, ConfigHydrodynamics, ConfigThermodynamics and ConfigBoltzmannSolver. It can also load the configs from an .ini file.

Parameters:
__init__(configGrid=<factory>, configEOM=<factory>, configHydrodynamics=<factory>, configThermodynamics=<factory>, configBoltzmannSolver=<factory>)
Parameters:
Return type:

None

Methods

__init__([configGrid, configEOM, ...])

loadConfigFromFile(filePath)

Load the configs from a file.

Attributes

configGrid

Holds the config of the Grid3Scales class.

configEOM

Holds the config of the EOM class.

configHydrodynamics

Holds the config of the Hydrodynamics class.

configThermodynamics

Holds the config of the Thermodynamics class.

configBoltzmannSolver

Holds the config of the BoltzmannSolver class.

configBoltzmannSolver: ConfigBoltzmannSolver

Holds the config of the BoltzmannSolver class.

configEOM: ConfigEOM

Holds the config of the EOM class.

configGrid: ConfigGrid

Holds the config of the Grid3Scales class.

configHydrodynamics: ConfigHydrodynamics

Holds the config of the Hydrodynamics class.

configThermodynamics: ConfigThermodynamics

Holds the config of the Thermodynamics class.

loadConfigFromFile(filePath)[source]

Load the configs from a file.

Parameters:

filePath (str) – Path of the file where the configs are.

Return type:

None