Skip to content

Commit

Permalink
testm
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebenelli committed Oct 22, 2024
1 parent 663c5a3 commit 69c3219
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 70 deletions.
9 changes: 4 additions & 5 deletions src/equilibria/boundaries/phase_envelopes_pt.f90
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ subroutine update_spec(X, ns, S, dS, dXdS, step_iters)
] &
)

do while(maxval(abs(dXdS(:nc)*dS)) > 0.07)
do while(maxval(abs(dXdS(:nc)*dS)) > 0.1 * maxval(abs(X(:nc))))
dS = 0.7*dS
end do

call save_point(X, step_iters)
call detect_critical(X, dXdS, ns, S, dS)
end subroutine update_spec
Expand Down Expand Up @@ -316,9 +316,8 @@ subroutine detect_critical(X, dXdS, ns, S, dS)

inner = 0
do while (&
maxval(abs(X(:nc))) < 0.1 &
.and. inner < 500&
.and. abs(Vz - Vy) < 0.1)
maxval(abs(X(:nc))) < 0.06 &
.and. inner < 5000)
! If near a critical point, jump over it
inner = inner + 1

Expand Down
65 changes: 0 additions & 65 deletions test/test_psrk.f90

This file was deleted.

0 comments on commit 69c3219

Please sign in to comment.