DUNE-ACFEM (2.5.1)
maxfunction.hh
19 typename GridFunction2::FunctionSpaceType>::value, "Functions have different FunctionSpaceType");
120 LocalFunctionWrapper<LocalMaxAdapter<GridFunction1, GridFunction2>, typename GridFunction1::GridPartType>
129 return LocalFunctionWrapper<LocalMaxAdapter<GridFunction1, GridFunction2>, typename GridFunction1::GridPartType>
130 (local.name(), local, f1_.space().gridPart(), std::max(f1_.space().order(), f2_.space().order()));
137 LocalFunctionWrapper<LocalMaxAdapter<GridFunction1, ConstantGridFunction< typename GridFunction1::FunctionSpaceType, typename GridFunction1::GridPartType> >, typename GridFunction1::GridPartType>
142 typedef ConstantGridFunction< typename GridFunction1::FunctionSpaceType, typename GridFunction1::GridPartType> GridFunction2;
147 return LocalFunctionWrapper<LocalMaxAdapter<GridFunction1, GridFunction2>, typename GridFunction1::GridPartType>
148 (local.name(), local, f1_.space().gridPart(), std::max(f1_.space().order(), f2_.space().order()));
ConstantGridFunction implements a constant function.
Definition: constantfunction.hh:108
LocalFunctionWrapper wraps a class with a local evaluate method into a grid function.
Definition: localfunctionwrapper.hh:71
An adapter class to compute the (pointwise) maximum of two scalar GridFunctions.
Definition: maxfunction.hh:17
LocalFunctionWrapper< LocalMaxAdapter< GridFunction1, GridFunction2 >, typename GridFunction1::GridPartType > max(const Fem::Function< typename GridFunction1::FunctionSpaceType, GridFunction1 > &f1, const Fem::Function< typename GridFunction2::FunctionSpaceType, GridFunction2 > &f2, const std::string &name="")
Pointwise maximum of two given functions.
Definition: maxfunction.hh:121
LocalFunctionWrapper< LocalMaxAdapter< GridFunction1, ConstantGridFunction< typename GridFunction1::FunctionSpaceType, typename GridFunction1::GridPartType > >, typename GridFunction1::GridPartType > max(const Fem::Function< typename GridFunction1::FunctionSpaceType, GridFunction1 > &f1, const typename GridFunction1::FunctionSpaceType::RangeType value2, const std::string &name="")
Pointwise maximum of two given functions where one is given by a RangeType value.
Definition: maxfunction.hh:138
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)