Skip to content

Commit

Permalink
little cleanup lo-els
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchoeberl committed Feb 21, 2022
1 parent 7d4d5f5 commit 2ad1546
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions fem/h1lofe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ namespace ngfem
if (auto ipts = GetNodalPoints(); ipts.Size())
{
HeapReset hr(lh);
// IntegrationPoint ipts[] = {
// { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 }, { 0, 0, 0 }
// };
IntegrationRule ir(ipts.Size(), ipts.Data());
auto & mir = trafo(ir, lh);
func.Evaluate (mir, coefs);
Expand Down Expand Up @@ -984,16 +981,6 @@ namespace ngfem


#ifdef FILE_H1LOFE_CPP
/*
template <ELEMENT_TYPE ET, int ORDER>
void ScalarFE<ET,ORDER> :: Interpolate (const ElementTransformation & trafo,
const class CoefficientFunction & func, SliceMatrix<> coefs,
LocalHeap & lh) const
{
cout << "scalfe interpol" << endl;
BASE::Interpolate (trafo, func, coefs, lh);
}
*/

template<>
FlatArray<IntegrationPoint> ScalarFE<ET_TRIG,1> :: GetNodalPoints() const
Expand Down Expand Up @@ -1027,7 +1014,7 @@ namespace ngfem
return { 10, &ipts[0] };
}


/*
template<>
void ScalarFE<ET_TET,1> :: Interpolate (const ElementTransformation & trafo,
const class CoefficientFunction & func, SliceMatrix<> coefs,
Expand All @@ -1041,6 +1028,7 @@ namespace ngfem
auto & mir = trafo(ir, lh);
func.Evaluate (mir, coefs);
}
*/
#endif


Expand Down

0 comments on commit 2ad1546

Please sign in to comment.