fluidsim.base.params

Information on a solver (fluidsim.base.params)

Provides:

class fluidsim.base.params.Parameters(tag=None, attribs=None, path_file=None, elemxml=None, hdf5_object=None, doc='', parent=None)[source]

Bases: fluiddyn.util.paramcontainer.ParamContainer

Contain the parameters.

classmethod _create_params(input_info_solver)[source]

Create a Parameters instance from an InfoSolverCore instance.

classmethod _load_params_simul(path=None, only_mpi_rank0=True)[source]

Load the parameters and return a Parameters instance.

classmethod _load_info_solver(path_dir=None)[source]

Load the solver information, return an InfoSolverCore instance.

Functions

fix_old_params(params)

Fix old parameters with depreciated values.

merge_params(to_params, *other_params)

Merges missing parameters attributes and children of a typical Simulation object’s parameters when compared to other parameters.