@@ -206,14 +206,23 @@ int main(int argc, char **argv) {
206206 doFail (" quadratic" , " quadratic" , testCase.name );
207207 }
208208
209- // {
210- // failed = omf.triangleLocalPointEval<LinearFunction,
211- // ShapeOrder>(
212- // mesh, testCase.coords, testCase.NumPtsPerElem,
213- // LinearFunction{});
214- // if (failed)
215- // doFail("quadratic", "linear", testCase.name);
216- // }
209+ {
210+ const auto ShapeOrder = 2 ;
211+ auto field =
212+ omf.CreateLagrangeField <MeshField::Real, ShapeOrder, MeshDim>();
213+ auto func = LinearFunction ();
214+ setVertices (mesh, func, field);
215+ setEdges (mesh, func, field);
216+ using FieldType = decltype (field);
217+ auto result =
218+ omf.triangleLocalPointEval <LinearFunction, ViewType, FieldType>(
219+ testCase.coords , testCase.NumPtsPerElem , LinearFunction{},
220+ field);
221+ auto failed = checkResult (mesh, result, omf.getCoordField (), testCase,
222+ LinearFunction{});
223+ if (failed)
224+ doFail (" quadratic" , " linear" , testCase.name );
225+ }
217226 }
218227 }
219228 Kokkos::finalize ();
0 commit comments