aboutsummaryrefslogtreecommitdiff
path: root/src/driver/mask.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
* * when printing the verbose message about each grid that we're settingjthorn2006-05-25
| | | | | | | | | | a mask for, also include the grid spacing in the message (this makes it easier to identify which refinement level this is) * adjust wording of message to no longer imply that there's only a single grid (= Carpet component here) per processor git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1451 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move another mask-setting message from "algorithm debug" up tojthorn2006-05-25
| | | | | | | "algorithm details" git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1450 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change printing of messages that we're setting an excision mask, egjthorn2006-05-25
| | | | | | | | | | | | | | | | | | | INFO (AHFinderDirect): setting old-style (CCTK_REAL) mask grid function SpaceMask::emask INFO (AHFinderDirect): setting old-style (CCTK_REAL) mask grid function SpaceMask::emask INFO (AHFinderDirect): setting old-style (CCTK_REAL) mask grid function SpaceMask::emask so they're printed at "algorithm highlights" and higher verbosity settings (before they were only printed at "algorithm details" and higher settings Discussion: At "algorithm highlights" we already print a message each time we write a horizon-shape data file, and each time we set the SphericalSurface variables, so it seems consistent to also print a message each time we set an excision mask. People who don't want to see lots of output from AHFinderDirect won't be using "algorithm highlights" anyway, and so shouldn't be bothered by this change... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1449 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change the code so messagesjthorn2005-06-14
| | | | | | | | | | setting old-style (CCTK_REAL) mask ... setting new-style (CCTK_INT) mask ... will only be printed at the "algorithm details" verbosity level (formerly they'd be printed at the "algorithm highlights" level) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1422 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
* * copy Cactus parameters to our local data structures,jthorn2004-05-05
| | | | | | | | | | then use these copies, rather than looking at the "global variable" Cactus parameters all over the place * given the above change, drop most #include "cctk_Parameters.h" and DECLARE_CCTK_PARAMETERS git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1320 f88db872-0e4f-0410-b76b-b9085cfa78c5
* At Ian Hawke's request, make the setting of an excision mask specifyablejthorn2003-12-03
| | | | | | | | | | | | | | | | on a per-horizon basis: The old parameter set_mask is now replaced by two new parameters: set_mask_for_all_horizons set_mask_for_individual_horizon[n] For most purposes, you can just change set_mask to set_mask_for_all_horizons in your parameter files. If you really want to control the setting of the mask on a per-horizon basis, read section 4.6 in the thorn guide to find out how the new parameters work. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1222 f88db872-0e4f-0410-b76b-b9085cfa78c5
* expand/clarify comment wording on min_horizon_radius_points_for_mask ↵jthorn2003-11-21
| | | | | | processing git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1218 f88db872-0e4f-0410-b76b-b9085cfa78c5
* revise semantics of min_horizon_radius_points_for_maskjthorn2003-11-21
| | | | | | | | | | so it now tests against the angular minimum of r_inner, not r_min (= the angular minimum of r_horizon) like it did before ... docs update will follow shortly git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1216 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename parameterjthorn2003-11-20
| | | | | | | | | | | min_horizon_size_for_mask to min_horizon_radius_points_for_mask to make its semantics clearer (thanks to Erik Schnetter for suggesting the renaming!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1209 f88db872-0e4f-0410-b76b-b9085cfa78c5
* add new parameterjthorn2003-11-20
| | | | | | | | | | real min_horizon_size_for_mask \ "only set mask if min horizon radius >= this number of local grid spacings" docs will follow shortly... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1208 f88db872-0e4f-0410-b76b-b9085cfa78c5
* rename local_coord_origin --> proc_coord_originjthorn2003-10-15
| | | | | | | | | | local_gridfn_dims --> proc_gridfn_dims to avoid confusion with AHFinderDirect's own concept of local coordinate origin for a Strahlkoerper (the proc_* refer to *this processor's* things) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1196 f88db872-0e4f-0410-b76b-b9085cfa78c5
* some changes to the (integer array index) <--> (floating point Cactus coords)jthorn2003-10-15
| | | | | | | | | | | | mapping data structures, inspired by Ian Hawke and worked out with help from Erik Schnetter - delete global_coord_origin[N_GRID_DIMS] because it was never used except for debug printing - switch some cctk_origin_space[...] to CCTK_ORIGIN_SPACE(...) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1195 f88db872-0e4f-0410-b76b-b9085cfa78c5
* delete find_every check from mask processingjthorn2003-09-11
| | | | | | | | | since we want to set a mask on EVERY time level and for EVERY grid even if we're only finding AHs every so often (thanks to Ian Hawke for spotting this!) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1190 f88db872-0e4f-0410-b76b-b9085cfa78c5
* change mask semantics so "offset" is always interpreted in terms ofjthorn2003-09-11
| | | | | | | | BASE grid spacings --> this is needed to keep excision consistent when doing mesh refinement (thanks to Ian Hawke for spotting this) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1187 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
* add an explanatory commentjthorn2003-07-31
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1165 f88db872-0e4f-0410-b76b-b9085cfa78c5
* switch from using Cactus parameter N_horizons to using our own internal copyjthorn2003-07-31
| | | | | | | (this slightly lowers our coupling to Cactus) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1164 f88db872-0e4f-0410-b76b-b9085cfa78c5
* replace Boolean parameter find_AHsjthorn2003-07-28
| | | | | | | | | | | with new integer parameter find_every so user can choose how often to find AHs (with Carpet, at present you can only find AHs on a time level where the coarsest grid is defined ==> you must use find_every ) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1153 f88db872-0e4f-0410-b76b-b9085cfa78c5
* get rid of template function Cactus_variable_dataptr()jthorn2003-07-27
| | | | | | | | | | since it's only called twice -- just do the CCTK_VarDataPtrI() calls explicitly in the mask code --> with this change, the only templates in this thorn are in src/jtutil/ git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1151 f88db872-0e4f-0410-b76b-b9085cfa78c5
* move mask processing stuff (about the Cactus grid)jthorn2003-07-27
| | | | | | | | | | out of gr / struct cactus_grid_info into new driver / struct mask_grid_info which is private to driver/mask.cc --> also revise this info a bit to play better with Carpet git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1150 f88db872-0e4f-0410-b76b-b9085cfa78c5
* switch mask processing from being done at the tail ofjthorn2003-07-27
| | | | | | | | | AHFinderDirect_find_horizons() (which is scheduled with options:GLOBAL) into a separately scheduled routine, so we can schedle this without options:GLOBAL -- we want to set the mask on each refined subgrid! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1149 f88db872-0e4f-0410-b76b-b9085cfa78c5
* fix a bug where the old-style mask was set to the buffer valuejthorn2003-05-27
| | | | | | | | in the outside region :( :( -- thanks to Michael Koppitz for spotting this! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1070 f88db872-0e4f-0410-b76b-b9085cfa78c5
* - update to use new return codes from SpaceMask (-1=error instead of 0=error)jthorn2003-05-23
| | | | | | | | | | - split up a single huge function into several smaller/more readable subfunctions - general cleanup of the logic for the noshrink option - more documentation on same git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1061 f88db872-0e4f-0410-b76b-b9085cfa78c5
* redo excision mask:jthorn2003-05-13
| | | | | | | | | | | * there are now 3 states (inside/buffer/outside) * there is now a "noshrink" option * many other changes too -- see thorn guide for details the new excision support isn't very well tested yet :( :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1056 f88db872-0e4f-0410-b76b-b9085cfa78c5
* Add the ability to set *both* the old-style (CCTK_REAL)jthorn2003-03-25
| | | | | | | | | *and* new-style (CCTK_INT) mask simultaneously -- Frank Loeffler asked for this, since Whiskey needs it (at least until all of Cactus is converted to the new style...) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1015 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tweak info printingjthorn2003-03-17
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@984 f88db872-0e4f-0410-b76b-b9085cfa78c5
* tweak debug printingjthorn2003-03-17
| | | | git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@982 f88db872-0e4f-0410-b76b-b9085cfa78c5
* bring cvs back into line with files from my laptopjthorn2003-03-17
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@978 f88db872-0e4f-0410-b76b-b9085cfa78c5