Class documentation of Concepts

Loading...
Searching...
No Matches
estimator::LocalProjections_P< dim, F, H > Class Template Referenceabstract
Inheritance diagram for estimator::LocalProjections_P< dim, F, H >:
estimator::LocalProjectionBase< F, H > concepts::ElementFormula< F, G > concepts::OutputOperator concepts::Cloneable concepts::OutputOperator

Public Types

typedef F value_type
 

Public Member Functions

 LocalProjections_P (const enum pattern pat, const concepts::HashMap< const hp2D::Quad< H > * > &source, LocalMesh2 &locMsh, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, H > &f)
 
 LocalProjections_P (const LocalProjections_P< dim, F, H > &frm)
 
virtual concepts::Point< F, dim > operator() (const concepts::ElementWithCell< H > &elm, const Real p, const Real t=0.0) const
 
virtual concepts::Point< F, dim > operator() (const concepts::ElementWithCell< H > &elm, const concepts::Real2d &p, const Real t=0.0) const
 
virtual concepts::Point< F, dim > operator() (const concepts::ElementWithCell< H > &elm, const concepts::Real3d &p, const Real t=0.0) const
 
virtual LocalProjections_P< dim, F, H > * clone () const
 Virtual copy constructor.
 
virtual F operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const =0
 
virtual F operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const =0
 
virtual F operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const =0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
void addH4_ (const concepts::HashMap< const hp2D::Quad< H > * > &source, LocalMesh2 &locMsh, const concepts::Vector< F > &sol)
 
void addP1ISO_ (const concepts::HashMap< const hp2D::Quad< H > * > &source, LocalMesh2 &locMsh, const concepts::Vector< F > &sol)
 

Protected Attributes

concepts::HashMap< concepts::Array< F > > coeffs_
 
enum pattern pat_
 
__gnu_cxx::hash_map< uint, PointProjectiondata_
 

Detailed Description

template<uint dim, class F, class H = typename concepts::Realtype<F>::type>
class estimator::LocalProjections_P< dim, F, H >

Definition at line 204 of file buergDoerfler.hh.

Member Typedef Documentation

◆ value_type

template<typename F , typename G = typename Realtype<F>::type>
typedef F concepts::ElementFormula< F, G >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ LocalProjections_P()

template<uint dim, class F , class H = typename concepts::Realtype<F>::type>
estimator::LocalProjections_P< dim, F, H >::LocalProjections_P ( const enum pattern  pat,
const concepts::HashMap< const hp2D::Quad< H > * > &  source,
LocalMesh2 locMsh,
const concepts::Vector< F > &  sol,
const concepts::ElementFunction< F, H > &  f 
)

Constructor sources are the original elements that i.e. have unique keys. The local mesh must consists of (topologic and geomentric) clones (i.e. the same key), of that elements, that may have direct childs (no enkel ..)

The localprojection then builds a child to father relationship, that is used to determine while application operators are called, how to project the Elementfunction (of original elements solution) onto the child cells

This is indeed equivalent to nested space use and also could be handles with S matrices and its prolongation. This is avoided increase Speed.

TODO: locMsh überdenken, bei wichtiger reihenfolge ist das hier egal

Elementfunction is Q :

For Grad Q = quad2d for value Q = Real usw

use template<uint dim, typename F = Real, typename Q = Quad<Real> >

Member Function Documentation

◆ clone()

template<uint dim, class F , class H = typename concepts::Realtype<F>::type>
virtual LocalProjections_P< dim, F, H > * estimator::LocalProjections_P< dim, F, H >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 249 of file buergDoerfler.hh.

◆ info()

template<uint dim, class F , class H = typename concepts::Realtype<F>::type>
virtual std::ostream & estimator::LocalProjections_P< dim, F, H >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/3]

◆ operator()() [2/3]

◆ operator()() [3/3]

Member Data Documentation

◆ coeffs_

template<class F , class H = typename concepts::Realtype<F>::type>
concepts::HashMap<concepts::Array<F> > estimator::LocalProjectionBase< F, H >::coeffs_
protectedinherited

Definition at line 105 of file buergDoerfler.hh.

◆ data_

template<class F , class H = typename concepts::Realtype<F>::type>
__gnu_cxx::hash_map<uint, PointProjection> estimator::LocalProjectionBase< F, H >::data_
protectedinherited

Definition at line 148 of file buergDoerfler.hh.

◆ pat_

template<class F , class H = typename concepts::Realtype<F>::type>
enum pattern estimator::LocalProjectionBase< F, H >::pat_
protectedinherited

Definition at line 108 of file buergDoerfler.hh.


The documentation for this class was generated from the following file: