8#ifndef vectorelementformula_hh
9#define vectorelementformula_hh
31 for(
int i=0; i < dim; ++i)
52 const Real t = 0.0)
const
55 for (
int i=0; i < dim; ++i)
56 ret[i] = !formulas_[i].empty() ? formulas_[i](elm, p, t) : F(0);
61 const Real t = 0.0)
const
64 for (
int i=0; i < dim; ++i)
65 ret[i] = !formulas_[i].empty() ? formulas_[i](elm, p, t) : F(0);
71 const Real t = 0.0)
const
74 for (
int i=0; i < dim; ++i)
75 ret[i] = !formulas_[i].empty() ? formulas_[i](elm, p, t) : F(0);
88 : formulas_(
other.formulas_)
92 virtual ~VectorElementFormulaBase() { }
94 const std::vector<ElementFormulaContainer<F, G> >& getFormulas()
107 std::vector<ElementFormulaContainer<F, G> > formulas_;
109 virtual std::ostream&
info(std::ostream&
os)
const {
111 for (
int i=0; i < dim; ++i) {
112 if (!formulas_[i].empty())
113 os << formulas_[i].frm();
131 template<
typename F,
typename G>
152 template<
typename F,
typename G>
#define conceptsAssert(cond, exc)
std::string typeOf(const T &t)
Set< F > makeSet(uint n, const F &first,...)