In deal.II 9.6.0 only EvaluationFlags::EvaluationFlags are support for the evaluate() and integrate() functions.
Previously, we used a vector of bools for the values, gradients, hessians, etc... Switching to evaluation flags reduces the bulkiness and repetitiveness of the code. For example it was:
// Case if the dependency is x
if (dependency == variable)
{
evaluation_flags[dependency_variable_index] |=
dealii::EvaluationFlags::values;
dependency_entry_assigned = true;
}
I also cleaned up EquationDependencyParser.cc while I was at it.
With this, PRISMS-PF is now compatible with deal.II 9.6.0
In deal.II 9.6.0 only
EvaluationFlags::EvaluationFlags
are support for theevaluate()
andintegrate()
functions.Previously, we used a vector of bools for the values, gradients, hessians, etc... Switching to evaluation flags reduces the bulkiness and repetitiveness of the code. For example it was:
Using evaluation flags it becomes:
I also cleaned up
EquationDependencyParser.cc
while I was at it.With this, PRISMS-PF is now compatible with deal.II 9.6.0