summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Print long int value with %ld instead of converting it to intschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3507 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print WRAGH bin name in schedule treeschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3506 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix typoschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3505 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed description for parameter setting Cactus::recovery_mode = "relaxed".tradke2004-01-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3493 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typo in commentrideout2004-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3492 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cleanup output of -h command line option.rideout2004-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3491 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Execute routines scheduled at CCTK_RECOVER_VARIABLES ortradke2004-01-07
| | | | | | | CCTK_POST_RECOVER_VARIABLES only if this is a recovery run. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3487 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix a bug in the flesh's timer output for the case when the same routine getstradke2003-12-01
| | | | | | | scheduled at different schedule bins. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3467 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow vector groups of scalars.schnetter2003-11-21
| | | | | | | | | | Allow vector groups with more than one declared variable. Much of this patch consists of removing special case code for scalars. Scalars are now almost everywhere treated as rank 0 arrays. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3465 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow comparison operators in accumulator expressions.schnetter2003-11-07
| | | | | | | Add the ! not operator to accumulator expressions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3454 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow CCTK_Group* calls for grid scalars; grid scalars are treated asschnetter2003-10-31
| | | | | | | grid arrays with dim=0. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3447 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change include mechanism for aliased functions in Fortran. One now has toschnetter2003-10-27
| | | | | | | | #include "cctk_Functions.h" and then use the macro DECLARE_CCTK_FUNCTIONS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3439 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use different numerical values for the #defined enum-like constants.schnetter2003-10-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3438 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define CCTK_ALL_FACES for up to 7 directions only. This removes #ifschnetter2003-10-15
| | | | | | | | defined preprocessor statements, which apparently are not handled by the Cactus cpp. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include cctk_Faces.h automatically when "cctk.h" is included, for bothschnetter2003-10-13
| | | | | | | | | | 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
* Print the schedule bin names, enclosed in square brackets, in theschnetter2003-10-13
| | | | | | | schedule tree. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3432 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* /* flush stdout/stderr and then wait a few seconds before callingtradke2003-10-09
| | | | | | | | | | | 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
* Fix typo.schnetter2003-10-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow vector groups of size 0.schnetter2003-10-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3426 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Properly initialize an allocated cTimerData structure.tradke2003-09-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3416 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bugfix in CCTKi_RegisterThorn(): an allocated structure wasn't properly ↵tradke2003-09-12
| | | | | | | | | 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
* Check that all thorns which are required by a given thorn to be activatedtradke2003-09-04
| | | | | | | are also activated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3394 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typo in commentrideout2003-08-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3385 17b73243-c579-4c4c-a9d2-2d5706c11dac
* new CCTK_WRAGH timebinrideout2003-08-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3384 17b73243-c579-4c4c-a9d2-2d5706c11dac
* works with 2 byte integersrideout2003-08-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3383 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed flesh-internal routine STR_compi(). Instead, Util_StrCmpi() should betradke2003-08-22
| | | | | | | | 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
* Use Util_StrCmpi() instead of STR_CMP().tradke2003-08-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3381 17b73243-c579-4c4c-a9d2-2d5706c11dac
* implement new flesh parameter cactus::info_formatjthorn2003-08-05
| | | | | | | | | | | | | 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
* renamejthorn2003-07-20
| | | | | | | | | | | | | | | | | 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
* renamejthorn2003-07-20
| | | | | | | | | | | | 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
* Fix a memory leak in Util_TableCreateFromString():jthorn2003-07-19
| | | | | | | | | | | | | 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
* add standalone-test-driver tests for Util_Table{Set,Get}Pointerjthorn2003-07-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3316 17b73243-c579-4c4c-a9d2-2d5706c11dac
* put all Fortran-wrapper routines insidejthorn2003-07-19
| | | | | | | | | | | | | | | #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
* add EXTRA_CFLAGS to make changing command-line -Dxxx options easierjthorn2003-07-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3314 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add header comment explaining why all the complciated machinery is needed :)jthorn2003-07-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3313 17b73243-c579-4c4c-a9d2-2d5706c11dac
* * allow C compiler and flags to be overridden from command linejthorn2003-07-19
| | | | | | | | * 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
* restore standalone-test Makefilejthorn2003-07-19
| | | | | | | | | | | | | 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
* Missing prototypes for fortran versions of CCTK_ActiveTimeLevelsallen2003-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New functions for querying the number of active timelevels for a group/variableallen2003-07-17
| | | | | | | | | | | | | | 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
* Replace CCTK_NumTimeLevels with CCTK_MaxTimeLevelsallen2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3282 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Deprecated CCTK_NumTimeLevels and all variants.allen2003-07-16
| | | | | | | | | | | | | | | | 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
* prototypes for CCTK_NumTimeLevelsI and CCTK_NumTimeLevelsrideout2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3280 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed usused routines CCTKi_ExpectError() and CCTKi_ExpectOK().tradke2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3278 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor fixes for Cactus/1117allen2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3277 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for valid variable index in CCTK_NumTimeLevelsFromVarI().tradke2003-07-15
| | | | | | | This closes PR Cactus/1133. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3276 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a const qualifier to the cGH argument of all CCTK_SyncGroup*() fleshtradke2003-07-15
| | | | | | | routines. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3275 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a const qualifier to the 'cGH *' argument of the following functionstradke2003-07-14
| | | | | | | | | | | | | (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
* Free structure returned by Util_ExpressionParse().tradke2003-07-08
| | | | | | | This closes PR Cactus/1559. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3268 17b73243-c579-4c4c-a9d2-2d5706c11dac