implicitResidual.hh
Go to the documentation of this file.
280 void setErrorNorm(concepts::ElementFunction<F>& func, const concepts::ElementFormula<F>* w = 0, Real s = 1.0){
362 const hp2D::hpAdaptiveSpaceH1* spc =dynamic_cast<const hp2D::hpAdaptiveSpaceH1*> (&(this->spc_));
531 throw conceptsException(concepts::MissingFeature("Local problem seems not to be solveable, not supported"));
598 // ExplicitResidual3D(const concepts::SpaceOnCells<F>& spc, const concepts::Vector<F>& sol, const concepts::ElementFormula<F>& res);
virtual uint index(const uint i) const =0
Maps the local index i to the global index.
concepts::Sequence< const concepts::ElementFormula< F > * > norm_ws_
Definition: implicitResidual.hh:329
concepts::Sequence< concepts::BilinearForm< F > * > bforms_
Definition: implicitResidual.hh:317
Definition: hpAdaptiveSpaceH1.hh:63
concepts::Sequence< uint > norm_d_
Definition: implicitResidual.hh:331
virtual void computeError_()
Definition: implicitResidual.hh:341
const concepts::Vector< F > & sol_
Definition: implicitResidual.hh:339
concepts::Sequence< concepts::Set< uint > > gAttrbs_
Definition: implicitResidual.hh:144
virtual const Real operator()() const
Definition: implicitResidual.hh:301
Definition: buergDoerfler.hh:18
virtual uint nelm() const
Returns the number of NeumannTraceElements in the Space.
Definition: neumannTraceSpace.hh:136
virtual const ushort * innerDof(const concepts::Connector2 &cntr) const
Returns a pointer to the maximal polynomial degrees of the inner degree of freedom in the cell quad.
void add(const Set< Attribute > &attrib, const Boundary &bcObject)
Adds a boundary condition with this attribute to the list of boundary conditions.
Real L2product(const ElementWithCell< G > &elm, const ElementFormula< F, G > &u, const ElementFormula< Real > *c=0, const Real t=0.0, IntegrationCell::intFormType form=IntegrationCell::ZERO)
Returns the L2 product or with c weighted L2 product of an element formula u over the cell belonging ...
Definition: integral.hh:214
Class for holding a general mutable mesh of 2D cell where cells and other 2D meshes can be added.
Definition: mutableMesh.hh:142
concepts::Sequence< Real > lws_
Definition: implicitResidual.hh:322
A the NeumannTrace space of a given 2D - Finite Element space.
Definition: neumannTraceSpace.hh:51
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
virtual ImplicitResidual< F > * clone() const =0
virtual std::ostream & info(std::ostream &os) const
Definition: implicitResidual.hh:129
Abstract class representing the implicit residual a posteriori error estimator.
Definition: implicitResidual.hh:37
concepts::Sequence< concepts::ElementFunction< F > * > norm_fs_
Definition: implicitResidual.hh:328
void addInto(Matrix< H > &dest, const I fact, const uint rowoffset=0, const uint coloffset=0) const
This matrix is added as block to the given matrix dest.
Definition: sparseMatrix.hh:538
#define DEBUGL(doit, msg)
ImplicitResidual(const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol)
Constructur of the explicit residual a posteriori error estimator.
Definition: implicitResidual.hh:125
const concepts::SubspaceHelper< F, SpacePreBuilder > & helper() const
Definition: hpAdaptiveSpace.hh:89
void addLhs(concepts::BilinearForm< F > &bform, Real w=1.0)
Definition: implicitResidual.hh:255
Vectorial formula created from a FE function.
Definition: elementFormula.hh:145
concepts::Sequence< Real > norm_s_
Definition: implicitResidual.hh:330
void addBoundaryData(const concepts::Set< uint > &rSet, const concepts::ElementFormula< F > &h1, const concepts::ElementFormula< F > &h2)
Add boundary informations (i.e.
Definition: implicitResidual.hh:98
concepts::Sequence< concepts::LinearForm< F > * > lforms_
Definition: implicitResidual.hh:321
ImplicitResidual2D(const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol, const concepts::ElementFormula< F > *a=0)
Constructor of the 2d implicit residual a posteriori Error estimator.
Definition: implicitResidual.hh:234
void rebuild(bool sameIndices=false)
Rebuilds the mesh and the elements due to adjustment orders.
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
virtual std::ostream & info(std::ostream &os) const
Definition: implicitResidual.hh:307
virtual const TMatrixBase< F > & T() const =0
Returns the T matrix of the element.
virtual Scan * scan() const
Returns a scanner to iterate over the elements of the space.
Definition: hpAdaptiveSpace.hh:263
void setErrorNorm(concepts::ElementFunction< F > &func, const concepts::ElementFormula< F > *w=0, Real s=1.0)
Definition: implicitResidual.hh:280
concepts::Set< uint > eAttrbs_
Definition: implicitResidual.hh:148
void addBoundaryData(const concepts::Set< uint > &nSet, const concepts::ElementFormula< F > &g)
Add boundary informations (i.e.
Definition: implicitResidual.hh:64
concepts::Sequence< const concepts::ElementFormula< F > * > g_
Definition: implicitResidual.hh:142
virtual ImplicitResidual2D< F > * clone() const
Definition: implicitResidual.hh:303
virtual Scan * scan() const
Returns a scanner to iterate over the elements of the space.
Definition: traces.hh:97
const concepts::ElementFormula< F > * a_
Definition: implicitResidual.hh:314
virtual void addCell(Cell *cell, bool holding=true)
Adds a cell to the mesh, which is by default hold by this object and will be deleted by its destructo...
Definition: element.hh:80
void addRhs(concepts::LinearForm< F > &lform, Real w=1.0)
Definition: implicitResidual.hh:249