Skip to content

Commit db78f42

Browse files
ChrisZYJmrodrig6
andauthored
change fd_order checker (#5)
Co-authored-by: Mauro Rodriguez Jr <[email protected]>
1 parent 7dd3269 commit db78f42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/simulation/m_checker.fpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ contains
260260
!> Checks constraints on elasticity parameters
261261
subroutine s_check_inputs_elasticity
262262
@:PROHIBIT(hyperelasticity .and. hyper_model == dflt_int)
263-
@:PROHIBIT((hypoelasticity .or. hyperelasticity) .and. fd_order /= 4)
263+
@:PROHIBIT((hypoelasticity .or. hyperelasticity) .and. fd_order == dflt_int, &
264+
"fd_order must be set for hypoelasticity or hyperelasticity")
264265
end subroutine
265266
266267
!> Checks constraints on bubble parameters

0 commit comments

Comments
 (0)