50 const std::map<unsigned int, variableAttributes> &var_attributes)
54 bool only_time_independent_pdes =
true;
55 for (
const auto &[index, variable] : var_attributes)
57 if (variable.is_postprocess)
61 if (variable.pde_type == PDEType::EXPLICIT_TIME_DEPENDENT ||
62 variable.pde_type == PDEType::IMPLICIT_TIME_DEPENDENT)
64 only_time_independent_pdes =
false;
68 if (only_time_independent_pdes)
77 "The timestep must be greater than zero for transient problems."));
80 final_time = std::max(final_time, dt * total_increments);
81 total_increments =
static_cast<unsigned int>(std::ceil(final_time / dt));
void postprocess_and_validate(const std::map< unsigned int, variableAttributes > &var_attributes)
Postprocess and validate parameters.
Definition temporal_discretization.h:49