estimator::LocalProjections_P< dim, F, H > Class Template Referenceabstract
#include <buergDoerfler.hh>
Public Types | |
typedef concepts::Point< F, dim > | value_type |
Public Member Functions | |
virtual LocalProjections_P< dim, F, H > * | clone () const |
Virtual copy constructor. More... | |
virtual ElementFormula< concepts::Point< F, dim >, typename concepts::Realtype< F >::type > * | clone () const=0 |
Virtual copy constructor. More... | |
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. More... | |
LocalProjections_P (const LocalProjections_P< dim, F, H > &frm) | |
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 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 ElementWithCell< typename concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual concepts::Point< F, dim > | operator() (const ElementWithCell< typename concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual concepts::Point< F, dim > | operator() (const ElementWithCell< typename concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual | ~LocalProjections_P () |
Protected Member Functions | |
void | addH4_ (const concepts::HashMap< const hp2D::Quad< typename concepts::Realtype< F >::type > * > &source, LocalMesh2 &locMsh, const concepts::Vector< F > &sol) |
void | addP1ISO_ (const concepts::HashMap< const hp2D::Quad< typename concepts::Realtype< F >::type > * > &source, LocalMesh2 &locMsh, const concepts::Vector< F > &sol) |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
concepts::HashMap< concepts::Array< F > > | coeffs_ |
__gnu_cxx::hash_map< uint, PointProjection > | data_ |
enum pattern | pat_ |
Private Attributes | |
std::auto_ptr< concepts::ElementFunction< F, H > > | f_ |
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
|
inherited |
Definition at line 37 of file elementFormula.hh.
Constructor & Destructor Documentation
◆ LocalProjections_P() [1/2]
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> >
◆ LocalProjections_P() [2/2]
estimator::LocalProjections_P< dim, F, H >::LocalProjections_P | ( | const LocalProjections_P< dim, F, H > & | frm | ) |
◆ ~LocalProjections_P()
|
virtual |
Member Function Documentation
◆ addH4_()
|
protectedinherited |
◆ addP1ISO_()
|
protectedinherited |
◆ clone() [1/2]
|
inlinevirtual |
Virtual copy constructor.
Implements concepts::Cloneable.
Definition at line 249 of file buergDoerfler.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual copy constructor.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ operator()() [1/6]
|
virtual |
◆ operator()() [2/6]
|
virtual |
◆ operator()() [3/6]
|
virtual |
◆ operator()() [4/6]
|
pure virtualinherited |
Evaluates the formula.
- Parameters
-
elm Element p Point in space in local element coordinates t Point in time
◆ operator()() [5/6]
|
pure virtualinherited |
Evaluates the formula.
- Parameters
-
elm Element p Point in space in local element coordinates t Point in time
◆ operator()() [6/6]
|
pure virtualinherited |
Evaluates the formula.
- Parameters
-
elm Element p Point in space in local element coordinates t Point in time
Member Data Documentation
◆ coeffs_
|
protectedinherited |
Definition at line 105 of file buergDoerfler.hh.
◆ data_
|
protectedinherited |
Definition at line 148 of file buergDoerfler.hh.
◆ f_
|
private |
Definition at line 257 of file buergDoerfler.hh.
◆ pat_
|
protectedinherited |
Definition at line 105 of file buergDoerfler.hh.
The documentation for this class was generated from the following file:
- estimator/buergDoerfler.hh