[ET Trac] [Einstein Toolkit] #714: TmunuBase: stress_energy_storage should be a restricted parameter
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Jan 2 11:30:58 CST 2012
#714: TmunuBase: stress_energy_storage should be a restricted parameter
-----------------------------------+----------------------------------------
Reporter: bmundim | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: EinsteinToolkit thorn | Version:
Keywords: TmunuBase |
-----------------------------------+----------------------------------------
Hi,
I was trying to use the stress_energy_storage parameter in TmunuBase to
determine
when to schedule or not a routine calculating the magnetic pressure (and
friends).
If storage is allocated for Tmunu then the magnetic pressure is calculated
in the
same routine. Otherwise, a separate routine would calculate the magnetic
pressure.
Keeping the routines always separate wouldn't be efficient when we do need
the
calculation and storage of Tmunu. Anyway, in order to do so, I needed to
set
stress_energy_storage as a restricted parameter (patch attached) in
TmunuBase.
Is there any reason for keeping this parameter private?
Thanks.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/714>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list