aboutsummaryrefslogtreecommitdiff
path: root/src/patch/patch_system.hh
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* * 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
* 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
* * 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
* 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 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 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
* - 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
* 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 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* * 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
* finish ghost-zone and patch-interp Jacobian support -- yea!!!!jthorn2002-06-28
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@598 f88db872-0e4f-0410-b76b-b9085cfa78c5
* permute the order of some fns in patch_system:: for clarityjthorn2002-04-22
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@571 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add ability to print gridfns with r(rho,sigma) --> global_[x,y,z] positionsjthorn2002-04-22
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@570 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add comments about contiguous-storage-across-patches assumptionsjthorn2002-04-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@547 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add functions to give low-level access to gridfn data arraysjthorn2002-04-21
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@546 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 read-gridfn functionsjthorn2002-04-17
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@535 f88db872-0e4f-0410-b76b-b9085cfa78c5
* merge common code in print nominal/ghosted routines into newjthorn2002-04-17
| | | | | | | | | | | print_unknown_gridfn() routines, both in patch:: and patch_system:: also new patch:: read routines also declarations (but no code yet) for patch_system:: read routines git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@534 f88db872-0e4f-0410-b76b-b9085cfa78c5
* drop patch_system:: routines to print a gridfn directly to an already-openjthorn2002-04-17
| | | | | | | stdio stream -- I don't think I'll ever use them git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@532 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add routines to print gridfns to named output filesjthorn2002-04-11
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@491 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
* 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
* fix a bunch more compiler-found bugs (mostly syntax errors)jthorn2002-04-07
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@460 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
* add patch_system::type_of_name()jthorn2002-04-06
| | | | | | | rename "octant" --> "+xyz octant" in patch_system::name_of_type() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@441 f88db872-0e4f-0410-b76b-b9085cfa78c5
* * fix some inconsistencies in comments/call/use ofjthorn2002-04-06
| | | | | | | | patch_system::interlink_*_patch_system() * slightly change arguments to patch_system::patch_system() git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@440 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add missing fns for ghosted min/max/N gridfnsjthorn2002-04-04
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@432 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add setup_gridfn_storage() calls in ctor,jthorn2002-04-02
| | | | | | | | | prototype in class declaration (.hh) --> still need to write the actual function (.cc) VS: ---------------------------------------------------------------------- git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@428 f88db872-0e4f-0410-b76b-b9085cfa78c5
* now properly creates ghost zones & frontiers with new Cactus interp fnsjthorn2002-04-02
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@426 f88db872-0e4f-0410-b76b-b9085cfa78c5