aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* after recent discussions with Erik about SphericalSurface, we've agreed thatjthorn2004-06-04
| | | | | | | | | | | sf_mean_radius = mean *coordinate* radius (alas, not yet clearly *documented* in SphericalSurface) sf_area = proper area (newly added to SphericalSurface) ==> change this code to store the right things git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1362 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add another FIXME comment to the code which accesses the surface shape:jthorn2004-05-21
| | | | | | | | | | // * It would be cleaner to abstract out the (complicated) indexing // calculation for the SphericalSurface shape array into a separate // access structure/function, the way we do with struct cactus_grid_info // for grid functions. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1353 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * add interface to Erik's SphericalSurface thornjthorn2004-05-12
| | | | | | | | | | | | | | ==> With this commit, AHFinderDirect now inherits from AEIThorns/SphericalSurface, so you must have that thorn in your configuration to be able to compile. * add computation of surface quadrupole moments and areal radius * expand BH_diagnostics file format to accomodate quadrupole moments and areal radius, and also to include not-implemented-yet columns for 9 more diagnostics which Erik has implemented in his branch * some other small cleanups git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1329 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove unneededjthorn2004-05-06
| | | | | | | #include "cctk_Arguments.h" git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1322 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * copy Cactus parameters to our local data structures,jthorn2004-05-05
| | | | | | | | | | then use these copies, rather than looking at the "global variable" Cactus parameters all over the place * given the above change, drop most #include "cctk_Parameters.h" and DECLARE_CCTK_PARAMETERS git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1320 f88db872-0e4f-0410-b76b-b9085cfa78c5
* expand/clarify comments -- no changes to executable codejthorn2004-04-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1315 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change all occurences of CCTK_VWarn(1, ...)jthorn2004-04-27
| | | | | | | | to CCTK_VWarn(SERIOUS_WARNING, ...) to make the semantics clearer git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1314 f88db872-0e4f-0410-b76b-b9085cfa78c5
* refactor some code so file naming conventions are more explicitjthorn2004-04-27
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1313 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change fatal-error CCTK_VWarn() level from -1 to 0jthorn2004-04-27
| | | | | | | * introduce SERIOUS_WARNING macro for "level 1" errors git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1312 f88db872-0e4f-0410-b76b-b9085cfa78c5
* script to select xy/xz/yz-plane from AHFinderDirect output filesjthorn2004-04-21
| | | | | | | | (this is a kludge; it would be better for AHFinderDirect to have options to output plane intersections directly) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1310 f88db872-0e4f-0410-b76b-b9085cfa78c5
* allow any number of # characters in marker commentsjthorn2004-03-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1293 f88db872-0e4f-0410-b76b-b9085cfa78c5
* document standard variable names for various data structuresjthorn2004-03-01
| | | | | | | used throughout the code git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1282 f88db872-0e4f-0410-b76b-b9085cfa78c5
* describe the rest of the files herejthorn2004-02-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1271 f88db872-0e4f-0410-b76b-b9085cfa78c5
* describe aliased_functions.ccjthorn2004-02-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1270 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Cleanup the aliased-function interface:jthorn2004-02-12
| | | | | | | | | | | | | | | | | * rename (delete-and-add in CVS :( ) the file which implements it from src/driver/horizon_radius.cc to src/driver/aliased_functions.cc * fix some off-by-one errors in checking the horizon number * add a new aliased function to allow querying of whether or not a given horizon was found the last time we looked for it * all the aliased functions are now *functions* returning a status code (>= 0 for ok, < 0 for error), instead of subroutines before * document the whole thing in the thorn guide (this was missing before :( ) N.b. you will need a make YOUR_CONFIG_NAME-cleandeps after this cvs update git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1267 f88db872-0e4f-0410-b76b-b9085cfa78c5
* turn off the assert() calls which (I think/hope) are causing somejthorn2004-02-04
| | | | | | | runs to die -- I don't know just what's wrong, alas :( :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1260 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add some comments for broadcast_horizon_data()jthorn2004-02-03
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1257 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Fix typo in commentschnetter2004-01-18
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1249 f88db872-0e4f-0410-b76b-b9085cfa78c5
* delete comment describing no-longer-existing functionsjthorn2003-12-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1230 f88db872-0e4f-0410-b76b-b9085cfa78c5
* describe cctest/ directoryjthorn2003-12-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1227 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Add proper CXXFLAGS to disable automatic template instantiation on DEC Alphastradke2003-12-12
| | | | | | | with native C++. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1226 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add a new parameter:jthorn2003-12-06
| | | | | | | | | | | | | | | | | # # To detect some divergence cases faster, we also deem any horizon where # the infinity-norm of Theta exceeds this parameter, to be "not found". # The default is effectively "no limit". # real max_allowable_Theta \ "max ||Theta||_infinity allowed for any trial surface \ before we give up and say we can't find this horizon" { (0.0:* :: "any positive real number" } 1.0e10 git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1225 f88db872-0e4f-0410-b76b-b9085cfa78c5
* new file I forgot to add before -- needed for thejthorn2003-12-03
| | | | | | | | (experimental, not-yet-tested-well, not-yet-documented-at-all) function-aliasing interface for other thorns to query the AH shape git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1223 f88db872-0e4f-0410-b76b-b9085cfa78c5
* At Ian Hawke's request, make the setting of an excision mask specifyablejthorn2003-12-03
| | | | | | | | | | | | | | | | on a per-horizon basis: The old parameter set_mask is now replaced by two new parameters: set_mask_for_all_horizons set_mask_for_individual_horizon[n] For most purposes, you can just change set_mask to set_mask_for_all_horizons in your parameter files. If you really want to control the setting of the mask on a per-horizon basis, read section 4.6 in the thorn guide to find out how the new parameters work. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1222 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add an ***experimental-not-tested-yet-not-documented-yet***jthorn2003-12-03
| | | | | | | | function-aliasing interface to allow other thorns to find out the AH shape git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1221 f88db872-0e4f-0410-b76b-b9085cfa78c5
* comment reformat; no change in codejthorn2003-11-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1219 f88db872-0e4f-0410-b76b-b9085cfa78c5
* expand/clarify comment wording on min_horizon_radius_points_for_mask ↵jthorn2003-11-21
| | | | | | processing git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1218 f88db872-0e4f-0410-b76b-b9085cfa78c5
* revise semantics of min_horizon_radius_points_for_maskjthorn2003-11-21
| | | | | | | | | | so it now tests against the angular minimum of r_inner, not r_min (= the angular minimum of r_horizon) like it did before ... docs update will follow shortly git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1216 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename parameterjthorn2003-11-20
| | | | | | | | | | | min_horizon_size_for_mask to min_horizon_radius_points_for_mask to make its semantics clearer (thanks to Erik Schnetter for suggesting the renaming!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1209 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add new parameterjthorn2003-11-20
| | | | | | | | | | real min_horizon_size_for_mask \ "only set mask if min horizon radius >= this number of local grid spacings" docs will follow shortly... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1208 f88db872-0e4f-0410-b76b-b9085cfa78c5
* make max_allowable_horizon_radius into an array parameterjthorn2003-11-19
| | | | | | | | | so it can/must be specified for each horizon --> gives a bit more flexibility for screening out "bad" cases (alas this isn't in the thornguide yet :() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1205 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add notes on porting AHFinderDirect to a non-Cactus numrel codejthorn2003-10-24
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1197 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename local_coord_origin --> proc_coord_originjthorn2003-10-15
| | | | | | | | | | local_gridfn_dims --> proc_gridfn_dims to avoid confusion with AHFinderDirect's own concept of local coordinate origin for a Strahlkoerper (the proc_* refer to *this processor's* things) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1196 f88db872-0e4f-0410-b76b-b9085cfa78c5
* some changes to the (integer array index) <--> (floating point Cactus coords)jthorn2003-10-15
| | | | | | | | | | | | mapping data structures, inspired by Ian Hawke and worked out with help from Erik Schnetter - delete global_coord_origin[N_GRID_DIMS] because it was never used except for debug printing - switch some cctk_origin_space[...] to CCTK_ORIGIN_SPACE(...) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1195 f88db872-0e4f-0410-b76b-b9085cfa78c5
* delete find_every check from mask processingjthorn2003-09-11
| | | | | | | | | since we want to set a mask on EVERY time level and for EVERY grid even if we're only finding AHs every so often (thanks to Ian Hawke for spotting this!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1190 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change mask semantics so "offset" is always interpreted in terms ofjthorn2003-09-11
| | | | | | | | BASE grid spacings --> this is needed to keep excision consistent when doing mesh refinement (thanks to Ian Hawke for spotting this) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1187 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move lots and lots of code into C++ namespace AHFinderDirectjthorn2003-08-18
| | | | | | | so it can't conflict with stuff in other thorns git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1184 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change the code so AHFinderDirect can tell DriftCorrect about ajthorn2003-08-01
| | | | | | | | | specified AH centroid -- this uses the new function-aliasing DriftCorrect interface developed by Peter Diener and myself (with much assistance from Ian Hawke) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1174 f88db872-0e4f-0410-b76b-b9085cfa78c5
* redo the previous fix for "core dumps if N_horizons = 0"jthorn2003-08-01
| | | | | | | in a nicer way git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1173 f88db872-0e4f-0410-b76b-b9085cfa78c5
* do nothing gracefully if N_horizons is set to 0jthorn2003-07-31
| | | | | | | (previously we core-dumped -- thanks to Ian Hawke for spotting this!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1171 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename makefile to Makefile to stand out from other files injthorn2003-07-31
| | | | | | | | this directory; since this directory is never seen by the Cactus build system there's no problem with either name... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1170 f88db872-0e4f-0410-b76b-b9085cfa78c5
* we don't want a (non--no-op) default target in this makefilejthorn2003-07-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1169 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename makefile to Makefile.standalonejthorn2003-07-31
| | | | | | | | since the latter is the Cactus standard and doesn't interfere with the Cactus build systems on Windoze systems git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1168 f88db872-0e4f-0410-b76b-b9085cfa78c5
* we don't want a default target here!jthorn2003-07-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1167 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename standalone-test Makefile to what is now the Cactus standard namejthorn2003-07-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1166 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add an explanatory commentjthorn2003-07-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1165 f88db872-0e4f-0410-b76b-b9085cfa78c5
* switch from using Cactus parameter N_horizons to using our own internal copyjthorn2003-07-31
| | | | | | | (this slightly lowers our coupling to Cactus) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1164 f88db872-0e4f-0410-b76b-b9085cfa78c5
* - inherit from IOjthorn2003-07-29
| | | | | | | | | | | | - add new parameters BH_diagnostics_directory h_directory which both default to IO::out_dir - change code to use these for output directories - change code to auto-create output directories if they don't already exist git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1157 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename parametersjthorn2003-07-28
| | | | | | | | | | how_often_to_output_h --> output_h_every how_often_to_output_Theta --> output_Theta_every to match the usual Cactus convention for "*_every" parameters (including our own find_every parameter) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1154 f88db872-0e4f-0410-b76b-b9085cfa78c5
* replace Boolean parameter find_AHsjthorn2003-07-28
| | | | | | | | | | | with new integer parameter find_every so user can choose how often to find AHs (with Carpet, at present you can only find AHs on a time level where the coarsest grid is defined ==> you must use find_every ) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1153 f88db872-0e4f-0410-b76b-b9085cfa78c5