autopdex.SimState.prepare

SimState.prepare(clean_up: bool = True)[source]

Prepare the initialized simulation for run(…).

With clean_up=True, mesh/FE construction data and initialization-only caches are released after the runtime data has been materialized.