39 bool transpose =
false)
46 const Real p,
const Real t = 0.0)
const
48 return compute_(elm, p, t);
54 return compute_(elm, p, t);
60 return compute_(elm, p, t);
68 virtual std::ostream&
info(std::ostream &
os)
const {
79 const H& p,
const Real t = 0.0)
const
85 for(
uint i = 0; i < dim; ++i)
86 for(
uint j = 0; j < dim; ++j)
87 m(i,j) =
point[i+j*dim];
89 for(
uint i = 0; i < dim; ++i)
90 for(
uint j = 0; j < dim; ++j)
91 m(i,j) =
point[j+i*dim];
104 template<
class F,
class G>
110 bool transpose =
false) :
111 frm1_(
frm1), frm2_(
frm2), transpose_(transpose) {}
116 const Real p,
const Real t = 0.0)
const
118 const Mapping<F,2> m(frm1_(elm, p, t), frm2_(elm, p, t));
125 const Mapping<F,2> m(frm1_(elm, p, t), frm2_(elm, p, t));
132 const Mapping<F,2> m(frm1_(elm, p, t), frm2_(elm, p, t));
141 virtual std::ostream&
info(std::ostream &
os)
const {
143 <<
", transpose = " << transpose_ <<
")";
164 const Real p,
const Real t = 0.0)
const
166 return frm_(elm, p, t).trace();
172 return frm_(elm, p, t).trace();
178 return frm_(elm, p, t).trace();
186 virtual std::ostream&
info(std::ostream &
os)
const {
virtual Mapping< F, dim > operator()(const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
virtual FrmE_PointToMapping< dim, F, G > * clone() const
Virtual copy constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
FrmE_PointToMapping(const ElementFormulaContainer< Point< F, dim *dim >, G > &frm, bool transpose=false)
Constructor.
virtual FrmE_PointsToMapping< 2, F, G > * clone() const
Virtual copy constructor.
FrmE_PointsToMapping(const ElementFormulaContainer< Point< F, 2 >, G > frm1, const ElementFormulaContainer< Point< F, 2 >, G > frm2, bool transpose=false)
Constructor with two vectors.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual F operator()(const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
FrmE_Trace(const ElementFormulaContainer< Mapping< F, dim >, G > frm)
Constructor with an element formula giving back a mapping.
virtual FrmE_Trace< dim, F, G > * clone() const
Virtual copy constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Mapping< F, DimX, DimY > transpose() const
Returns the transpose of the matrix.
#define DEBUGL(doit, msg)
std::string typeOf(const T &t)
Set< F > makeSet(uint n, const F &first,...)