aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* fix a typo in checking the geometry interpolator statusjthorn2003-07-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1152 f88db872-0e4f-0410-b76b-b9085cfa78c5
* get rid of template function Cactus_variable_dataptr()jthorn2003-07-27
| | | | | | | | | | since it's only called twice -- just do the CCTK_VarDataPtrI() calls explicitly in the mask code --> with this change, the only templates in this thorn are in src/jtutil/ git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1151 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move mask processing stuff (about the Cactus grid)jthorn2003-07-27
| | | | | | | | | | out of gr / struct cactus_grid_info into new driver / struct mask_grid_info which is private to driver/mask.cc --> also revise this info a bit to play better with Carpet git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1150 f88db872-0e4f-0410-b76b-b9085cfa78c5
* switch mask processing from being done at the tail ofjthorn2003-07-27
| | | | | | | | | AHFinderDirect_find_horizons() (which is scheduled with options:GLOBAL) into a separately scheduled routine, so we can schedle this without options:GLOBAL -- we want to set the mask on each refined subgrid! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1149 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change enum geometry_methodjthorn2003-07-27
| | | | | | | to bool hardwire_Schwarzschild_geometry git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1147 f88db872-0e4f-0410-b76b-b9085cfa78c5
* drop support for (optionally) using CCTK_InterpLocalUniform() instead ofjthorn2003-07-27
| | | | | | | | | | CCTK_InterpGridArrays() to interpolate the Cactus geometry grid functions to the horizon position -- this was never used in practice, and it conflicts with the changse I'm about to commit to make AHFinderDirect work properly under Carpet git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1146 f88db872-0e4f-0410-b76b-b9085cfa78c5
* finish support for +xz quadrant (mirrored) patch system typejthorn2003-07-25
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1142 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add +xz quadrant (mirrored) patch system typejthorn2003-07-25
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1141 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * add support for CCTK_InterpGridArrays() returning per-pointjthorn2003-07-24
| | | | | | | | | | | | | | interpolator status (use it if it's available, otherwise fall back to CCTK_InterpGridArrays() function result) * drop support for interpolators returning status info on which side of the grid an outside-the-grid point is outside -- this turned out to be awkward to implement in combinatino with per-point status, I only used it to produce slightly more informative error messages in a few cases (ditto in ../patch/) * convert some commented-out debugging code to #ifdef on various DEBUG symbols git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1138 f88db872-0e4f-0410-b76b-b9085cfa78c5
* drop support for CCTK_InterpLocalUniform() returning info aboutjthorn2003-07-23
| | | | | | | | which side of the grid an outside-the-grid point was outside on (i.e. error_pt et al) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1136 f88db872-0e4f-0410-b76b-b9085cfa78c5
* instead of printing the rms- and infinity-norms of Theta at each Newtonjthorn2003-07-21
| | | | | | | | iteration, change to print the mean radius of the trial surface and the infinity-norm of Theta git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1135 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix tiny typo in error message wordingjthorn2003-07-18
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1134 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add max_allowable_horizon_radiusjthorn2003-07-10
| | | | | | | | parameter to (we think) fix a serious bug where if one horizon goes off the edge of the grid, we fail to find any other horizons git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1130 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add code to automagically generate control files for Thomas Radke'sjthorn2003-07-07
| | | | | | | | | | | | | | | | | | | | | | | | new OpenDX macros (which can read AHFinderDirect gnuplot-format output files) > Update of /numrelcvs/AEIPhysics/Visualization/OpenDX/Macros > In directory cvsserv:/tmp/cvs-serv29388 > > Added Files: > ImportAHFinderDirectGnuplot.net > ImportAHFinderDirectGnuplotPatch.net > Log Message: > > Macros which can read the AHFinderDirect gnuplot output files > directly into OpenDX. There is a new Boolean parameter output_OpenDX_control_files to control whether the control files (one per horizon) should be written, but this defaults to true, so you don't need to do anything special to get the control files. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1125 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add new parameter and code to allow computing surfaces of constant expansionjthorn2003-07-04
| | | | | | | | (the case expansion = 0 is the AH, others should be surfaces nested inside or outside the AH) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1118 f88db872-0e4f-0410-b76b-b9085cfa78c5
* at Ed's request, add 2 new columns to the BH_diagnostics file,jthorn2003-07-04
| | | | | | | giving the polar/equatorial circumference ratios git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1115 f88db872-0e4f-0410-b76b-b9085cfa78c5
* further explanations of this thorn's programming stylejthorn2003-06-23
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1107 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change convergence criterion to fix a bug (which I introducedjthorn2003-06-12
| | | | | | | | | | | when modifying these subroutines in 1989) which causes the conjugate gradient iteration to spuriously claim "convergence" after way too few iterations (sometimes only 1 iteration) if the rhs vector is very small (as it is when AHFinderDirect has almost -- but not quite -- converged to the apparent horizon) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1106 f88db872-0e4f-0410-b76b-b9085cfa78c5
* oops -- we want UMFPACK to be configured with C "int", not "long"jthorn2003-06-04
| | | | | | | in order to match Fortran stuff -- I'm not quite sure why :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1105 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix a typo in CPPFLAGSjthorn2003-06-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1104 f88db872-0e4f-0410-b76b-b9085cfa78c5
* UMFPACK wants Fortran integer to be C long, not int!jthorn2003-06-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1103 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove an unused #definejthorn2003-06-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1101 f88db872-0e4f-0410-b76b-b9085cfa78c5
* oops -- we don't want to link with LAPACKjthorn2003-06-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1100 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change comments in all make.code.defn filesjthorn2003-06-04
| | | | | | | * add new sparse matrix library in src/sparse-matrix/umfpack/ git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1098 f88db872-0e4f-0410-b76b-b9085cfa78c5
* set parameter "supress_warnings" in parameter table before callingjthorn2003-06-04
| | | | | | | | CCTK_InterpGridArrays() so it doesn't print warning messages about points outside of the grid git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1097 f88db872-0e4f-0410-b76b-b9085cfa78c5
* new configuration options for sparse-matrix librariesjthorn2003-06-04
| | | | | | | -- new default is to compile in ILUCG and UMFPACK, but not LAPACK git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1096 f88db872-0e4f-0410-b76b-b9085cfa78c5
* new parameters for sparse-matrix librariesjthorn2003-06-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1095 f88db872-0e4f-0410-b76b-b9085cfa78c5
* many changes tojthorn2003-06-04
| | | | | | | | | | * use UMFPACK sparse matrix library * use new ILUCG sparse matrix library API * allow passing Cactus parameters down into the linear solvers * fix assorted small bugs git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1094 f88db872-0e4f-0410-b76b-b9085cfa78c5
* changes to ILUCG subroutinesjthorn2003-06-04
| | | | | | | | * change interface slightly * revise convergence criteria git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1093 f88db872-0e4f-0410-b76b-b9085cfa78c5
* import the rest (of that subset that I need) of UMFPACK into CVSjthorn2003-06-04
| | | | | | | | the make.code.* and wrap* routines are mine, everything else here is from UMFPACK v4.0 git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1092 f88db872-0e4f-0410-b76b-b9085cfa78c5
* document *all* the sparse matrix routinesjthorn2003-06-02
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1091 f88db872-0e4f-0410-b76b-b9085cfa78c5
* explain my code style a bit morejthorn2003-06-02
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1090 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tiny wording tweak in an error message;jthorn2003-06-02
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1089 f88db872-0e4f-0410-b76b-b9085cfa78c5
* oops, mistakenly committed this with lots of run-time checking ofjthorn2003-06-02
| | | | | | | | internal data structures ==> made this thorn run O(10) times slower! :( (this is ok for debugging, but not for production!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1088 f88db872-0e4f-0410-b76b-b9085cfa78c5
* import of these files into AHFinderDirect cvsjthorn2003-06-02
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1087 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add 1st draft of code for UMFPACK sparse-matrix solverjthorn2003-06-02
| | | | | | | | | | -- this is not tested yet, by default this code is *not* compiled at present (#undef HAVE_ROW_SPARSE_JACOBIAN__UMFPACK in ../incloude/config.h) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1086 f88db872-0e4f-0410-b76b-b9085cfa78c5
* define fp datatype roundoff threshold,jthorn2003-06-02
| | | | | | | add definition for UMFPACK sparse solver (currently *not* compiled by default) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1085 f88db872-0e4f-0410-b76b-b9085cfa78c5