aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* 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
* restore explicit jtutil:: namespace qualifiers on template instantiationjthorn2002-10-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@808 f88db872-0e4f-0410-b76b-b9085cfa78c5
* redo tests for origin.aei.mpg.dejthorn2002-10-07
| | | | | | | with latest version of namespace/ and with vector/ git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@807 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add results for gcc 3.2, redhat cc 2.96, and icc 5.0.1jthorn2002-10-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@806 f88db872-0e4f-0410-b76b-b9085cfa78c5
* still another syntax tweak -- had a namespace qualifier wrong beforejthorn2002-10-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@805 f88db872-0e4f-0410-b76b-b9085cfa78c5
* reorganize the way we do the initial data setup:jthorn2002-10-07
| | | | | | | | | | | | | | | | | | | | Previously we did it one, using a routine called dirctly from the Cactus scheduler. This worked ok, but... if we tried to find an AH and failed due to the trial horizon surface falling off the edge of the grid, the next time we tried to find that horizon the surface would again be off the edge of the grid, so the finding would fail again, ... and again ..., i.e. we'd never again be able to find that horizon. Ths was ++ungood. So... this checkin changes the semantics so that each time we try to find an AH, we first test whether we need to (re)set an initial guess first. The test is that if we succeeded the most recent preceding time we tried to find this AH, then we use that AH position as our initial guess this time. Otherwise (i.e.if this is the first time we'vetried to find this AH, or if we've tried before but failed on our more recent preceding attempt), we (re)set the initial guess. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@802 f88db872-0e4f-0410-b76b-b9085cfa78c5
* READMEjthorn2002-10-07
| | | | | | | | | | | | | make.code.defn gr.hh move horizon Jacobian computation back here (used to be in ../driver) horizon_function.cc tweak some comments, make some message printing conditional on print_msg_flag git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@801 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Added Files:jthorn2002-10-07
| | | | | | | | | | | | | gr/horizon_Jacobian.cc Removed Files: driver/horizon_Jacobian.cc move this file from driver/ back to gr/ since it's not really a "driver", but rathera part of the GR computations (abeit one which doesn't know much about gr :) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@800 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Modified Files:jthorn2002-10-07
| | | | | | | | | | | | | | | | | | | | README namespace/makefile the default compiler should be g++, not gcc Added Files: vector/README vector/makefile vector/status vector/vector-global.cc vector/vector-std:std-vector.cc vector/vector-std:using-namespace-std.cc vector/vector-std:using-std-vector.cc vector/vector_h-global.cc vector/vector_h-std:std-vector.cc vector/vector_h-std:using-namespace-std.cc vector/vector_h-std:using-std-vector.cc new set of test programs to test namespace usage for the STL vector class git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@799 f88db872-0e4f-0410-b76b-b9085cfa78c5
* try sme more syntax tweaks to see if we can get it right this timejthorn2002-10-07
| | | | | | | (icc was still complaining last time) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@798 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix a few syntx nits found by icc:jthorn2002-10-06
| | | | | | | | extra ; after closing { of namespace jtutil { ... }; missing namespace jtutil in error_exit.cc git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@797 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix template instantiation syntax for fuzzy::tolerancejthorn2002-10-06
| | | | | | | | Thanks to Thomas Mang <a9804814@unet.univie.ac.at> for answering my comp.lang.c++.moderated query on what syntax is correct here! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@796 f88db872-0e4f-0410-b76b-b9085cfa78c5
* // The first time we (try to) find a given horizon, our initialjthorn2002-10-06
| | | | | | | | | | // guess is likely to be rather inaccurate, so we may need a // larger number of iterations. But if we've found this horizon // before, then we have its previous position as an initial guess, // so we shouldn't need as many iterations. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@795 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tweak error-msg wordingsjthorn2002-10-06
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@794 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix some spelling mistakes in commentsjthorn2002-10-05
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@793 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add Peter Diener's results for icc6, hitachi, loslobosjthorn2002-10-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@792 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add support (not tested yet :)jthorn2002-10-03
| | | | | | | for CactusEinstein/StaticConformal conformal metric git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@791 f88db872-0e4f-0410-b76b-b9085cfa78c5
* minor updatesjthorn2002-10-03
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@790 f88db872-0e4f-0410-b76b-b9085cfa78c5
* 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