Skip to content

Commit 9313f73

Browse files
committed
Added exception for LBnewton and LBsequad
1 parent 962843c commit 9313f73

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/G1V03L2Fi/G1V03L2Fi.001.sp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Vns(0,2) = 0.000000000000000E+00 Bns(0,2) = 0.000000000000000E+00 Vnc(0,
6363
Mregular = -1
6464
/
6565
&locallist
66-
LBeltrami = 2
66+
LBeltrami = 4
6767
Linitgues = 1
6868
/
6969
&globallist

src/preset.f90

+3-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,9 @@ subroutine preset
890890
if( LBeltrami.eq.2 .or. LBeltrami.eq.3 .or. LBeltrami.eq.6 .or. LBeltrami.eq.7 ) LBnewton = .true.
891891
if( LBeltrami.eq.4 .or. LBeltrami.eq.5 .or. LBeltrami.eq.6 .or. LBeltrami.eq.7 ) LBlinear = .true.
892892

893-
if (LBnewton .or. LBsequad) Lconstraint = 2
893+
if ((LBnewton .or. LBsequad) .and. ( Lconstraint .ne. 2)) then
894+
FATAL( preset, .true., LBnewton and LBsequad require Lconstraint = 2 )
895+
endif
894896

895897
if (Lconstraint .eq. 2) then
896898
FATAL( preset, Lfreebound.eq.1, The combination of helicity constraint and free boundary is under construction )

0 commit comments

Comments
 (0)