aboutsummaryrefslogtreecommitdiff
path: root/src/CartGrid3D.c
Commit message (Collapse)AuthorAge
* Don't optimise array indexing -- use standard methodseschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@266 c78560ca-4b45-4335-b268-5f3340f3cb52
* Set cctkGH->cctk_delta_space instead of cctk_delta_spaceeschnett2011-12-01
| | | | | | | | Set cctkGH->cctk_delta_space instead of modifying cctk_delta_space; this will allow declaring cctk_delta_space as const later. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@259 c78560ca-4b45-4335-b268-5f3340f3cb52
* Implement new keyword parameter CartGrid3D::set_coordinate_ranges_on,schnetter2008-03-05
| | | | | | | | | | | which has the possible values "all grids", "all maps", or "first level". "all grids" is the default, "all maps" is for multi-patch simulations, and "first level" is for mesh refinement environments where the coarsest grid may not actually exist, such as e.g. in Paramesh. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@239 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct error in previous commitschnetter2008-02-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@237 c78560ca-4b45-4335-b268-5f3340f3cb52
* When type="multipatch", and when the aliased functionschnetter2008-02-20
| | | | | | | | | | MultiPatch_ConvertFromPhysicalBoundary is available, then call this function instead of ConvertFromPhysicalBoundary. This is necessary to set up the coordinate extent correctly when different patches have different boundary sizes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@236 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct an error with the coordinate setup on multi-block systems.schnetter2006-07-04
| | | | | | | | | | | Call CartGrid3D_SetRanges in local mode instead of singlemap mode. Re-introduce an explicit check in that routine whether it is called on the coarsest level. This is necessary because the flesh coordinate information needs to be set up according to the coarsest level's grid points. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@231 c78560ca-4b45-4335-b268-5f3340f3cb52
* Add a new manual check to ensure that the coordinate ranges are onlyschnetter2006-05-15
| | | | | | | set up once when there is mesh refinement. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@230 c78560ca-4b45-4335-b268-5f3340f3cb52
* Schedule CartGrid3D_SetRanges in singlemap mode instead of checkingschnetter2006-05-11
| | | | | | | manually whether it was called on the coarsest grid. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@229 c78560ca-4b45-4335-b268-5f3340f3cb52
* Applying Erik's patch from the Patchs list 2.12.05swhite2006-05-11
| | | | | | | CartGrid3D: Support patches with different grid spacing git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@226 c78560ca-4b45-4335-b268-5f3340f3cb52
* Use CCTK_WARN instead of CCTK_VWarn.schnetter2005-12-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@223 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fixed the set up for coordinate system tables which should be done only oncetradke2005-01-03
| | | | | | | | | | | | | | (on the coarsest refinement level). Split CartGrid3D() into two level-mode routines: * CartGrid3D_SetRanges() sets up the coordinate ranges from parameters. This is only done once (on the coarsest refinement level). * CartGrid3D_SetCoordinates() sets up the coordinate grid functions (for all levels, both in BASEGRID and REGRID). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@213 c78560ca-4b45-4335-b268-5f3340f3cb52
* assert fixyye002004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@210 c78560ca-4b45-4335-b268-5f3340f3cb52
* Added prototypes for scheduled functions.tradke2004-06-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@208 c78560ca-4b45-4335-b268-5f3340f3cb52
* Recalculate the coordinate grid functions in the postregrid bin.schnetter2004-06-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@206 c78560ca-4b45-4335-b268-5f3340f3cb52
* Removed doubly defined local variable to get rid of gcc warning.tradke2004-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@204 c78560ca-4b45-4335-b268-5f3340f3cb52
* Apply symmetry boundary conditions on all faces (not only on lower ones).tradke2004-03-04
| | | | | | | Now you can have negative octant, quadrant, etc. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@193 c78560ca-4b45-4335-b268-5f3340f3cb52
* Use the real convergence factor instead of the value 2.schnetter2004-02-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@192 c78560ca-4b45-4335-b268-5f3340f3cb52
* Hardwire convergence factor to 2schnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@191 c78560ca-4b45-4335-b268-5f3340f3cb52
* Provide a coordinate-thorn and symmetry-thorn independent way ofschnetter2004-01-19
| | | | | | | | | specifying the shape of the physical domain and the location of the boundary points. The advantage of that is that it is now much easier to change the resolution. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@190 c78560ca-4b45-4335-b268-5f3340f3cb52
* Changed the datatype of the PHYSICALMIN/PHYSICALMAX options in coordinate tablestradke2003-09-01
| | | | | | | from REAL to INT. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@184 c78560ca-4b45-4335-b268-5f3340f3cb52
* A few optimizations which also make the code more readable.tradke2003-08-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@183 c78560ca-4b45-4335-b268-5f3340f3cb52
* Remove extraneous comment. Fixes CactusBase/1593.rideout2003-08-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@182 c78560ca-4b45-4335-b268-5f3340f3cb52
* Update to use CoordBase. Registration of spher3d is deprecated.rideout2003-08-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@180 c78560ca-4b45-4335-b268-5f3340f3cb52
* Patch by Erik Schnetter: use the new macros CCTK_DELTA_SPACE andtradke2003-06-17
| | | | | | | | | CCTK_ORIGIN_SPACE to initialize the cGH structure. These changes require an update of the flesh also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@179 c78560ca-4b45-4335-b268-5f3340f3cb52
* Add a warning (level 4) is a staggered center has been requestedallen2003-06-07
| | | | | | | | | but is being ignored. Fixes Cactus/1528 git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@178 c78560ca-4b45-4335-b268-5f3340f3cb52
* From Jonathan Thornburg:tradke2003-02-12
| | | | | | | | | | | Changed #define symbol for local debugging code from CCTK_DEBUG to CARTGRID3D_DEBUG because CCTK_DEBUG is now used by the flesh to signal a DEBUG=yes configuration. From me: Untabified and removed excess spaces. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@177 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fix uninitialised variable when have mesh refinementallen2003-01-03
| | | | | | | | | Path from Erik Schnetter Closes Cactus/1310 git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@176 c78560ca-4b45-4335-b268-5f3340f3cb52
* Added parameter check to make sure only one processor is used forpollney2002-06-18
| | | | | | | the rotating symmetries. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@163 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fixed potentially uninitialized variables.tradke2002-06-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@162 c78560ca-4b45-4335-b268-5f3340f3cb52
* Added "bitant_rotate" and "quadrant_reflect_rotate" domains forpollney2002-06-10
| | | | | | | | | | systems which have a rotational symmetry. There are some notes describing these domains and the implementation in the doc directory: rotating_sym.tex Currently only works for a single processor. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@161 c78560ca-4b45-4335-b268-5f3340f3cb52
* Removed compiler warning about potentially uninitialized variables.tradke2002-04-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@153 c78560ca-4b45-4335-b268-5f3340f3cb52
* Patch from Erik Schnetter:allen2002-04-27
| | | | | | | | | | | | | the following patch (which is only as large because a part of CartGrid3D is now within an if block, changing indentation) should make CartGrid3D work with mesh refinement. I ensures that CartGrid3D calculates grid spacing, registers coordinates etc. only once, namely for the coarsest level. On finer levels, it reuses the information from the coarser levels. This patch should not make any differences to unigrid codes. It only changes behaviour when cctk_levfac[] is different from one. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@151 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fixing a few compiler warnings and Cactus/762allen2001-08-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@141 c78560ca-4b45-4335-b268-5f3340f3cb52
* Adding registration of indices for physical range of coordinates.allen2001-07-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@140 c78560ca-4b45-4335-b268-5f3340f3cb52
* Removing compiler warningallen2001-02-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@132 c78560ca-4b45-4335-b268-5f3340f3cb52
* Removing call to non-ansi function 'rint'. I had already rejected onegoodale2000-07-21
| | | | | | | | | patch with this in, so don't know how it sneaked in. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@125 c78560ca-4b45-4335-b268-5f3340f3cb52
* Bug fix for full grid avoiding originallen2000-07-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@124 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fixing stupid commit I made a couple of days ago, where I set the originallen2000-07-18
| | | | | | | to zero the whole time with a full grid! git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@123 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fixed compiler warnings about uninitialized variables, removed assert.h fromtradke2000-07-15
| | | | | | | the includes, untabified sources. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@121 c78560ca-4b45-4335-b268-5f3340f3cb52
* Bug fix from Erik Schnetterallen2000-07-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@120 c78560ca-4b45-4335-b268-5f3340f3cb52
* Removing unused variablesallen2000-07-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@119 c78560ca-4b45-4335-b268-5f3340f3cb52
* New CCTK Coordinate functionsallen2000-07-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@118 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fix from Erik for bug with odd number of grid-points, byspacing, and ↵goodale2000-05-17
| | | | | | | | | | | | avoid_origin, in which the origin wasn't avoided. This fixes PR 356. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@114 c78560ca-4b45-4335-b268-5f3340f3cb52
* enhancements to Symmetries by E.Schnetter - Thanks Eric!lanfer2000-05-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@111 c78560ca-4b45-4335-b268-5f3340f3cb52
* Removing extraneous ; .goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@106 c78560ca-4b45-4335-b268-5f3340f3cb52
* adding support for no_origin[xyz]lanfer2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@104 c78560ca-4b45-4335-b268-5f3340f3cb52
* Fixing rcsid warnings.tradke2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@103 c78560ca-4b45-4335-b268-5f3340f3cb52
* fixing PR 303: byrange in octant now keeps the xyzmax value and does not ↵lanfer2000-04-18
| | | | | | reset it git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@101 c78560ca-4b45-4335-b268-5f3340f3cb52
* Cosmetic changesallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@96 c78560ca-4b45-4335-b268-5f3340f3cb52
* Replacing CCTK_CARGUMENTS etc with CCTK_ARGUMENTSallen2000-02-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@92 c78560ca-4b45-4335-b268-5f3340f3cb52