9#ifndef CONCEPTS_LAMBDAFORMULA
10#define CONCEPTS_LAMBDAFORMULA
12#if __cplusplus >= 201103L
15#include "elementFormula.hh"
39 template<
int CoordDim>
43 template<
int CoordDim>
48 template<
int ParamDim,
int Dim>
76 template<
class Derived,
class F>
96 template<
class Derived,
class F>
99 F operator() (detail::CoordinateParamT<1> p,
const Real t=0.)
const {
102 F operator() (detail::CoordinateParamT<2> p,
const Real t=0.)
const {
105 F operator() (detail::CoordinateParamT<3> p,
const Real t=0.)
const {
117 template<
int Dim,
class F = concepts::Real>
122 using FuncT = std::function<F(detail::CoordinateParamT<Dim>)>;
124 template<
class FuncParamT>
134 template<
int ParamDim>
135 F
impl_ (detail::CoordinateParamT<ParamDim> p,
const Real t)
const
148 template<
int Dim,
class F = concepts::Real>
153 using FuncT = std::function<F(
155 detail::CoordinateParamT<Dim>)>;
157 template<
class FuncParamT>
167 template<
int ParamDim>
169 detail::CoordinateParamT<ParamDim> p,
virtual Real3d elemMap(const Real coord_local) const
Element map from point local coordinates in 1D.
virtual const Cell & cell() const =0
Returns the cell on which the element is built.
Set< F > makeSet(uint n, const F &first,...)