utils.py¶
Parameters
dataclass
¶
Parameters(
growth_model: SimplifiedDomanyKinzel,
dim: D1,
n_x: int,
n_y: int,
n_z: int,
p_1: float,
p_2: float,
n_iterations: int,
sample_period: int,
initial_condition: Randomized,
p_initial: float,
random_seed: int,
topology_x: Topology,
topology_y: Topology,
topology_z: Topology,
bcs_x: tuple[BoundaryCondition, BoundaryCondition],
bcs_y: tuple[BoundaryCondition, BoundaryCondition],
bcs_z: tuple[BoundaryCondition, BoundaryCondition],
bc_values_x: tuple[bool, bool],
bc_values_y: tuple[bool, bool],
bc_values_z: tuple[bool, bool],
do_edge_buffering: bool,
processing: Processing,
n_threads: int,
)
Dummy declaration: shadows definition in Rust.
Used by:
- Technical info Python modules
DUAL
¶
postprocessing
¶
Source code in dprs/utils.py
make_title
¶
make_title(
parameters: Parameters, i_slice: int | None = None, z_slice: int | None = None
)
Generate a string summarizing the sim for entitling plots.
Source code in dprs/utils.py
make_name
¶
make_name(parameters: Parameters, variable: str, i_slice: int | None = None)
Generate a string summarizing the sim for file naming.