On Thu, Jun 09, 2011 at 09:56:32AM -0400, Roland Haas wrote:
Can be done yes. There is already a grid scalar TmunuBase::stress_energy_state which is set to non-zero if stress_energy_storage is true (in BaseGrid by TmunuBase_SetStressEnergyState).
You should already have access to it through Whisky inheriting from TmunuBase.
For the Cactus experts: what is the current preferred Cactus way of handling this? Parameter or grid scalar?
Roland is right: it would be best to use TmunuBase::stress_energy_state and not the parameter. This is a situation similar to, e.g., shift_state.
The main argument is that TmunuBase::stress_energy_state might change during the evolution, but the corresponding parameter might be set in a restart parameter file which would lead to problems while restarting.
Bruno: would using TmunuBase::stress_energy_state work for you as well?
Frank