| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
Fortran and C.
Also fix a bug in cctk_Faces.h, which used the non-existing macro
CCTK_INTEGER_PRECISION.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3436 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
schedule tree.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3432 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Extend routines to handle the new type.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
MPI_Abort()
This cures a problem where processor 0 is slightly behind, eg. with
activating thorns, and would print an error message (to stdout!!)
about a thorn missing only a few milliseconds later. If other processors
call CCTK_Abort() before that those messages wouldn't be seen. */
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3428 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3427 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3426 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3416 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
initialized.
This closes PR Cactus/1598: Fails Testsuites, problem seems to be in ActiveThorns.c.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3399 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
are also activated.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3394 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3385 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3384 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3383 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
used which is also better optimized.
This closes PR Cactus/1584.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3382 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3381 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to optionally provide timestamps for CCTK_INFO() / CCTK_VInfo() output
the current implementation uses gettimeofday(2) to provide
microsecond-precision timing info if this is available
(Cactus checks this at configure time), otherwise it falls back
to time(3) (which only gives 1 second precision) which is in
the ISO C standard, and so should be available everywhere...
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3376 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Util_Table{Set,Get}FnPointer() --> Util_Table{Set,Get}FPointer()
Util_Table{Set,Get}FnPointerArray() --> Util_Table{Set,Get}FPointerArray()
(and keep old names as aliases for backwards compatability)
this fixes bug Cactus/1308
also add test routines for
Util_Table{Set,Get}PointerArray()
Util_Table{Set,Get}FPointer()
Util_Table{Set,Get}FPointer_Array()
so there are now test routines for all the CCTK_POINTER and CCTK_FPOINTER
routines (both scalar and array)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3321 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
Util_TableSetFnPointer() --> Util_TableSetFPointer()
Util_TableSetFnPointerArray() --> Util_TableSetFPointerArray()
Util_TableGetFnPointer() --> Util_TableGetFPointer()
Util_TableGetFnPointerArray() --> Util_TableGetFPointerArray()
(and keep old names as aliases for backwards compatability)
this is part of my fix for bug Cactus/1308
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3320 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This routine first tries to create a table (if this fails it returns
an error code). Then it tries to add entries to the table via
Util_TableSetFromString(). If this fails it previously returned
without destroy the table, thus leaking memory. The fix is to
destroy the table before returning the error code.
This fixes bug Cactus/1561.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3317 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3316 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#ifndef UTIL_TABLE_TEST
#endif /* !UTIL_TABLE_TEST */
since they use CCTK_FCALL and CCTK_FNAME, both of which are only
expanded by the perl preprocessor, and thus won't be defined when
compiling this (C) file directly for standalone tests.
With this change (and my just-committed changes to the standalone-test
makefile), the standalone test driver in Table.c now compiles ok, and
passes all its tests.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3315 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3314 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3313 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
* detect whether the configuration we're using has MPI, and if so
link against the right MPI libraries
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3312 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This Makefile was formerly called makefile (see the cvs attic under
that name for older history), but that caused problems with systems with
case-insensitive file systems, where the build process confused this with
Makefile .
I discussed standalone-test Makefiles with Tom Goodale on 18.Jul.2003,
and he said that with the name Makefile.standalone they're ok.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3311 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3297 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
int CCTK_ActiveTimeLevels(const cGH *GH, const char *groupname);
int CCTK_ActiveTimeLevelsGN(const cGH *GH, const char *groupname);
int CCTK_ActiveTimeLevelsGI(const cGH *GH, int groupindex);
int CCTK_ActiveTimeLevelsVN(const cGH *GH, const char *varname);
int CCTK_ActiveTimeLevelsVI(const cGH *GH, int varindex);
All are basically wrappers for CCTK_GroupStorageIncrease requesting no
increase of storage.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3283 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3282 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaced with new names
int CCTK_MaxTimeLevels(const char *group);
int CCTK_MaxTimeLevelsVN(const char *var);
int CCTK_MaxTimeLevelsVI(int var);
int CCTK_MaxTimeLevelsGN(const char *group);
int CCTK_MaxTimeLevelsGI(int group);
This is because we are adding CCTK_ActiveTimeLevels and also the names
make more sense.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3281 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3280 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3278 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3277 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1133.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3276 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
routines.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3275 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(and their default overloadables):
- CCTK_SyncGroup
- CCTK_EnableGroupCommI / CCTK_DisableGroupCommI
- CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI
- CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease
- CCTK_CoordRegisterRange / CCTK_CoordRegisterRangePhysIndex
You should also update all driver thorns (eg. PUGH) now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3274 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1559.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3268 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1560.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3267 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes Cactus/1505
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3261 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
CCTK_ERROR_INTERP_POINT_OUTSIDE
CCTK_ERROR_INTERP_POINT_X_RANGE
CCTK_ERROR_INTERP_POINT_EXCISED
mean: add text that they can also mean that an interpolation point
is too close to the outside / excised region
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3244 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
(and not with 0 as it was before).
This fixes PR CactusPUGH/1546.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3242 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cctk_levoffdenom to the cGH structure that simplify handling
coordinates in mesh refinement settings.
cctk.h: Pass the new fields to Fortran routines. Add a new macro
CCTK_ORIGIN_SPACE to simplify using these fields.
CactusDefaultComm.c: Initialise the new fields.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3240 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes Cactus/1309
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3237 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
to avoid confusion with standard warning levels. Tidied errors to
handle the difference between 1 or more errors with better grammar.
Fixes Cactus/1500
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3236 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Use -r[o|e|oe|eo] or -redirect=[o|e|oe|eo].
Document verbose option on -describe-all-parameters.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3218 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
'1'. The top two bits are difficult (impossible?) to use because
Fortran does not have unsigned ints.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3214 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a non-existing parameter. Additionally ff the parameter exists the code returns
0 as its exit status, and if it doesn't the code returns 1, so this can also
be checked in scripts.
We need to audit the current set of exit status codes, make sure they are distinct,
and document them.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3213 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
submitted by Jonathon Thornburg.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3212 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
a scheduled routine can have options associated with it. LEVEL mode
is where the routine should only be called once for any set of sub-grids
with the same cctk_levfac numbers.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3209 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3203 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Thornburg.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3196 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
operator registry database.
This prevents potential problems on platforms where function pointers have a
different memory representation than data pointers.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3191 17b73243-c579-4c4c-a9d2-2d5706c11dac
|