[Developers] Add magnetic fields to HydroBase
schnetter at cct.lsu.edu
Mon Dec 7 11:13:19 CST 2009
On Nov 24, 2009, at 15:55 , Erik Schnetter wrote:
> On Nov 24, 2009, at 15:19 , Frank Loeffler wrote:
>> On Tue, Nov 24, 2009 at 03:50:16PM -0500, Bruno Giacomazzo wrote:
>>> Anyway, if you want instead to include also the lagrangian
>>> definition in HydroBase then you should define
>>> B_eul E_eul
>>> B_lag E_lag
>> I suggest to define the first two in HydroBase and comment in the
>> documentation that the latter two are (at the moment) not defined
>> because effectivly unused, but could be added in the future. Even if
>> that would not happen, someone using them could define them in their
>> own thorn and then have a consistent name scheme.
> Same as with the three-velocity we should just define one simple quantity. Given that I don't like underscores, I then propose to use "Bvec".
I have just added such a group, together with corresponding parameters to choose initial data and time evolution method for the magnetic field.
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
More information about the Developers