aboutsummaryrefslogtreecommitdiff
path: root/src/patch
Commit message (Collapse)AuthorAge
* Use optional HDF5 capabilityhinder2012-05-14
| | | | | | The previous method no longer works git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1565 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Correct commentschnetter2009-02-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1538 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Make "Erik" branch the default trunk for AHFinderDirect.svnadmin2008-06-26
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1526 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix a C++ namespaces bug found by Erik:jthorn2005-02-01
| | | | | | | | | | | | | | | error_exit() was declared extern "C" --> it wasn't namespace-mangled --> it could conflict with a similar error_exit() in another thorn although this fix touches a *lot* of files, it's conceptually simple: * error_exit() is not extern "C" any more * everything in src/jtutil/ (which used to be in the jtutil:: namespace) is now in the AHFinderDirect::jtutil:: namespace --> all C++ code in this thorn is now inside the AHFinderDirect:: namespace git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1395 f88db872-0e4f-0410-b76b-b9085cfa78c5
* print_unknown_gridfn():jthorn2004-10-04
| | | | | | | | | add an "origin" comment to the output file to match Erik's branch --> helps with visualization, we hope git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1385 f88db872-0e4f-0410-b76b-b9085cfa78c5
* disable automagic template instantiation on SGI CC compilerjthorn2004-07-01
| | | | | | | | | | | | because it's totally broken: if file A contains #include "../jtutil/array.hh" the compiler tries to also #include "../jtutil/array.cc" (even though I didn't ask for that file)... then it gets fatal errors when it can't resolve relative include paths for *that* file :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1375 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 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
* 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
* 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
* 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
* 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
* 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
* * 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
* tiny code tweakjthorn2003-05-09
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1054 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add /*NOTREACHED*/ comments after some error_exit() callsjthorn2003-05-06
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1049 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change (r,(mu,nu,phi)) --> (x,y,z) coordinate conversion functions sojthorn2003-04-10
| | | | | | | | they'll work properly for r=0 -- before they (incorrectly) got an assertion failure in some of the sanity checks git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1038 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix variable argument list to properly match formatjthorn2003-03-24
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1006 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix the misfeature where the excision mask wasn't set in the symmetry zonesjthorn2003-03-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1000 f88db872-0e4f-0410-b76b-b9085cfa78c5
* slightly expand FIXME comments for patch_system::plus_or_minus_xyz_patch()jthorn2003-03-20
| | | | | | | about slow vs fast implementation git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@998 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add 1st draft of support for setting an excision maskjthorn2003-03-17
| | | | | | | -- alas this doesn't work properly (yet) for multiple processors git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@975 f88db872-0e4f-0410-b76b-b9085cfa78c5
* print number of nominal/ghosted grid points when creating a new patch systemjthorn2003-03-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@967 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * merge {xy,xz,yz}_circumference() into a single circumference() functionjthorn2003-03-02
| | | | | | | | | * add flags to this and to integrate_gridfn() so it knows about the gridfn symmetry and automagically calculates what the integral would have been over the full 2-sphere git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@957 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change from 'z' to "xy" (etc) to specify the xy-planejthorn2003-03-02
| | | | | | | for integrating arc length (for BH circumference calculation) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@956 f88db872-0e4f-0410-b76b-b9085cfa78c5
* compute min/max horizon radius for each horizon foundjthorn2003-02-27
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@952 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * general tidying of multiprocessor codejthorn2003-02-16
| | | | | | | | | | | | | | * add current iteration number to what's sent to processor #0 for printing at each iteration * add a new verbosity level "algorithm debug" for what used to be #ifdef DEBUG debugging code * add new parameters & logic to set CCTK_Warn() levels for various warnings (eg AH is outside the gid, metric isn't +ve definite, etc) * restore the ability to output the horizon shape to a data file, which I mistakenly deleted a few days ago :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@947 f88db872-0e4f-0410-b76b-b9085cfa78c5
* update interpolator error return parametersjthorn2003-02-03
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@945 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * print a bit more info about setting up data structuresjthorn2003-01-30
| | | | | | | | * fix a few bugs where error messages had mismatched printf (CCTK_VWarn) formats and arguments git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@941 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * add support for sparse-matrix Jacobians ==> works!jthorn2003-01-22
| | | | | | | | | | * change default in param.ccl to use this * change default in src/include/config.h to default to no longer link in LAPACK routines * update documentation git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@931 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change patch_system::create_patches() to print the size of eachjthorn2003-01-20
| | | | | | | patch it creates git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@929 f88db872-0e4f-0410-b76b-b9085cfa78c5
* simplify logic in patch_system::create_patches()jthorn2003-01-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@928 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Change various jtutil/ templates which used to bejthorn2003-01-18
| | | | | | | | | | | | | | | | template <typename fp> to template <typename fp_t> (that is, rename the tempalte parameter from "fp" to "fp_t"). The reason for this change is that elsewhere in this thorn, I use "fp" as a typedef for CCTK_REAL (= usually a typedef for double). Using the same name for both a specific type and a template parameter may be confusing to humans. It also may be confusing the Hitachi compiler... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@925 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change to not use STL vector class any morejthorn2003-01-16
| | | | | | | | | | | (it caused portability problems on platinum) ==> move stl_vector.hh from src/include/ to archive/ directory * convert patch_system_type and initial_guess_method parameters to be array parameters, i.e. they're now set individually for each AH we want to find git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@920 f88db872-0e4f-0410-b76b-b9085cfa78c5
* try to work around some fp roundoff problems which were causingjthorn2002-11-22
| | | | | | | | | assertion failures: - fix a bunch of asserts to use my fuzzy-arithmetic classes - also guard assertions on sign(z) by a test that z is fuzzily nonzero git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@908 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change is_valid_drho() and is_valid_dsigma() to use fuzzy comparisonsjthorn2002-11-20
| | | | | | | with the patch boundaries, to work around fp roundoff problems git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@897 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change to using the "enum hack" for patch numbersjthorn2002-11-15
| | | | | | | so these are now available as array sizes etc git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@892 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add support for computing line integrals around a surfacejthorn2002-11-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@891 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add support for explicitly getting the induced 2-D (rho,sigma) metricjthorn2002-11-15
| | | | | | | add support for computing arc lengths of patches git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@890 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add explicit degree/radian conversions for rho/sigmajthorn2002-11-15
| | | | | | | add tests for whether a given drho/dsigma is valid" git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@889 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change to the "enum hack" for in-class static constantsjthorn2002-11-05
| | | | | | | because some systems don't grok them properly (linker errors ) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@885 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add compuatation and printing of mean radius for each AH foundjthorn2002-11-04
| | | | | | | | | | | | | | | | | | | | | | | output format for BH info in stdout log is now INFO (AHFinderDirect): AH 1/1: r=1.86525 at (-0.000000,0.000000,-0.000000) INFO (AHFinderDirect): AH 1/1: area=45.23876324 m_irreducible=0.9486815054 and in BH_diagnostics file is now # apparent horizon 1 of 1 # # column 1 = cctk_iteration # column 2 = cctk_time # column 3 = centroid_x # column 4 = centroid_y # column 5 = centroid_z # column 6 = mean radius # column 7 = area # column 8 = m_irreducible git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@879 f88db872-0e4f-0410-b76b-b9085cfa78c5
* This log message is the one that should have been attached to thejthorn2002-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous commit, but wasn't due to an editing mistake. :( * Rename two parameters N_ghost_points --> ghost_zone_width N_overlap_points --> patch_overlap_width In both cases there's no change in semantics, "just" a name change to be clearer. * Redesign the way we specify the angular resolution: Formerly it was via a real parameter delta_drho_dsigma which gave the angular grid spacing in degrees. This was a bit clumsy -- you had to hand-calculate which spacings would evenly divide the grid sizes (typically 45 degrees, or 90 degrees for full-sphere patch systems). The new scheme uses an integer parameter N_zones_per_right_angle which gives the number of grid zones in 90 degrees, i.e. it gives 90.0/delta_drho_dsigma . This makes it easy to tell what the legal values are (integers, must be even for non-full-sphere patch systems, since they have 45-degree-wide patches). Since most par files didn't specify the old parameter, they won't need changing for the new one; another set of commits fixes all the par files in the run/ directory tree of this thorn which do specify the resolution explicitly. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@875 f88db872-0e4f-0410-b76b-b9085cfa78c5
* *** empty log message ***jthorn2002-10-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@874 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * rename some private functions, egjthorn2002-10-28
| | | | | | | | | | | | | | | | | | | | from interlink_plus_xy_quadrant_patch_system() to setup_ghost_zones__plus_xy_quadrant_mirrored() * add support for new mirrored patch system types in patch_system::patch_system() constructor * add comments in integrate_gridfn() to document silent assumptions: > // FIXME: > // It would be better to compute the full-sphere integral, but that would > // require knowing the gridfn's symmetries. > // > // FIXME: > // We silently assume that the patches butt-join, i.e. that they don't > // overlap, i.e. that N_overlap_points=1 git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@868 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add new patch system types to handle mirrored octant/quadrant cases,jthorn2002-10-28
| | | | | | | also rename some existing ones to make them consistent git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@867 f88db872-0e4f-0410-b76b-b9085cfa78c5
* expand/clarify comments about how we handle a corner between twojthorn2002-10-28
| | | | | | | symmetry ghost zones git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@866 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change implementation of operator==()jthorn2002-10-28
| | | | | | | | | | | | to check addresses rather than just patch numbers ==> will now work properly even on patches from different patch systems * rename ghost_zone_containing_point() to ghost_zone_containing_noncorner_point() and add explicit check that point isn't in corner git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@865 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add /*NOTREACHED*/ comments after error_exit() callsjthorn2002-10-08
| | | | | | | to clue the compiler in that error_exit() nver returns git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@811 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove unneeded ; injthorn2002-10-07
| | | | | | | | | | | | namespace jtutil { ... }; (icc warns about this) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@810 f88db872-0e4f-0410-b76b-b9085cfa78c5
* This change fixes problems with some compilers recognizing only <vector>,jthorn2002-10-07
| | | | | | | | | | | | | | | | | and others recognizing only <vector.h>; change from #include <vector.h> to #include "stl_vector.hh" (this now after includeing "cctk.h"), where "stl_vector.hh" is a new header file that looks at the symbols HAVE_VECTOR and HAVE_VECTOR_H (defined by Cactus at configuration time) to see what to #include and whether or not to use an explicit using declaration to bring vector into the global namespace git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@809 f88db872-0e4f-0410-b76b-b9085cfa78c5