[Users] Propose thorns for inclusion in the EinsteinToolkit

Ian Hinder ian.hinder at aei.mpg.de
Tue Apr 24 02:30:12 CDT 2012


On 23 Apr 2012, at 23:35, Barry Wardell wrote:

> Is there any interest in including this in the ET?

Yes, I think it should be included.  

1. Using Exact for test suite initial data is extremely problematic due to the fact that Exact uses finite differencing with a very small timestep to compute the extrinsic curvature.  The very small timestep makes the solution very sensitive to roundoff differences, and we typically have trouble generating the same solution using different compilers (e.g. Intel and PGI).  This was mitigated somewhat by the use of higher order finite differencing with a large timestep in Exact, but the solution persisted.  Eventually, I used an unphysically large timestep for the regression tests.  This is an indication that the initial data from Exact is not suitable for simulations where high accuracy is required.  The EinsteinExact arrangement avoids this problem completely by computing derivatives analytically.  If EinsteinExact were included, the test suites could be regenerated using it, which would be a much cleaner solution.

2. The EinsteinExact solutions are generated automatically from the Metrics database, which can be rigorously correctness-tested in an automated way by running a notebook/script.  There is currently no automated way to test the Exact thorn, so we have only anecdotal evidence that the solutions are correct (and in fact, bugs have been found in the past).

3. The inclusion of the Metrics database, independent of the EinsteinExact Cactus arrangement, is also of value.  This can be used from Mathematica with, for example, the xAct tensor manipulation package, for doing symbolic calculations on exact solutions.  This could provide a well-tested canonical source of exact solutions for other applications.  Automated conversion of the solutions into other formats for other packages would be straightforward to implement.

I believe the requirements for inclusion should be that the code has tests and documentation, is considered by an independent reviewer to be of sufficiently high quality, and is expected to be generally useful.  I think all we are missing is documentation and the independent reviewer (volunteers?).

I propose that EinsteinExact and the Metrics database be included in the ET contingent on documentation being written and the approval of someone who has looked at the code other than Barry and me.


> 
> On Fri, Nov 25, 2011 at 6:46 PM, Barry Wardell <barry.wardell at aei.mpg.de> wrote:
> Hi,
> 
> Recently Ian Hinder and I have created an arrangement of thorns called EinsteinExact which provide some exact solutions for use in Cactus. The scope of these thorns is similar to that of the Exact thorn but with some notable improvements:
> 
> * The extrinsic curvature is computed symbolically rather than using finite differencing so it should be accurate to within roundoff. This means that EinsteinExact is more exact than Exact.
> * The solutions used in EinsteinExact come from a database of metrics which have been correctness-tested, e.g., by checking symbolically that they are a solution of the Einstein equation.
> * EinsteinExact is written in Mathematica and uses Kranc, so the raw source is very small (~250 lines) and easy to understand.
> * Adding a spacetime is as simple as typing the components of the metric into Mathematica.
> 
> So far, the spacetimes included are Minkowski, Kerr-Schild, gauge wave and shifted gauge wave, but the list can easily be extended in the future. There is also support for arbitrary rotations, using the same conventions as the Exact thorn uses. We have not yet included the other transformations supported by Exact, but they shouldn't be difficult to add.
> 
> We have checked that for these spacetimes the Exact solutions converge to the EinsteinExact solutions at the correct finite differencing order used by Exact.
> 
> We would like to propose the EinsteinExact arrangement for inclusion in the EinsteinToolkit. If you would like to try it out, you can get it using:
> 
> git clone --recursive git://github.com/barrywardell/EinsteinExact
> 
> Any comments or suggestions are welcome.
> 
> Regards,
> Barry
> 
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users

-- 
Ian Hinder
http://numrel.aei.mpg.de/people/hinder

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20120424/aa53df58/attachment.html 


More information about the Users mailing list