aboutsummaryrefslogtreecommitdiff
path: root/src/patch/test_patch_system.cc
Commit message (Collapse)AuthorAge
* 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
* 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
* * 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
* * 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
* *** empty log message ***jthorn2002-10-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@874 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
* - rename "config.hh" to "config.h" since it's now C++/C/Fortranjthorn2002-09-29
| | | | | | | | | | | | minor code tweaks for better portability (std:: namespace stuff) - switch all (new-style) #include <cstdio> style includes back to (old-style) #include <stdio.h> style - drop all using std::printf; declarations - change all uses of std::min and std::max to jtuti:: instead - drop all explicit std:: qualifiers git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@777 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add extra { } around for loops so the code is now agnosticjthorn2002-09-26
| | | | | | | with regards to modern vs archaic for-loop declaration scope git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@773 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change from $Id:$ to $Header:$jthorn2002-09-13
| | | | | | | | fix a bug in local_coords::partial_xyz_wrt_mu_nu() redo Jacobian computation for surface integrals git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@730 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename test_synchronize_Jacobians() --> test_ghost_zone_Jacobian()jthorn2002-08-01
| | | | | | | to make it clearer what the test does -- also change parameter accordingly git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@681 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add a bunch more support code for Jacobians,jthorn2002-07-16
| | | | | | | also rename patch_system::synchronize_ghost_zones() --> synchronize() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@628 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add a test for the 0-origin grid point number across patchesjthorn2002-07-08
| | | | | | | <--> (patch,irho,isigma) conversions git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@615 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * finish Jacobian support in src/utiljthorn2002-07-04
| | | | | | | | | * test driver for this in src/util/test_patch_system.cc --> IT WORKS!!!!! * also fix comments on #include prerequisites to say ../jtutil/ not jt/ git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@605 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * redo min_ipar() and max_ipar() functions in ghost_zone::jthorn2002-07-01
| | | | | | | | | | | | | | | | | --> now these are virtual and take iperp as an argument (ignored for symmetry_ghost_zone) --> new functions extreme_min_ipar() and extreme_max_ipar() to give the extreme range (may even be a bit conservative), i.e. the range including all of the corners * fix a bug in patch_interp::molecule_minmax_ipar_m() where we mistakenly returned the min ipar m for both the min and max returns :( * finish modifying the src/util/test_patch_system.cc test driver to test the Jacobian computation git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@603 f88db872-0e4f-0410-b76b-b9085cfa78c5
* complete interpatch-interpolation Jacobian codejthorn2002-06-30
| | | | | | | add 1st draft of code in src/util/test_patch_system.cc to test this git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@600 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * switch to new #include scheme: we include stuff from . and ../includejthorn2002-06-24
| | | | | | | | | directly, anything else will be via ../whereever/file.hh paths * rework the Jaocbian query code in patch_interp.{cc,hh} to split this out from the interpolation code --> should be simpler/clearer git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@591 f88db872-0e4f-0410-b76b-b9085cfa78c5
* test patch_system::read_ghosted_gridfn() --> now works!jthorn2002-04-17
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@536 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add missing .dat to output file namejthorn2002-04-17
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@533 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move floating-point configuration to new header file src/config.hhjthorn2002-04-13
| | | | | | | and change everyone else to #include this git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@500 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix syntax botch in last commitjthorn2002-04-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@494 f88db872-0e4f-0410-b76b-b9085cfa78c5
* output named gridfns directly -- get rid of params to specify file namesjthorn2002-04-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@492 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add facility to print a 2nd gridfnjthorn2002-04-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@489 f88db872-0e4f-0410-b76b-b9085cfa78c5
* finish renaming patch_frontierjthorn2002-04-10
| | | | | | | | | | | | | | | --> patch_interp object, a.k.a. "patch interpolation region" change ownership of new patch_interp from patch as owner to interpatch_ghost_zone change setup_*_ghost_zone() fns to return void rather than refs to newly-constructed ghost zone objects clarify a bunch of comments git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@477 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename patch_frontier --> patch_interp everywherejthorn2002-04-10
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@475 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix a bug in taking derivatives (used nominal instead of ghosted gridfns)jthorn2002-04-09
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@471 f88db872-0e4f-0410-b76b-b9085cfa78c5
* assorted changes to start doing ghost-zone and derivative testsjthorn2002-04-09
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@468 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move a bunch of logic out of interpatch_ghost_zone::interpatch_ghost_zone()jthorn2002-04-08
| | | | | | | | | down into interpatch_ghost_zone::finish_setup() since it needs to look at types of adjacent-side ghost zones, also rename a bunch of other patch-system-setup logic git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@466 f88db872-0e4f-0410-b76b-b9085cfa78c5
* patch_system.ccjthorn2002-04-07
| | | | | | | | | | | fix an awful/trivial bug (missing break; in switch) test_patch_system.cc comment out cctk_Arguments and CCTK_ARGUMENTS stuff to work around Cactus bugs git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@463 f88db872-0e4f-0410-b76b-b9085cfa78c5
* more compiler-found changes --> !!!first clean compile!!!jthorn2002-04-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@461 f88db872-0e4f-0410-b76b-b9085cfa78c5
* many small mods to fix compiler-detected errors in 1st compiles afterjthorn2002-04-07
| | | | | | | the last few weeks rewrites --> not quite "clean compile" yet :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@457 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove most of the old code, start over again with a *very* simplejthorn2002-04-06
| | | | | | | test... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@448 f88db872-0e4f-0410-b76b-b9085cfa78c5
* oops, needed to change the C++ code to actually *use* the new Maple output!jthorn2001-09-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@347 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change test fn for FD tests slightly,jthorn2001-09-15
| | | | | | | | and more importantly, use the *SAME* test fn for both C++ and Maple code! (before C++ had sin(4.0*rho) while Maple had sin(rho) :( :( :( ) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@346 f88db872-0e4f-0410-b76b-b9085cfa78c5
* minor tweak to fn_rho_sigma()jthorn2001-09-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@345 f88db872-0e4f-0410-b76b-b9085cfa78c5
* whitespace tweak -- no code changesjthorn2001-09-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@343 f88db872-0e4f-0410-b76b-b9085cfa78c5
* slightly change command-line arg stringsjthorn2001-09-14
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@342 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add more error-checking for cmd-line argsjthorn2001-09-14
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@341 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tweak logic for selecting which gridfn we want to printjthorn2001-09-14
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@339 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add more status msgsjthorn2001-09-14
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@337 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix some more bugs in how we symmetrize the test fn(x,y,z)jthorn2001-09-14
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@329 f88db872-0e4f-0410-b76b-b9085cfa78c5
* properly modularize symmetrizing the xyz test fnjthorn2001-09-14
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@328 f88db872-0e4f-0410-b76b-b9085cfa78c5
* properly symmetrize test data when setting up xyz gridfnjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@322 f88db872-0e4f-0410-b76b-b9085cfa78c5
* include spaces when echoing cmd-line argsjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@321 f88db872-0e4f-0410-b76b-b9085cfa78c5
* syntax bugfix in last checkinjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@320 f88db872-0e4f-0410-b76b-b9085cfa78c5
* allow selection of which gridfn to print; also echo command line argsjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@319 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix gridfn_minus() to do ghost zones if requestedjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@318 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix botch in last checkinjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@309 f88db872-0e4f-0410-b76b-b9085cfa78c5
* use nonzero gfn_min to exercise code more thoroughlyjthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@308 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move global gfn variables into main::jthorn2001-09-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@307 f88db872-0e4f-0410-b76b-b9085cfa78c5