8#ifndef FRME_COMPONENT_HH
9#define FRME_COMPONENT_HH
27 class H =
typename Datatype<F>::type>
37 : frm_(frm), comp_(
comp)
44 const Real p,
const Real t = 0.0)
const
46 F value = frm_(elm, p, t);
53 F value = frm_(elm, p, t);
60 F value = frm_(elm, p, t);
69 virtual std::ostream&
info(std::ostream &
os)
const {
71 <<
" of " << frm_ <<
")";
90 class H =
typename Datatype<F>::type>
109 const Real p,
const Real t = 0.0)
const
111 F value = frm_(elm, p, t);
112 return value(compRow_, compCol_);
118 F value = frm_(elm, p, t);
119 return value(compRow_, compCol_);
125 F value = frm_(elm, p, t);
126 return value(compRow_, compCol_);
134 virtual std::ostream&
info(std::ostream &
os)
const {
136 <<
", " << compCol_ <<
") of " << frm_ <<
")";
141 uint compRow_, compCol_;
virtual FrmE_Component_Matrix< F, G, H > * clone() const
Virtual copy constructor.
FrmE_Component_Matrix(const ElementFormulaContainer< F, G > &frm, const uint compRow, const uint compCol)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual H operator()(const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
virtual H operator()(const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual FrmE_Component< F, G, H > * clone() const
Virtual copy constructor.
FrmE_Component(const ElementFormulaContainer< F, G > &frm, const uint comp)
std::string typeOf(const T &t)
Set< F > makeSet(uint n, const F &first,...)