aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* add some new fns to determine what angular patch containsjthorn2002-10-03
| | | | | | | | | | the ray from the origin out to a given (x,y,z) --> these will be needed to suppot checking whether an arbitrary (x,y,z) is inside/outside the horizon, and also to support moving the origin point to follow a moving BH git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@789 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tweak output format for B H diagnostics when AH foundjthorn2002-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@784 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tweak formats for error norms in log outputjthorn2002-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@783 f88db872-0e4f-0410-b76b-b9085cfa78c5
* update prototype & comments for error_exit()jthorn2002-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@782 f88db872-0e4f-0410-b76b-b9085cfa78c5
* redo my error_exit() routine so thatjthorn2002-09-29
| | | | | | | | | | | | | | | | | | | | | #ifdef STANDALONE_TEST it's just what it used to be -- prints a msg to stderr and then does an exit() or abort() #else it formats the message into a buffer, removes the trailing '\n' if any, and then calls CCTK_VWarn() to print the msg andcleanly terminate the Cactus run #endif Modified Files: make.code.defn makefile Added Files: error_exit.cc test_error_exit.cc Removed Files: error_exit.c git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@781 f88db872-0e4f-0410-b76b-b9085cfa78c5
* update test results for various compilers/machinesjthorn2002-09-29
| | | | | | | with new version of tests git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@780 f88db872-0e4f-0410-b76b-b9085cfa78c5
* moved down into namespace/ subdirectoryjthorn2002-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@779 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename file since it's now multilingual C++/C/Fortranjthorn2002-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@778 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
* new version of C++ namespace portability testsjthorn2002-09-29
| | | | | | | | | -- test more different ways of organizing the code -- new naming scheme -- subdirectories to reduce file clutter git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@776 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move these all to new subdirectory namespace/jthorn2002-09-29
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@775 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
* add test results for gcc 3.2jthorn2002-09-26
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@771 f88db872-0e4f-0410-b76b-b9085cfa78c5
* record status of namespace tests on various machines/conmpilersjthorn2002-09-25
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@770 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * add comments in makefile to describe targetsjthorn2002-09-25
| | | | | | | * rename test cases to clarify what they do git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@769 f88db872-0e4f-0410-b76b-b9085cfa78c5
* makefilejthorn2002-09-25
| | | | | | | | * add clean-namespace target * fix test cass to actually test what they say they test... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@768 f88db872-0e4f-0410-b76b-b9085cfa78c5
* 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
* test programs for various compiler featuresjthorn2002-09-25
| | | | | | | ... currently only ests namespaces (&& doesn't even work quite right, either :() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@765 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 typo in a CCTK_VWarn() args listjthorn2002-09-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@761 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@760 f88db872-0e4f-0410-b76b-b9085cfa78c5
* remove some unused variables caught by gccjthorn2002-09-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@759 f88db872-0e4f-0410-b76b-b9085cfa78c5
* comment and whitespace changes onlyjthorn2002-09-20
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@758 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * add #include of "config.hh" so we know what Jacobian types are configuredjthorn2002-09-20
| | | | | | | * change C++ to C-style comments on #endif lines git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@757 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * remove space before #define to work around a Cactus preprocessor bugjthorn2002-09-20
| | | | | | | | | * convert to C-style comments * move typedefs into #ifdef CCODE ==> can now be #included by Fortran code too git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@756 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
* explain what this directory is forjthorn2002-09-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@752 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add files I forgot to checkin to cvs before :)jthorn2002-09-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@751 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change from $Id: to $Header:jthorn2002-09-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@749 f88db872-0e4f-0410-b76b-b9085cfa78c5
* expand commentsjthorn2002-09-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@748 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change from $Id: to $Header:jthorn2002-09-16
| | | | | | | * put LAPACK wrapper functions inside #ifdef HAVE_DENSE_JACOBIAN git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@747 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
* change '$Id:' to '$Header:'jthorn2002-09-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@744 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change $Id: to $Header:jthorn2002-09-16
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@743 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * change $Id: to $Header:jthorn2002-09-16
| | | | | | | * tweak comments git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@742 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add output_ghost_zones_for_h optionjthorn2002-09-15
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@736 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change from initial_guess__Kerr__* parameters (for both Kerr/Kerr andjthorn2002-09-15
| | | | | | | | | Kerr/Kerr-Schild) into separate initial_guess__Kerr_Kerr__* and initial_guess__Kerr_KerrSchild__* parameters, to match the thorn Exact convention git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@735 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
* change $Id:$ --> $Header:$jthorn2002-09-13
| | | | | | | | | rename src/util/ --> src/patch/ add Jacobian code for computing surface integrals add support for choosing ASCII or HDF5 data files (HDF5 not implemented yet) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@727 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
* clean up LAPACK configuration -- now does it properly, the same wayjthorn2002-09-11
| | | | | | | the elliptic-solver thorns do PETSc git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@722 f88db872-0e4f-0410-b76b-b9085cfa78c5
* describe files in this directoryjthorn2002-09-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@720 f88db872-0e4f-0410-b76b-b9085cfa78c5
* - add const qualifiers to some patchesjthorn2002-09-11
| | | | | | | - s/"AHFinderDirect.hh"/"driver.hh"/ git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@719 f88db872-0e4f-0410-b76b-b9085cfa78c5