eit_forward.get_nproc

eit_forward.get_nproc(which: str = '') int[source]

return the number of process of a given simualtion step

Note

Simulation step are: nerve simulation, meshing and fem simulation

Parameters:

which (str, optional) – label of the step (“nerve”, “mesh” or “fem”) else or if corresponding n_proc attribute not set, n_proc_global is used, by default “”

Returns:

Number of processes.

Return type:

int