diff --git a/include/aero/fsi/FSIturbine.h b/include/aero/fsi/FSIturbine.h index 473ace420..384d6d1db 100644 --- a/include/aero/fsi/FSIturbine.h +++ b/include/aero/fsi/FSIturbine.h @@ -58,7 +58,7 @@ vector_from_field( const stk::mesh::Field& field, const stk::mesh::Entity& node) { // debug only check for optimization - assert(field.max_size(stk::topology::NODE_RANK) == 3); + assert(field.max_size() == 3); assert(field.template type_is()); T* ptr = stk::mesh::field_data(field, node); return {ptr[0], ptr[1], ptr[2]}; @@ -72,7 +72,7 @@ vector_to_field( vs::VectorT vec, stk::mesh::Field& field, const stk::mesh::Entity& node) { // debug only check for optimization - assert(field.max_size(stk::topology::NODE_RANK) == 3); + assert(field.max_size() == 3); assert(field.template type_is()); T* ptr = stk::mesh::field_data(field, node); for (int i = 0; i < 3; ++i) {