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:
* \param baseCoeff - The coefficients of the base points the tangent spaces live at.
*/
LocalGfeTestFunctionFiniteElement(const LagrangeLfe& lfe, const std::vector<TargetSpace> baseCoeff) :
basis_(lfe, baseCoeff),
baseCoeff_(baseCoeff),
basis_(lfe, baseCoeff_),
coefficients_(lfe.clone()->localCoefficients())
{
gt_.makeSimplex(LagrangeBasisTraits::dimDomain);
......@@ -73,7 +74,11 @@ public:
return gt_;
}
/** \brief Get base coefficients. */
const std::vector<TargetSpace>& getBaseCoefficients() {return baseCoeff_;}
private:
const std::vector<TargetSpace> baseCoeff_;
LocalBasis basis_;
const typename LagrangeLfe::Traits::LocalCoefficientsType& coefficients_;
LocalInterpolation interpolation_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment