aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Replace Cactus complex number type with C/C++ complex numbersHEADsvnmastereschnett2013-03-08
| | | | | | | | | | | | | | | | Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in C++. (It is already mapped to "double complex" in Fortran.) Update type definitions. Re-implement Cactus complex number math functions by calling the respective C functions. Update thorn that access real and imaginary parts of complex numbers to use standard-conforming methods instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@268 c78560ca-4b45-4335-b268-5f3340f3cb52
* Introduce alias SpatialSpacings, add WRITES clauseseschnett2013-01-15
| | | | | | | | | | | | Introduce alias SpatialSpacings for the routine setting the spatial grid spacings. Add WRITES clauses. Both are needed for runs with OpenCL. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@267 c78560ca-4b45-4335-b268-5f3340f3cb52
* 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
* Support array padding (take cctk_ash into account)eschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@265 c78560ca-4b45-4335-b268-5f3340f3cb52
* Introduce cctk_ash, retire cctk_lssheschnett2012-07-04
| | | | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@262 c78560ca-4b45-4335-b268-5f3340f3cb52
* Document deprecation of CartGrid3D symmetrieshinder2012-04-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@260 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
* Include Licence in READMEknarf2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@247 c78560ca-4b45-4335-b268-5f3340f3cb52
* Unify README file formatknarf2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@246 c78560ca-4b45-4335-b268-5f3340f3cb52
* use correct latex package, typoknarf2009-01-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@245 c78560ca-4b45-4335-b268-5f3340f3cb52
* fixing configuration.cclyye002008-05-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@244 c78560ca-4b45-4335-b268-5f3340f3cb52
* fixing wrong commityye002008-05-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@243 c78560ca-4b45-4335-b268-5f3340f3cb52
* fixing wrong commityye002008-05-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@242 c78560ca-4b45-4335-b268-5f3340f3cb52
* worng commit, fixingyye002008-05-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@241 c78560ca-4b45-4335-b268-5f3340f3cb52
* need this thorn to be update to date for funwaveyye002008-05-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@240 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
* Set up coordinates again after regridding the initial dataschnetter2008-02-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@238 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
* Replace #ifdef CCTK_INT1 with #ifdef HAVE_CCTK_INT1, etc., for variousschnetter2008-02-20
| | | | | | | variable types. HAVE_CCTK_* is now preferred. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@235 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct function prototypes: Functions in the startup bin must returnschnetter2008-02-20
| | | | | | | | int, not void. Functions in other bins must return void, not int. None of the function can return an error code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@234 c78560ca-4b45-4335-b268-5f3340f3cb52
* Initialise all entries in the symmetry[3] array passed by the user intotradke2007-02-16
| | | | | | | | | GetCartSymVI() to GFSYM_UNKNOWN (0), then set symmetries for individual dimensions. This makes sure that GetCartSymVI() always returns a defined set of symmetry values. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@233 c78560ca-4b45-4335-b268-5f3340f3cb52
* check the varindex argument passed into GetCartSymVI() and SetCartSymVI()tradke2007-02-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@232 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
* Slight modification of the just committed patchtradke2006-05-11
| | | | | | | | | http://www.cactuscode.org/pipermail/patches/2006-March/000154.html: Pass the number type as a macro argument, rather than defining it as a macro itself. This shortens the code somewhat, no functionality has changed. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@228 c78560ca-4b45-4335-b268-5f3340f3cb52
* This applies Steve White's patchtradke2006-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | http://www.cactuscode.org/pipermail/patches/2006-March/000154.html: Intel icc complains about lots of questionabale type conversions in CartGrid3D/src/Symmetry.c. Find attached a patch, to be applied from within the CartGrid3D directory. Notes ----- * Code is macros within macros within macros that depend on outside entities. Sometimes a type name is passed. * The innermost macro performs the type conversion * A typename is passed, but unfortunately, it isn't always the type being converted. Sometimes it's a CCTK_COMPLEX type, but the type being converted is only a component of the complex. Solution -------- Invented a new preprocessor symbol, NUMBER_TYPE, which indicates the of a scalar multiplication. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@227 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
* Register coordinate system only once in mesh refinement environmentsschnetter2006-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@225 c78560ca-4b45-4335-b268-5f3340f3cb52
* these files oughtn't to have been committedswhite2006-03-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@224 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
* When scheduling CartGrid3D_SetCoordinates at CCTK_POSTREGRID, scheduleschnetter2005-12-02
| | | | | | | | it "as SpatialCoordinates", same as is done when it is scheduled at CCTK_BASEGRID. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@222 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@221 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@220 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct email address of Cactus maintainers.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@219 c78560ca-4b45-4335-b268-5f3340f3cb52
* Tag Grid::gridspacings and Grid::coordinates with 'Checkpoint="no"'.tradke2005-09-15
| | | | | | | This is patch http://www.cactuscode.org/pipermail/patches/2005-September/000076.html. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@217 c78560ca-4b45-4335-b268-5f3340f3cb52
* Use CCTK_BYTE instead of CCTK_CHARschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@215 c78560ca-4b45-4335-b268-5f3340f3cb52
* First cut at reducing compilation time/load of this file. Havegoodale2005-01-29
| | | | | | | | halved the time. Needs a bit of tidying and could be made a bit more efficient. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@214 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
* Removing comments or blank string after continuation line marker. Thegoodale2004-08-17
| | | | | | | continuation MUST be the last character before the linebreak. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@211 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
* Change registered symmetry name to "CartGrid3D" so that people knowschnetter2004-07-25
| | | | | | | where this symmetry condition comes from. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@209 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
* Added missing prototype for CartGrid3D_ApplyBC().tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@207 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
* Untabified. Please try to adhere to the Cactus coding guidelines whengoodale2004-05-17
| | | | | | | modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@205 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
* Added prototype for fortran wrapper of DecodeSymParameters3D().tradke2004-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@203 c78560ca-4b45-4335-b268-5f3340f3cb52
* Correct the intent statements.hawke2004-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@201 c78560ca-4b45-4335-b268-5f3340f3cb52