Skip to content
Snippets Groups Projects
Commit 5f02fe62 authored by Youett, Jonathan's avatar Youett, Jonathan Committed by akbib@FU-BERLIN.DE
Browse files

add method to return the local base coefficients

[[Imported from SVN: r7975]]
parent da2a8e35
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,8 @@ public: ...@@ -43,7 +43,8 @@ public:
* \param baseCoeff - The coefficients of the base points the tangent spaces live at. * \param baseCoeff - The coefficients of the base points the tangent spaces live at.
*/ */
LocalGfeTestFunctionFiniteElement(const LagrangeLfe& lfe, const std::vector<TargetSpace> baseCoeff) : LocalGfeTestFunctionFiniteElement(const LagrangeLfe& lfe, const std::vector<TargetSpace> baseCoeff) :
basis_(lfe, baseCoeff), baseCoeff_(baseCoeff),
basis_(lfe, baseCoeff_),
coefficients_(lfe.clone()->localCoefficients()) coefficients_(lfe.clone()->localCoefficients())
{ {
gt_.makeSimplex(LagrangeBasisTraits::dimDomain); gt_.makeSimplex(LagrangeBasisTraits::dimDomain);
...@@ -73,7 +74,11 @@ public: ...@@ -73,7 +74,11 @@ public:
return gt_; return gt_;
} }
/** \brief Get base coefficients. */
const std::vector<TargetSpace>& getBaseCoefficients() {return baseCoeff_;}
private: private:
const std::vector<TargetSpace> baseCoeff_;
LocalBasis basis_; LocalBasis basis_;
const typename LagrangeLfe::Traits::LocalCoefficientsType& coefficients_; const typename LagrangeLfe::Traits::LocalCoefficientsType& coefficients_;
LocalInterpolation interpolation_; LocalInterpolation interpolation_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment