| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
since rev 309 1d and 2d evolutions would not apply the boundary condition
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@327 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@326 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch checks for storage in the upper layer boundary apply routine. All bc
that need more than a single timelevel check for the existence of more
timelevels themselves.
Before if one accidentally selected a variable for a flat boundary condition
(with thorn Boundary) without storage, this would lead to a segfault.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@323 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently if a user schedules the routine calling Boundary_RegisterGroupForBC
in LEVEL mode (which is the correct mode), cctk_nghostzones is undefined and
Carpet fills it with the deadbeef value (666). Passing 666 to
Boundary_RegisterGroupForBC leads to silently incorrect results as it often
prevents the BC from being applied at all (there is a check in many boundary
routines that returns if the domain is too small, presumably to support 1 point
wide 1d domains).
This patch checks the boundary width requested and aborts if the width is
larger than 100. This is the same threshold that the symmetry thorns already
use to abort a run.
This prevents a user error (seen it twice so far) and should not as far as I
can tell affect any correct code (unless we ever actually encounter a boundary
wider than 100 points in which case we are in trouble anyway).
This patch resulted from ticket #1508 "abort if boundary widht is very wide
(>100 points)"
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@321 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@319 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@318 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@313 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/Boundary/trunk@312 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/Boundary/trunk@309 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@308 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@298 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attempts a memcpy.
In the case of failure, this changes a segfault to an informative
message, which makes debugging this case much easier.
In case of success, it adds a test every time the static boundary
condition is called, for each variable.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@297 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
Use #ifdef HAVE_CCTK_REAL4 instead of #ifdef CCTK_REAL4.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@291 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
Use #ifdef HAVE_CCTK_REAL4 instead of #ifdef CCTK_REAL4.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@290 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@289 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
cannot be extracted out of the table.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@280 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@279 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@278 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
(Change from Marcus Rumpfkeil.)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@276 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@275 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@274 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
modifying or adding files.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@273 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@268 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@266 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
| |
possible to create tables from strings, which it turn makes it
possible to set them in parameter files, which it turn decouples
evolution thorns and boundary condition thorns.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@265 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@264 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
unused. It can be called for debugging, and is then very helpful.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@263 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@262 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
|
| |
multiple bcdata_list objects.
Perform some internal consistency checks.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@261 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@260 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@259 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@258 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
instead of one
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@256 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
| |
symmetry boundaties. This makes them consistent with the other
boundary conditions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@255 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@254 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
it does not make sense.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@253 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@252 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@251 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
Extend routines to handle the new type.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@249 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
| |
boundary calculations), keep some pointers and indices in local variables.
At least on the SX-5 this gives 50% speedup.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@248 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@247 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@246 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
on all the faces. Bug was spotted by Mihaela.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@245 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
| |
so that it matches the CST-generated function prototype.
Fixed also a few other function argument datatype mismatches.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@243 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@242 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@241 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@239 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
| |
Fixes Cactus/1557
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@238 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
|
|
|
|
| |
will need some (I think not terribly difficult) modification to work
properly with multi-models.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@237 6a38eb6e-646e-4a02-a296-d141613ad6c4
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@236 6a38eb6e-646e-4a02-a296-d141613ad6c4
|