Skip to content

Commit f6f2e10

Browse files
committed
correct names for vars
we change the order but missed this spot
1 parent 95951f0 commit f6f2e10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MeshField_ShapeField.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ struct QuadraticAccessor {
9595
using BaseType = typename VtxAccessor::BaseType;
9696

9797
KOKKOS_FUNCTION
98-
auto &operator()(int node, int component, int entity, Mesh_Topology t) const {
98+
auto &operator()(int entity, int node, int component, Mesh_Topology t) const {
9999
if (t != Vertex && t != Edge) {
100100
Kokkos::printf("%d is not a support topology\n", t);
101101
assert(false);
102102
}
103-
return (t == Vertex) ? vtxField(node, component, entity)
104-
: edgeField(node, component, entity);
103+
return (t == Vertex) ? vtxField(entity, node, component)
104+
: edgeField(entity, node, component);
105105
}
106106
};
107107

0 commit comments

Comments
 (0)