Mondaic
This API reference is not for the latest stable Salvus version.

salvus.flow.simple_config.simulation

Configurations for simulations of different physics.

Functions

from_dict()

def from_dict(
    dictionary: Dict, basic_init: bool = False
) -> salvus.flow.simple_config.simulation._base._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 salvus.flow.simple_config.simulation._base._BaseSimulation