aboutsummaryrefslogtreecommitdiff
path: root/src/EOS_Omni_SingleVarCalls.F90
diff options
context:
space:
mode:
authorcott <cott@8e189c6b-2ab8-4400-aa02-70a9cfce18b9>2010-11-16 15:19:04 +0000
committercott <cott@8e189c6b-2ab8-4400-aa02-70a9cfce18b9>2010-11-16 15:19:04 +0000
commit44ff1e4799a014f4bac2b2fcb2cc34d75a2c5edc (patch)
tree0f66d37119395fe08bb81eb79e8a9dde9219a1ee /src/EOS_Omni_SingleVarCalls.F90
parent68fef2fe3544197073744ccb7e69be1a34763225 (diff)
* minor mods related to hot EOS
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/EOS_Omni@20 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
Diffstat (limited to 'src/EOS_Omni_SingleVarCalls.F90')
-rw-r--r--src/EOS_Omni_SingleVarCalls.F907
1 files changed, 7 insertions, 0 deletions
diff --git a/src/EOS_Omni_SingleVarCalls.F90 b/src/EOS_Omni_SingleVarCalls.F90
index 72abe97..3cd6c38 100644
--- a/src/EOS_Omni_SingleVarCalls.F90
+++ b/src/EOS_Omni_SingleVarCalls.F90
@@ -96,6 +96,13 @@ subroutine EOS_Omni_EOS_Press(eoskey,keytemp,rf_precision,npoints,&
xtemp = temp(i)
xye = ye(i)
xenr = eps(i) * inv_eps_gf
+ if(xye.lt.0.1) then
+ write (warnstring,"(A6,1P10E16.7)") "blah: ",xye,xrho
+ call CCTK_WARN(1,warnstring)
+ keyerr(i) = 102
+ anyerr = 1
+ return
+ endif
call nuc_eos_press_eps(xrho,xtemp,xye,xenr,xprs,&
keytemp,keyerr(i),rf_precision)