8#ifndef hp2dntelement_hh
9#define hp2dntelement_hh
41template<
class F = Real>
68 virtual std::ostream&
info(std::ostream& os)
const {
84 coarseCell((mp) ? mp->coarseCell : 0) {
92 coarseCell(coarseCellpart), t0(t0), t1(t1) {
116 const mapPart* coarseCell = 0);
174 virtual std::ostream&
info(std::ostream& os)
const;
179 mutable std::unique_ptr<concepts::ShapeFunction1D<Real> > shpfct_;
const Real * values() const
Returns the values of the shape functions.
uint n() const
Returns the number of shape functions.
Real * values_
Values of the shape functions.
ShapeFunction1D(const uint n, const uint nP)
virtual const concepts::EdgeNd & cell() const
Returns the cell on which the element is built.
NTShapeFunction(const uint N, const uint nP, Real *values)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual const concepts::ShapeFunction1D< Real > * shpfct() const
Returns the shape functions.
void addElement(const hp2D::Quad< Real > &quad, uint k, Real weight=1.0)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
NeumannTraceElement(const concepts::EdgeNd &cell, uint p, const mapPart *coarseCell=0)
void addIrrElement(const hp2D::Quad< Real > &coarseQuad, uint k_coarse, Real weight)
virtual void recomputeShapefunctions()
virtual const concepts::TMatrix< F > & T() const
Returns the T matrix of the element.
void computeShpfctVals(const concepts::Array< Real > &xP, concepts::Array< Real > &val) const
const concepts::Sequence< UnderlyingElement > & uelm() const
std::string typeOf(const T &t)