fluidsim.base.init_fields

Initialisation of the fields (fluidsim.base.init_fields)

Provides:

class fluidsim.base.init_fields.InitFieldsBase(sim)[source]

Bases: object

Initialization of the fields (base class).

static _complete_info_solver(info_solver, classes=None)[source]

Static method to complete the ParamContainer info_solver.

Parameters
info_solverfluiddyn.util.paramcontainer.ParamContainer
classesiterable of classes (SpecificInitFields)

If a class has the same tag of a default class, it replaces the default one (for example with the tag ‘noise’).

static _complete_params_with_default(params, info_solver)[source]

This static method is used to complete the params container.

Classes

InitFieldsBase(sim)

Initialization of the fields (base class).

InitFieldsConstant(sim)

InitFieldsFromFile(sim)

InitFieldsFromSimul(sim)

InitFieldsInScript(sim)

InitFieldsNoise(sim)

Initialize the state with noise.

SpecificInitFields(sim)