| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@266 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@265 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@260 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@247 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@246 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@245 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@244 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@243 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@242 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@241 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@240 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@238 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@237 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
variable types. HAVE_CCTK_* is now preferred.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@235 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@232 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
CartGrid3D: Support patches with different grid spacing
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@226 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@225 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@224 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@223 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@221 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@220 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@219 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@215 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@210 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
| |
where this symmetry condition comes from.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@209 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@208 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@207 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@206 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
|
|
|
| |
modifying or adding files.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@205 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@204 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@203 c78560ca-4b45-4335-b268-5f3340f3cb52
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@201 c78560ca-4b45-4335-b268-5f3340f3cb52
|