From f376482d8e8294b51a508fcb1e817b2bb099f349 Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Thu, 8 Aug 2024 10:30:18 -0600 Subject: [PATCH] Update asserts. --- include/aero/fsi/FSIturbine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {