| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@106 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Christian Ott <cott@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@105 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@104 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Christian D. Ott <cott@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@103 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@102 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* use log-rules to transform base 10 logs to natural ones
faster and hopefully more accurate
* optimize away a division when computing cs2
* optimize bracketing test to (a-a1)*(a-a2)<0
* replace divisions by multiplication by inverse
* use CCTK_BUILTIN_EXPECT to indicate likely outcome
this should help branch prediction since the compiler can put the the
less likely branch into the unfavorable location.
* remove superfluous if statements
whenever we leave a itmax loop regularly we iterated for too long
* explicitly replace x/y by x*1./y
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@101 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
consistently abort the EOS call when checkbounds fails
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@100 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
| |
not sure if restrict is propagated to called routines or if the compiler
must assume that all pointed to variables change when a function is
called.
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@99 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@98 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
should help if we ever directly access them in an inner loop
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@97 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@96 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
restrict for us.
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@95 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
| |
Cactus tracks dependencies on include files on its own using calls to
the C compiler
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@94 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@93 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Christian Ott <cott@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@92 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Christian Ott <cott@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@91 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@90 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
offending specific internal energies where limited and the EOS
returned seemingly fine, but thermodynamically inconsistent data.
This has been fixed. This fix also makes isolated microphysical NS
simulations not work anymore. Why this is the case, we are still
investigating
From: Christian Ott <cott@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@89 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
output
From: Christian Ott <cott@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@88 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
slow down pointwise calls
* make a copy of the press routine, call it OMP, add interface
entry; use this routine for GF-wide calls.
* uglyness ensues
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@84 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@83 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
| |
Stop statements are deprecated in Fortran, and can only take integer
arguments (not strings). The IBM compiler insists on this. Calling
CCTK_ERROR is a simple work-around in Cactus.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@80 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
* improve a multi-var EOS call for dpdrho and dpdeps
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@79 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
| |
with the new Con2PrimHot treatment in GRHydro.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@78 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
| |
part of the commit was forgotten.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@77 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
of a tabulated cold EOS
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@76 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@75 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
can be supplemented with a thermal gamma law
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@74 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
|
| |
EOS_Omni used this to compute (initially) conversion factors from code (assumed
to e G=c=M_sun=1) to cgs units. It then goes back and forth between these units
even for polytropic and gamma law eos. This is very confusing since
poly_gamma_ini since poly_gamma_ini must mast poly_gamma and gl_gamma for a
"usual" run with a Gamma law eos.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@73 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@72 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
conversion factors (and their inverses) based on NIST data
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@71 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
| |
The new implementation is robust, but slow and should only be used
at initial data (which is generally the case)
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@70 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
EOS_Omni no longer uses the Fortran HDF5 interfaces, instead readtable.c is
using the C interface.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@69 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@68 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
From: Roland Haas <roland.haas@physics.gatech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@66 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
read the full table and MPI_Bcast it to the other processors
From: Roland Haas <roland.haas@physics.gatech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@65 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@64 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a test (plus sample hdf5 table) using a small routine
EOS_OMNI_dumptable to output the read in data as ASCII into a user selected
file.
Code and table kindly provided by Evan O'Connor.
Small changes afterwards by Roland Haas.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@63 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
instead of storing a copy of the data in the Fortran module store Fortran
pointers.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@62 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
for the file name of the nuclear EOS table to STEERABLE=ALWAYS (was not steerable)
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@60 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
| |
* check H5?close() return code
* make file-local functions static
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@59 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
which explicitely used the 1.8 API which just tripped one of my installations. It also doesn't need the 1.8 API, which is why it now explicitely requests version 1.6
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@58 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@57 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@56 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
| |
* fix scheduling issue (reading the table was not scheduled in global mode)
* re-add option of turning off energy shift
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@55 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
|
|
|
|
| |
interface
is usually disabled, and conflicts with the parallel API as well.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@54 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@51 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
|
|
| |
Otherwise the thornguide fails to build
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@49 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@48 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|
|
|
|
| |
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@46 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
|