Mondaic

salvus.flow.simple_config.simulation

salvus.flow.simple_config.simulation salvus flow simple_config simulation

Configurations for simulations of different physics.

Functions

from_dict()

def from_dict(
    dictionary: dict, basic_init: bool = False
) -> _BaseSimulation: ...

Create a simulation object from a dictionary.

Parameters
  • dictionary dict — The dictionary.
  • basic_init bool — If False, it will attempt to read the mesh, otherwise a basic initialization will done for the simulation objects.
Returns _BaseSimulation

Used in tutorials