Extension of P2Function::getMaxValue() and others
The three member functions
- getMaxValue()
- getMinValue()
- getMaxMagnitude() of the P2Function class now allow to pass a bool mpiReduce. If this is false no communication happens and each process returns its local value.
Rationale:
- The interface is now consistenct with that of VertexDoFFunction and EdgeDoFFunctions.
- Change fixes the problem that, so far, we could not instantiate P2VectorFunction::getMaxMagnitude()
Commit additionally changes P2VectorFunction::getMaxComponentMagnitude() so that only one MPI communication step instead of dim is required. It also extends the VectorFunctionBasicTest to check that instantiation works.