aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrhaas <rhaas@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2013-07-08 06:48:44 +0000
committerrhaas <rhaas@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2013-07-08 06:48:44 +0000
commite49156de33bd089d3c0e11422330eb0cf3c13858 (patch)
tree51e521f29f28192eaf002e7cb69738a43e96c18b /src
parent7337d16bc3e4866f5011dd5a88ea76fb3c5f29da (diff)
revert accidentically committed changes in rev 140
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TOVSolver/trunk@141 1bdb13ef-5d69-4035-bb54-08abeb3aa7f1
Diffstat (limited to 'src')
-rw-r--r--src/tov.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/tov.c b/src/tov.c
index fd06768..a5d206d 100644
--- a/src/tov.c
+++ b/src/tov.c
@@ -844,21 +844,20 @@ void TOV_C_Exact(CCTK_ARGUMENTS)
/* It is absolutely idiotic to have different
atmosphere thresholds for different stars that are placed
on the same goddamn grid. This also screws symmetry, so
- we get rid of it \*
- \* */ if(rho[i3D] <= TOV_Atmosphere[star_i]) {
+ we get rid of it /*
+ /* if(rho[i3D] <= TOV_Atmosphere[star_i]) {
rho[i3D] = TOV_Atmosphere[star_i];
- press[i3D] = TOV_K * pow(rho[i3D],TOV_Gamma);
- eps[i3D] = press[i3D]/(TOV_Gamma-1.0)/rho[i3D];
- } /**/
+ press[i3D] = TOV_K[star_i] * pow(rho[i3D],TOV_Gamma[star_i]);
+ eps[i3D] = press[i3D]/(TOV_Gamma[star_i]-1.0)/rho[i3D];
+ } */
}
-#if 0
+
if(rho[i3D] <= TOV_Atmosphere[0]) {
rho[i3D] = TOV_Atmosphere[0];
press[i3D] = TOV_K * pow(rho[i3D],TOV_Gamma);
eps[i3D] = press[i3D]/(TOV_Gamma-1.0)/rho[i3D];
}
-#endif
if (TOV_Conformal_Flat_Three_Metric)
{