explicitResidual.hh
Go to the documentation of this file.
67 ExplicitResidual(const SpaceOnCells<F>& spc,const Vector<F>& sol, const ElementFormulaContainer<F> res):
85 virtual void computeError_(const ElementFormulaContainer<F>& res, HashMap<Real>& jumpResidual) = 0 ;
113 virtual void computeError_(const concepts::ElementFormulaContainer<F>& res, concepts::HashMap<Real>& jumpResidual);
176 // DIAM_HP : residual type variant introduced by melenk and wohlmuth with the help of weighted norms
241 virtual F operator() (const concepts::ElementWithCell<typename concepts::Realtype<F>::type>& elm, const concepts::Real p,const concepts::Real t = 0.0) const{
246 virtual F operator() (const concepts::ElementWithCell<typename concepts::Realtype<F>::type>& elm, const concepts::Real2d& p,const concepts::Real t = 0.0) const{
258 virtual F operator() (const concepts::ElementWithCell<typename concepts::Realtype<F>::type>& elm, const concepts::Real3d& p,const concepts::Real t = 0.0) const{
298 virtual F operator() (const concepts::ElementWithCell<typename concepts::Realtype<F>::type>& elm, const concepts::Real p,const concepts::Real t = 0.0) const{
304 virtual F operator() (const concepts::ElementWithCell<typename concepts::Realtype<F>::type>& elm, const concepts::Real2d& p,const concepts::Real t = 0.0) const{
310 virtual F operator() (const concepts::ElementWithCell<typename concepts::Realtype<F>::type>& elm, const concepts::Real3d& p,const concepts::Real t = 0.0) const{
354 virtual void computeError_(const concepts::ElementFormulaContainer<F>& res, concepts::HashMap<Real>& jumpResidual);
379 // ExplicitResidual3D(const concepts::SpaceOnCells<F>& spc, const concepts::Vector<F>& sol, const concepts::ElementFormula<F>& res);
void addHNData(const Set< uint > &nSet)
Add attributes for homogen neumann boundary conditions.
Definition: explicitResidual.hh:41
virtual ~ExplicitResidual()
Definition: explicitResidual.hh:25
void compute()
Sequence< Set< uint > > iNAttrbs_
Definition: explicitResidual.hh:79
virtual F operator()(const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &elm, const concepts::Real p, const concepts::Real t=0.0) const
Definition: explicitResidual.hh:241
virtual ExplicitResidual2D< F > * clone() const
Virtual constructor.
Definition: explicitResidual.hh:332
Weight class for 1d Elements.
Definition: explicitResidual.hh:292
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: explicitResidual.hh:269
virtual void computeJumpPart_(HashMap< Real > &jumpResidual) const =0
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: explicitResidual.hh:335
ExplicitResidual2D(const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol, const concepts::ElementFormulaContainer< F > res, const concepts::ElementFormulaContainer< F > *a=0, bool square=false, enum weight w=DIAM, Real alpha=0)
Constructor of the 2d explicit residual a posteriori Error estimator.
virtual void computeError_(const concepts::ElementFormulaContainer< F > &res, concepts::HashMap< Real > &jumpResidual)
const ElementFormulaContainer< F > res_
Definition: explicitResidual.hh:74
Sequence< ElementFormulaContainer< F > > frms_
Definition: explicitResidual.hh:77
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
const concepts::ElementFormulaContainer< F > * a_
Definition: explicitResidual.hh:344
virtual ExplicitResidual< F > * clone() const =0
Virtual constructor.
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
virtual const Real operator()() const
Definition: explicitResidual.hh:330
ExplicitResidual1D(const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol, const concepts::ElementFormulaContainer< F > &res)
ExplicitResidual(const SpaceOnCells< F > &spc, const Vector< F > &sol, const ElementFormulaContainer< F > res)
Constructur of the explicit residual a posteriori error estimator.
Definition: explicitResidual.hh:67
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: explicitResidual.hh:321
EdgeWeight(Real alpha=0)
Definition: explicitResidual.hh:296
virtual ~ExplicitResidual1D()
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
concepts::Set< uint > allNattrb_
Definition: explicitResidual.hh:352
virtual ~EdgeWeight()
Definition: explicitResidual.hh:318
Definition: explicitResidual.hh:100
virtual void computeJumpPart_(concepts::HashMap< Real > &jumpResidual) const
Definition: explicitResidual.hh:21
virtual void computeError_(const ElementFormulaContainer< F > &res, HashMap< Real > &jumpResidual)=0
Distance(Real alpha=0)
Definition: explicitResidual.hh:239
virtual void computeError_(const concepts::ElementFormulaContainer< F > &res, concepts::HashMap< Real > &jumpResidual)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: explicitResidual.hh:70
void addINData(const Set< uint > &nSet, concepts::ElementFormulaContainer< F > frm)
Add inhomogen Neumanndata if exist.
Definition: explicitResidual.hh:33
virtual void computeJumpPart_(concepts::HashMap< Real > &jumpResidual) const
virtual F operator()(const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &elm, const concepts::Real p, const concepts::Real t=0.0) const
Definition: explicitResidual.hh:298
virtual ~ExplicitResidual2D()
Definition: explicitResidual.hh:215