Skip to content
Snippets Groups Projects
Commit a90f73a1 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

don't hardwire simplex elements into the code. There is no reason why we should

[[Imported from SVN: r8049]]
parent 2d82850b
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ class LocalGfeTestFunctionBasis;
template <class LocalFiniteELement, class TargetSpace>
class LocalGfeTestFunctionInterpolation;
/** \brief The local gfe test function finite element on simplices
/** \brief The local gfe test function finite element
*
* \tparam LagrangeLfe - A Lagrangian finite element whose shape functions define the interpolation weights
* \tparam TargetSpace - The manifold the tangent spaces this basis for from belong to.
......@@ -45,10 +45,9 @@ public:
LocalGfeTestFunctionFiniteElement(const LagrangeLfe& lfe, const std::vector<TargetSpace> baseCoeff) :
baseCoeff_(baseCoeff),
basis_(lfe, baseCoeff_),
coefficients_(lfe.clone()->localCoefficients())
{
gt_.makeSimplex(LagrangeBasisTraits::dimDomain);
}
coefficients_(lfe.clone()->localCoefficients()),
gt_(lfe.type())
{}
/** \brief Get reference to the local basis.*/
const typename Traits::LocalBasisType& localBasis () const
......
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