Represent functions written in cylindrical coordinates that are independent of the angle phi serving as both 2d and 3d functions.
More...
template<class Derived>
struct dg::geo::aCylindricalFunctor< Derived >
Represent functions written in cylindrical coordinates that are independent of the angle phi serving as both 2d and 3d functions.
The rational is that these functors can serve as both 2d and 3d functors where the 3d functor trivially redirects to the 2d version. This behaviour is injected into all classes that derive from this class via the Curiously Recurring Template Pattern (CRTP).
- See also
aCylindricalFunctor
-
An alternative is
RealCylindricalFunctor
- Template Parameters
-
Derived | Interface: double do_compute(double,double) const |