6#ifndef formulaFromWeight2D_hh
7#define formulaFromWeight2D_hh
19#define FormulaFromWeightConstr_D 0
20#define FormulaFromWeightAppl_D 0
31 template<
typename Weight = TrivialWeight>
40 const Real t = 0.0)
const;
43 const Real t = 0.0)
const;
46 const Real t = 0.0)
const;
54 template<
typename Weight>
57 weight_(), singularities_(singularities) {
58 DEBUGL(FormulaFromWeightConstr_D,
"weight is " <<
typeid(weight_).name());
59 DEBUGL(FormulaFromWeightConstr_D,
"singularities: " << singularities_);
62 template<
typename Weight>
70 template<
typename Weight>
71 Real FormulaFromWeight<Weight>::operator()
74 const Quad<Real>* quad =
dynamic_cast<const Quad<Real>*
>(&elm);
76 DEBUGL(FormulaFromWeightAppl_D,
"p = " << p <<
", singularities = "
78 return weight_(singularities_, p, quad);
81 template<
typename Weight>
82 Real FormulaFromWeight<Weight>::operator()
85 const Quad<Real>* quad =
dynamic_cast<const Quad<Real>*
>(&elm);
#define conceptsAssert(cond, exc)
#define DEBUGL(doit, msg)