|
FEAT 3
Finite Element Analysis Toolbox
|
Restricted Element-Wise Projection operator. More...
#include <rew_projector.hpp>
Public Types | |
| enum class | WeightType { arithmetic = 0 , volume } |
| Weighting type enumeration. More... | |
Static Public Member Functions | |
| template<typename DT_ , typename IT_ , typename Function_ , typename Space_ , typename CubatureFactory_ > | |
| static void | project (LAFEM::DenseVector< DT_, IT_ > &vector, const Function_ &function, const Space_ &space, const CubatureFactory_ &cubature_factory, WeightType weight_type=WeightType::volume) |
| Projects an analytic function into a finite element space. More... | |
Restricted Element-Wise Projection operator.
This class template implements the "restricted element-wise projection" operator which projects an (analytic) function into a Finite-Element space by performing weighted element-wise L2-projections.
Definition at line 27 of file rew_projector.hpp.
|
strong |
Weighting type enumeration.
| Enumerator | |
|---|---|
| arithmetic | use arithmetic averaging |
| volume | use volume-based averaging |
Definition at line 33 of file rew_projector.hpp.
|
inlinestatic |
Projects an analytic function into a finite element space.
| [out] | vector | A transient reference to the coefficient vector that is to be assembled. The vector is automatically allocated by this function, so it does not need to be allocated beforehand. |
| [in] | function | A transient reference to an object implementing the AnalyticFunction interface capable of computing function values. |
| [in] | space | A transient reference to the space to which to project into. |
| [in] | cubature_factory | A cubature factory to be used for integration. |
| [in] | weight_type | The weighting type to be used. |
Definition at line 68 of file rew_projector.hpp.
References arithmetic, FEAT::LAFEM::DenseVector< DT_, IT_ >::elements(), FEAT::Math::invert_matrix(), and volume.