[ET Trac] [Einstein Toolkit] #1172: Remove unnecessary exp/log calls in EOS_Omni
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu May 18 14:22:13 CDT 2017
#1172: Remove unnecessary exp/log calls in EOS_Omni
------------------------------------+---------------------------------------
Reporter: eschnett | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: EinsteinToolkit thorn | Version:
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment (by anonymous):
Here is one example:
{{{
barotropiceos_logrho(:) = log10(10.0d0**barotropiceos_logrho(:) *
rho_gf)
}}}
This code first exponentiates a quantity, and then takes a logarithm. The
code contains many other similar expressions. I believe this code was
implemented as a literal translation from a publication, without
optimizing its numerics.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1172#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list