fluidsim_core.info

Info solver

Container to encode the solver class hierarchy.

fluidsim_core.info.create_info_simul(info_solver, params)[source]

Create a ParamContainer instance gathering info_solver and params.

class fluidsim_core.info.InfoSolverCore(only_root=False, **kargs)[source]

Bases: ParamContainer

Contain the information on a solver.

Parameters:
only_root: bool (False)

If True, only initialize the root level.

Attributes:
_modificators: list

List of functions modifying the instance at the end of __init__.

_extenders: list

List of extenders (see fluidsim_core.extend_simul).

_set_attrib(key, value)[source]

Add an attribute to the container.

import_classes()[source]

Import the classes and return a dictionary.

complete_with_classes()[source]

Populate info solver by executing _complete_info_solver class methods

Functions

create_info_simul(info_solver, params)

Create a ParamContainer instance gathering info_solver and params.

Classes

InfoSolverCore([only_root])

Contain the information on a solver.