diff options
author | jthorn <jthorn@e296648e-0e4f-0410-bd07-d597d9acff87> | 2003-05-23 16:35:45 +0000 |
---|---|---|
committer | jthorn <jthorn@e296648e-0e4f-0410-bd07-d597d9acff87> | 2003-05-23 16:35:45 +0000 |
commit | 9f93f647107ef10be6284416f956a82c9065eb6d (patch) | |
tree | de315bf543d9d413573f8c1847bd14f95df4802c /doc/how_to_add_a_new_model | |
parent | 9b2f9a42cc6d4e2dc876ee390cd76f6164be1520 (diff) |
* document Gowdy-wave model (this was missing from the thorn guide)
* add a new feature that any vacuum non-cosmological-constant solution
can be Lorentz-boosted by any 3-velocity
(previously, Kerr/Kerr-Schild had the ability to do a z-axis boost,
but the new code works for most of the models, and can boost in any direction)
* general cleanup of most of the individual models to systematize
comment conventions for subroutine arguments: input arguments,
output arguments, static local variables, local variables, parameters
* cleanup comments in various places to describe conformal factor
being passed to/from individual models (this was in the code before,
but not consistently documented)
* various other cleanups in documentation
There should be no change in the operation of any of the existing models.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@162 e296648e-0e4f-0410-bd07-d597d9acff87
Diffstat (limited to 'doc/how_to_add_a_new_model')
-rw-r--r-- | doc/how_to_add_a_new_model | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/how_to_add_a_new_model b/doc/how_to_add_a_new_model index f2ac415..235feb5 100644 --- a/doc/how_to_add_a_new_model +++ b/doc/how_to_add_a_new_model @@ -1,7 +1,7 @@ ************************************************ ***** How to Add a New Model to this Thorn ***** ************************************************ -$Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/Exact/doc/how_to_add_a_new_model,v 1.4 2003-01-28 15:04:14 knarf Exp $ +$Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/Exact/doc/how_to_add_a_new_model,v 1.5 2003-05-23 16:35:44 jthorn Exp $ A general note: Please keep the sections for various models in the same order in all the files. This makes it _much_ easier for people @@ -22,6 +22,11 @@ Then you need to modify... gr-qc and/or well-known books. Please also explain the physics meanings of all the parameters -- users should *not* have to look at your source code to figure out what a given parameter means! + README + Add a line or two giving the copyright status of your new code. + You can either put this in one of the existing licensing sections, + or create a new licensing section and add your copyright information + there. param.ccl: Add the new model's character-string name as another possible value for the exact_model parameter. @@ -48,10 +53,14 @@ Then you need to modify... It's probably easiest to start with a copy of an existing file and modify it to compute your new metric -- that will help you get all the "boilerplate" code right. - One additional information about the conformal factor which is passed - to the function: It is preset to 1.0 or 0.0 according to the fact if - it is wanted or not. If you want to have a physical metric, just do not - change it. + Please put a comment at the top of the file giving your name, + a copyright line, and the licensing status of the file (GPL, LGPL, + GPL-with-the-usual-Cactus-exemption-for-linking-with-non-GPL-thorns, + top-secret-you-can-look-at-it-but-then-we-have-to-shoot-you, whatever). + One additional information about the conformal factor which is passed + to the function: It is preset to 1.0 or 0.0 according to the fact if + it is wanted or not. If you want to have a physical metric, just do not + change it. src/metrics/make.code.defn: Add the new file name to the list of files to be compiled. |