aboutsummaryrefslogtreecommitdiff
path: root/src/patch
Commit message (Collapse)AuthorAge
...
* make more metadata explicit in the ASCI data file output format:jthorn2002-09-25
| | | | | | | | * ad N_patches=%d comment * for each patch, add N_irho=%d and N_isigma=%d comments git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@767 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add effective_N_i{rho,sigma}()jthorn2002-09-25
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@766 f88db872-0e4f-0410-b76b-b9085cfa78c5
* when we have a default argument to a C++ function, only give thejthorn2002-09-20
| | | | | | | | | | | | | | | | | | default in the .hh file -- in the .cc file you're not supposed to repeat it (it's now in /* comments /), eg // foo.hh void foo(int x, int y = 0); // foo.cc #include "foo.hh" void foo(int x, int y /* = 0 */) { // ... } git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@763 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove an unused variable caught by gccjthorn2002-09-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@762 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix a syntax botch which slipped through g++ -- thanks to Peter Dienerjthorn2002-09-17
| | | | | | | and icc for spotting this one! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@753 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change from $Id: to $Header:jthorn2002-09-16
| | | | | | | | | | | * change from local_coords::set_* to local_coords::coords_set_* to reduce risks of accidental name collisions * add integration_method__automatic_choice option to enum integration_method and to patch::decode_integration_method() and to patch::integration_coeff() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@746 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change local_coords::set_* to local_coords::coords_set_*jthorn2002-09-16
| | | | | | | to reduce the chances of accidental name collisions git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@745 f88db872-0e4f-0410-b76b-b9085cfa78c5
* local_coords:: xyz_of_r_mu_nu(), xyz_of_r_mu_phi(), xyz_of_r_nu_phi()jthorn2002-09-15
| | | | | | | | | | | | | | all failed assert() checks on the signs of xyz if r == 0. Since xyz were in fact correct (all 0), just make these assert() checks conditional on r != 0.0. ==> bug fixed also add assert(r != 0.0) checks before 1/r computations in local_coords:: partial_xyz_wrt_r_mu_nu(), partial_xyz_wrt_r_mu_phi(), partial_xyz_wrt_r_nu_phi() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@734 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove debugging code from patch_system::integrate_gridfn()jthorn2002-09-13
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@732 f88db872-0e4f-0410-b76b-b9085cfa78c5
* - add partial_[xyz]_wrt_r to partial_xyz_wrt_r_rho_sigma() & friendsjthorn2002-09-13
| | | | | | | | | - add dh/drho and dh/dsigma terms to Jacobian computation for surface integrals ==> now works to very high accuracy even when Schw BH is offset from origin git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@731 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
* add patch::partial_xyz_wrt_rho_sigma()jthorn2002-09-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@725 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add functions to compute partial {x,y,z} / partial {mu,nu,phi}jthorn2002-09-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@724 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add code to compute surface integrals of gridfns over patchesjthorn2002-09-11
| | | | | | | | and over the whole patch system -- note the volume element isn't included yet git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@709 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add routines to compute norms of gridfnsjthorn2002-09-03
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@701 f88db872-0e4f-0410-b76b-b9085cfa78c5
* whitespace changes, rename is_valid_nominal_gfn() --> is_valid_gfn()jthorn2002-09-03
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@700 f88db872-0e4f-0410-b76b-b9085cfa78c5
* merge in changes from laptop:jthorn2002-08-12
| | | | | | | | | | | | | | | | | | | - fix nasty bug in interpatch_ghost_zone::min_ipar() and interpatch_ghost_zone::max_ipar() where we used the corners when we shouldn't - fix similar bug in interpatch_ghost_zone::finish_setup() where we used *our* adjacent ghost zone types to decide what to tell the other patch's patch_interp object about whether or not to use its min/max par corners -- this should be the *other* patch's adjacent ghost zones - rename that to min/max par ghost zones - rename some other functions - finish implementing patch_system::synchronize_Jacobian() to properly take into account the 3-phase algorithm of patch_system::synchronize() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@693 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename N_possible_sides to N_sidesjthorn2002-08-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@692 f88db872-0e4f-0410-b76b-b9085cfa78c5
* reorder C++ using directivesjthorn2002-08-12
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@691 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename symmetry_ghost_zone::sign_of_ipar_map() --> fp_sign_of_ipar_map()jthorn2002-08-06
| | | | | | | for better consistency with fp_sign_of_iperp_map() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@690 f88db872-0e4f-0410-b76b-b9085cfa78c5
* update comments in compute_synchronize_Jacobian() and synchronize_Jacobian()jthorn2002-08-06
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@689 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix header commentjthorn2002-08-06
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@688 f88db872-0e4f-0410-b76b-b9085cfa78c5
* switch to new do-everything-in-one-call synchronize Jacobian interfacejthorn2002-08-06
| | | | | | | in patch_system:: git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@687 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add comment to patch_system::compute_synchronize_Jacobian()jthorn2002-08-06
| | | | | | | | describing how to compute the Jacobian taking into account the 3-phase algorithm git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@686 f88db872-0e4f-0410-b76b-b9085cfa78c5
* switch to molecule-at-a-time interface to access synchronize_Jacobian()jthorn2002-08-06
| | | | | | | results git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@685 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add patch::symmetry_ghost_zone_on_edge()jthorn2002-08-06
| | | | | | | | for symmetry with patch::interpatch_ghost_zone_on_edge() and because it's useful in patch_system::synchronize_Jacobian() et al git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@684 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
* fix commentjthorn2002-08-01
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@680 f88db872-0e4f-0410-b76b-b9085cfa78c5
* permute order of various functions in these files for greater clarityjthorn2002-08-01
| | | | | | | -- no changes to actual code git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@679 f88db872-0e4f-0410-b76b-b9085cfa78c5
* since we always use the want_{min,max}_par_corner flags with the samejthorn2002-07-31
| | | | | | | | | | | | | | | values in patch_system::synchronize() --> ghost_zone::synchronize(), merge them together --> ghost_zone::synchronize() now takes just want_corners() and want_non_corner() flags also slightly tidy the logic in interpatch_ghost_zone::synchronize() and interpatch_ghost_zone::synchronize_Jacobian(), since we only have to check 2 flags instead of 3 git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@675 f88db872-0e4f-0410-b76b-b9085cfa78c5
* merge in changes from laptop:jthorn2002-07-29
| | | | | | | | | - add support for condition number estimating when solving linear system - cleanup Schw/EF analytic geometry option - add option to dump h and H at each Newton iteration for debuggin git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@669 f88db872-0e4f-0410-b76b-b9085cfa78c5
* re-sync changes from laptopjthorn2002-07-26
| | | | | | | | - parameter to control how Jacobian is computed - can hardwire geometry to Schwarzschild/EF git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@661 f88db872-0e4f-0410-b76b-b9085cfa78c5
* various changes including d/dr terms in Jacobian by numerical perturbation,jthorn2002-07-22
| | | | | | | | | tweak I/O parameters, move printing Jacobian out of Jacobian class into test driver, drop unused array BLAS routines in jtutil:: git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@654 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add a whole bunch of changes from working at homejthorn2002-07-22
| | | | | | | --> AHFinderDirect now finds AH correctly for Kerr/offset!!! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@648 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move Jacobian.cc to ../elliptic/jthorn2002-07-18
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@641 f88db872-0e4f-0410-b76b-b9085cfa78c5
* changes to compute Jacobian coefficients properlyjthorn2002-07-18
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@632 f88db872-0e4f-0410-b76b-b9085cfa78c5
* changes so I can compile the full horizon testjthorn2002-07-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@629 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
* #include "fake_cctk.h" if we're doing a standalone test compilationjthorn2002-07-08
| | | | | | | \--> test-coords.cc and test_coords2.cc now work again! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@617 f88db872-0e4f-0410-b76b-b9085cfa78c5
* define STANDALONE_TEST for standalone (non-Cactus) test compilationsjthorn2002-07-08
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@616 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
* add support for computing 0-origin grid point numbers across all patchesjthorn2002-07-08
| | | | | | | and converting these <--> (patch,irho,isigma) triples git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@614 f88db872-0e4f-0410-b76b-b9085cfa78c5
* added a bunch of functions to convert (irho,isigma) <-->jthorn2002-07-08
| | | | | | | 0-origin grid point numbers within a patch (either nominal or ghosted) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@613 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * make want_*_corner arguments optional (default = true) for interpatch ghostjthorn2002-07-08
| | | | | | | | | | | zone synchronize and Jacobian fns * rename Jacobian_y_min_ipar_m() --> Jacobian_min_y_ipar_m() etc etc * change interpatch_ghost_zone::Jacobian() to only accept in-range y_ipar_m coords (assert failure if out of range) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@612 f88db872-0e4f-0410-b76b-b9085cfa78c5
* note new "fake_cctk.h" and use it in standalone test buildsjthorn2002-07-08
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@611 f88db872-0e4f-0410-b76b-b9085cfa78c5
* describe test drivers, coord_derivs.*jthorn2002-07-08
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@610 f88db872-0e4f-0410-b76b-b9085cfa78c5
* new files split out from patch.{cc,hh}jthorn2002-07-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@606 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
* don't need these any more with new #include organizationjthorn2002-07-01
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@604 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