aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Bug-fix from Frank Herrman.goodale2004-05-13
| | | | | | | Fixes PR 1692. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@146 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* * fix mismatched CCTK_VWarn() formats and arguments forjthorn2003-06-04
| | | | | | | | | "impossible value for conformal_storage" error msgs * also slight tweaks to surrounding code so the compiler knows that make_conformal_derivs is always set before it's used git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@135 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* since I haven't tracked down the infinite memory leak, at least putjthorn2003-05-06
| | | | | | | | | | | | in a level 1 warning to tell users that they're in trouble: WARNING[L1,P0] (IDAnalyticBH): Misner_init(): warning: about to call fill_iso() ; at present this routine seems to leak quasi-infinite amounts of memory at the rate of O(100 megabytes/second) :( :( :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@133 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* add CCTK_VInfo() calls to tell the user that we're in this thornjthorn2003-05-06
| | | | | | | setting up initial data git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@131 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* fix grdoc comment for iso(),jthorn2003-05-06
| | | | | | | add const qualifier for eval_bh_psi() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@130 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* add prototypes for a bunch of un-prototyped functionsjthorn2003-05-06
| | | | | | | | | | | some code cleanups in Misner_points.c *** I think there is still a quasi-infinite memory leak *** (c. 100 megabytes/second on a xeon) somewhere around the function *** fill_iso() in Misner_points.c git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@129 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* fix a bug where settingjthorn2003-05-06
| | | | | | | | | | | | | | | ADMBase::metric_type = "static conformal" StaticConformal::conformal_storage = "factor" led to the local flag make_conformal_derivs never being initialized. Alas, later code then tested this flag, and if the random garbage that's in uninitialized memory happened to be nonzero, the later code would then proceed to try to initialize the 1st derivatives of the conformal factor. Since these don't have storage allocated, this core-dumps. :( :( The bug is fixed by changing the logic to always set make_conformal_derivs . git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@128 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* This patch fixes a bug injthorn2003-05-02
| | | | | | | | | | | | | | | | | void Misner_standard(CCTK_ARGUMENTS) where setting ADMBase::metric_type = "static conformal" StaticConformal::conformal_storage = "factor" led to the local flag make_conformal_derivs never being initialized. Alas, later code then tested this flag, and if the random garbage that's in uninitialized memory happened to be nonzero, the later code would then proceed to try to initialize the 1st derivatives of the conformal factor. Since these don't have storage allocated, this core-dumps. :( :( The bug is fixed by changing the logic to always set make_conformal_derivs . git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@127 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Change from using memset() to using a new functionjthorn2003-03-24
| | | | | | | | | IDAnalyticBH_zero_CCTK_REAL_array() when setting a grid array to all zeros. This is necessary because memset() gives all bits 0, but we want floating point (CCTK_REAL) 0.0, which might be a different bit pattern. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@126 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Fix to a bug in the Schwarzschild metric for the physical case (Note: this ↵allen2002-11-01
| | | | | | | | | | | is just in the physical metric, the conformal (usual) metric is fine!). Spotted and fixed by Frank Herrmann. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@123 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Adding missing @history tags.goodale2002-08-14
| | | | | | | Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@121 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* tiding and changing routine name to avoid clashesallen2002-04-30
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@104 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Set conformal_state to 1 if only the conformal factor is being initialised.goodale2002-04-26
| | | | | | | Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@101 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Removing some excess code I accidently left in.goodale2002-04-26
| | | | | | | Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@100 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Just spotted that Schwarzschild does calculate the second derivatives, sogoodale2002-04-26
| | | | | | | | | now set the conformal_state appropriately. Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@99 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Converted to use new metric_type and conformal_storage variables.goodale2002-04-26
| | | | | | | | | | | | The thorns calculate the appropriate number of derivatives and set the conformal_state variable appropriately - note that currently there is no code to do second derivatives of Schwarzschild, so this sets the conformal_state to a maximum of 2 (i.e. factor and first derivatives). Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@98 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Remove compiler warning on originallen2002-01-05
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@94 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Formatting changesallen2001-10-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@92 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Cannot write to parameters since these are read-only now.tradke2001-05-22
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@90 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Fixed CCTK_FILEVERSIONallen2001-05-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@89 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* CCTK_FILEVERSIONallen2001-05-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@87 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@86 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* CCTK_FILEVERSIONallen2001-05-09
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@85 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Fixed wrong argument types to pow(3) which caused the testsuites on DEC Alphastradke2001-05-07
| | | | | | | | (with native C compiler) to fail if the second argument to this function was given as an integer. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@84 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Removing compiler warningsallen2001-02-25
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@82 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Fixing warningsallen2001-02-24
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@81 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Changed C++ comments back to C comments.miguel2000-10-13
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@75 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* John Bakers initial data for Kerr black holesallen2000-09-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@74 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Some optimizations: use single loop with linear indices, replace divs by mults.tradke2000-06-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@70 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* 20% speedup by taking the sinh and tanh calculations out of the loop.tradke2000-06-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@69 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Loop optimizations and divs replaced by mults make calculation of ID fortradke2000-06-22
| | | | | | | two Misner BHs 25% faster (on origin). git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@67 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Change CARGUMENTS to ARGUMENTSallen2000-03-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@65 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Accidently added a return code to a void function yesturdayallen2000-03-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@64 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Added return code so that automatic warning removal worksallen2000-03-27
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@63 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Removing a print Hello statement ...allen2000-03-23
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@62 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Removing USE_CCTK_ARGUMENTS and USE_CCTK_PARAMETERS since they areallen2000-02-05
| | | | | | | automatically included now git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@60 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* cctk_parameters -> cctk_Parametersallen2000-01-27
| | | | | | | cctk_arguments -> cctk_Arguments git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@59 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Adding USE_CCTK_PARAMETERSallen2000-01-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@58 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Tidyingallen1999-11-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@55 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Fixing system include filesallen1999-11-01
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@48 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Adding math.hallen1999-11-01
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@47 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* More tidying of info statementsallen1999-10-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@46 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Changing a printf to a CCTK_INFOallen1999-10-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@45 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Various things pointed out by running Insure on the code. Normallygoodale1999-10-26
| | | | | | | | | | harmless things like not returning a value, but a rather subtle memory leak in one place too. Tom git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@44 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Bug fix for BrillLindquist and tidying info statementsallen1999-10-24
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@41 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Tom's C version of IDAnalyticBH is now the default. Passes testsuitesallen1999-10-21
| | | | | | | | for Schwarzschild and 2 misner holes, need to test multiple misner and BL still git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@40 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Adding storage for all variables for Misner (misner data shouldallen1999-10-17
| | | | | | | run properly now), and adding a couple of print statements. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@36 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* iallen1999-07-29
| | | | | | | lapseinit is initial_lapse now git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@25 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* New names for include filesallen1999-06-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@21 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
* Implementing new naming convention for variables on the cGH. See cGH.h forallen1999-06-25
| | | | | | | details. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@20 6a3ddf76-46e1-4315-99d9-bc56cac1ef84