We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87c33c commit d9855e9Copy full SHA for d9855e9
src/MeshField.hpp
@@ -187,6 +187,7 @@ class OmegahMeshField {
187
188
auto getCoordField() { return coordField; }
189
190
+ // FIXME support 2d and 3d and fields with order>1
191
template <typename Field> void writeVtk(Field &field) {
192
using FieldDataType = typename decltype(field.vtxField)::BaseType;
193
// HACK assumes there is a vertex field.. in the Field Mixin object
@@ -220,10 +221,6 @@ class OmegahMeshField {
220
221
MeshField::fail("input field order must be 1 or 2\n");
222
}
223
- // if (ShapeOrder == 1) {
224
- // writeVtk(mesh, field);
225
- // }
226
-
227
const auto [shp, map] = getTriangleElement<ShapeOrder>(mesh);
228
229
MeshField::FieldElement f(meshInfo.numTri, field, shp, map);
0 commit comments