summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Small fix for CCTK_ParameterSet() to increment the number of times atradke2002-05-04
| | | | | | | | | STEERABLE = RECOVER | ALWAYS parameter has been set during recovery. Now you can tell whether such a parameter was just recovered from a checkpoint file (n_set == 1) or also overwritten again from the parameter file (n_set > 1). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2784 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_VarPtrDataI passes back NULL if it the data pointer isn't thereallen2002-04-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2775 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing FN_POINTERs to FPOINTERsallen2002-04-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2774 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_FN_POINTER -> CCTK_FPOINTERallen2002-04-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2770 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Executive decision to change CCTK_FN_POINTER -> CCTK_FPOINTER andallen2002-04-28
| | | | | | | | | CCTK_VARIABLE_FN_POINTER -> CCTK_VARIABLE_FPOINTER Old definitions will be removed in next beta release git-svn-id: http://svn.cactuscode.org/flesh/trunk@2769 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only try and increase storage if there are some grid variable groupsallen2002-04-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2768 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added an identify string to the cGH which must be filled out by the driver.tradke2002-04-18
| | | | | | | | It should label individual cGH's (eg. when doing convergence testing). I/O methods will it then use it to construct output filenames. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2726 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Passing timelevel storage info from schedule.ccl files to the flesh. Thisgoodale2002-04-17
| | | | | | | | | | | | | should now work. Note that the COMM stuff is now completely obsoleted and the schedule stuff no longer schedules variable groups for comm (this only affects driver writers as the statement has been deprecated for ages). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2725 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change the top-level storage for GVs to use new GroupStorageIncrease.goodale2002-04-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2723 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Redirect stdout to file right after the '-r' command line option was parsed.tradke2002-04-13
| | | | | | | This closes PR Cactus/969. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2710 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug when recovering non-steerable parameters.tradke2002-04-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2709 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a small typo in a warning message.tradke2002-04-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2708 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replaced HUGE_VAL by DBL_MAX which should be used as the maximum floating-pointtradke2002-04-11
| | | | | | | | number. Thanks to Jonathan to point this out. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2707 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use HUGE_VAL instead of FLT_MAX for the maximum possible value for doubles.tradke2002-04-11
| | | | | | | This closes Cactus/966. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2706 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to use the new GroupStorageIncrease/Decrease functions.goodale2002-04-04
| | | | | | | | | | | | Currently passes -1 as the timelevel for each group as we don't specify and read that data from the schedule.ccl files yet. This should make no visible change to anyone. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2694 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Two new overloadable routinesgoodale2002-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | CCTK_GroupStorageIncrease(cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status) CCTK_GroupStorageDecrease(cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status) These should increase or decrease the number of timelevels with storage enabled to the number specified in the timelevels array for each group in the groups array. The status array is optional, and if not NULL should contain the previous number of timelevels enabled for that group. A timelevel value of -1 implies enable/disable all timelevels for that group. The Increase function should never decrease the amount of storage, and the Decrease one never increase it, so it is possible to use Enable to ensure a certain minimum number of timelevels are available without problem, and to pass the status return from Enable in as the timelevel array of Decrease to restore the previous state of the system. The defaults for these functions currently call the old Enable and Disable GroupStorage routines if they have been overloaded, similarly the defaults for the old routines have been changed to call the new routines if they are overloaded, passing -1 as the timelevel value. The old routines will disappear eventually once all drivers are converted to the new routines. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2693 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow implementation name for fully qualified parameter names when setting ↵goodale2002-04-03
| | | | | | | | | array sizes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2687 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan Thornburg]]rideout2002-04-03
| | | | | | | | | | | | | | | | | | | | src/util/Table.c src/include/util_Table.h * add new functions (cf my E-mail of 30 Mar 2002) Util_TableClone() Util_TableItClone() * add new functions (cf Erik Schnetter's E-mails of 5 Feb 2002) Util_Table{Set,Get}Generic() Util_Table{Set,Get}GenericArray() * add tests for new functions * fix a memory leak in Util_TableDestroy() * fixed some assert( variable = value ) bugs (yikes!!) * refactor some code to better modularize the implementation * add some more const qualifiers to local vars * reformat code to match flesh standard indentation and { } conventions git-svn-id: http://svn.cactuscode.org/flesh/trunk@2683 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Increased the number of precision digits for floating-point values returnedtradke2002-03-28
| | | | | | | by CCTK_ParameterValString(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2681 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This is basically a no-op commit to correct the previous commit message:tradke2002-03-27
| | | | | | | | | | | | | | | > Changed the way how parameters are used within the USE_CCTK macros: > now it's done by "(void) (parameter = 0);" which is better than > assigning the address of it to some dummy pointer. should read as > Changed the way how parameters are used within the USE_CCTK macros: > now it's done by "(void) (parameter + 0);" which is better than > assigning the address of it to some dummy pointer. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2678 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the way how parameters are used within the USE_CCTK macros:tradke2002-03-27
| | | | | | | | now it's done by "(void) (parameter = 0);" which is better than assigning the address of it to some dummy pointer. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2677 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Formatting change when printing out group names. Only puts a label at thegoodale2002-03-26
| | | | | | | | | beginning of a group now. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2670 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a thing from my previous commit when printing the schedule tree.tradke2002-03-25
| | | | | | | | Also put in Erik's patch to print group names in a schedule. This closes PR Cactus/771. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2669 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed the indentation level when printing scheduled groups.tradke2002-03-25
| | | | | | | This closes PR Cactus/943. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2664 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When printing the schedule tree, also say when periodic output is done.tradke2002-03-19
| | | | | | | This closes PR Cactus/804. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2655 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print routines which are registered for CCTK_POST_RECOVER_VARIABLES.tradke2002-03-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2654 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new KEYWORD parameter 'Cactus::recovery_mode' (steerable at RECOVER).tradke2002-03-19
| | | | | | | | | | | | | | | | | | This is evaluated during recovery and can be set to - 'strict' meaning all CCTK variables must be recovered successfully, and no INITIAL timebins will be scheduled This is the default. - 'relaxed' saying: recover variables if possible, and schedule INITIAL timebins afterwards Also added a new scheduling bin CCTK_POST_RECOVER_VARIABLES at which routines can be scheduling which want to modify (recovered) initial data. This closes PR Cactus/629, Cactus/893, Cactus/921. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2653 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Store the information whether we recover from a checkpoint or nottradke2002-03-19
| | | | | | | | (as returned by CCTKi_BindingsParameterRecoveryInitialise()) in the tFleshConfig structure. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2652 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added an integer flag 'recovered' to the tFleshConfig structure indicatingtradke2002-03-19
| | | | | | | whether Cactus was restarted from a checkpoint or not. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2650 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow the param_type argument to CCTK_ParameterGet() to be passed in astradke2002-03-19
| | | | | | | a NULL pointer if no such information is wanted. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing prototype for fortran wrapper.tradke2002-03-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[changes from Jonathan Thornburg]]rideout2002-02-27
| | | | | | | | | * define error return code for "point out of range" from CCTK_InterpLocalUniform() API (I've discussed this with Tom Goodale) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2632 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Nonimportant fix to a fortran wrapperallen2002-02-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2625 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Made it so that netdb.h and winsock2.h are never both included. This waskcamarda2002-02-22
| | | | | | | necessary to compile with the gnu compilers in cygwin. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2617 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[changes from Jonathan Thornburg, checked in by David Rideout]]rideout2002-02-22
| | | | | | | | | | | | | * add new flesh API CCTK_InterpRegisterOpLocalUniform() to register CCTK_InterpLocalUniform() interpolators * rework implementation of all interpolator registration APIs to factor out common code into new static fn and macro in Interp.c JT will checkin docs on the new CCTK_InterpRegisterOpLocalUniform() API after the code is in... git-svn-id: http://svn.cactuscode.org/flesh/trunk@2616 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrapper for CCTK_TerminateNext().rideout2002-02-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2609 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan Thornburg]]tradke2002-02-04
| | | | | | | | | | | | | | | | | | Small fixes to Util_TableSetFromString(): * trap some error cases involving invalid keys which slipped by before * document UTIL_ERROR_BAD_KEY as a possible error code * accept trailing whitespace at end of string (this was rejected before) * revise BNF in grdoc comment to correctly describe what the code accepts [I've already revised it in the latex docs (doc/UsersGuide/FunctionReference.tex)] Also fix Util_TableCreateFromString(): * document UTIL_ERROR_BAD_KEY as a possible error code Thanks to Erik Schnetter for pointing out these problems! git-svn-id: http://svn.cactuscode.org/flesh/trunk@2606 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Optimized version of Util_StrCmpi() which doesn't need to call strlen().tradke2002-01-28
| | | | | | | Closes PR Cactus-892. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2597 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Makefile for standalone test of Table Utilities archived on Maintainer weballen2002-01-25
| | | | | | | pages for now git-svn-id: http://svn.cactuscode.org/flesh/trunk@2596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The 'h' in $Header$ must be capitalized to be parsed by cvs.rideout2002-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2591 17b73243-c579-4c4c-a9d2-2d5706c11dac
* File committed into wrong directory.rideout2002-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2590 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Commited this file into the wrong directory...rideout2002-01-21
| | | | | | | See log message for src/util/makefile 1.1 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2589 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[message actually from Jonathan Thornburg, checkin by David Rideoutrideout2002-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | since JT doesn't have the appropriate CVS karma]] src/util/Table.c * by popular (or at least semi-popular :) demand..... add new function int Util_TableSetFromString(int handle, const char *string) to set a sequence of key/value entries in an existing table, based on a parameter-file-style string. [[This functionality was present before in Util_TableCreateFromSTring(), but bundled together with creating a new table. This change splits out the "scan through a string doing the table assignments it specifies" functionality into a separate function, since it seems useful in various contextx.]] * change Util_TableCreateFromString() to call the new Util_TableSetFromString() to do most of the work * change the test suite to test the new function a bit src/util/makefile * new file, makefile to build standalone test driver for table routines src/include/util_Table.h * add prototype for new Util_TableSetFromString() function git-svn-id: http://svn.cactuscode.org/flesh/trunk@2588 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing include.tradke2002-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2585 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for a race condition in case CCTK_CreateDirectory() is called for thetradke2002-01-17
| | | | | | | same directory from multiple procs at the same time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2583 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A revised version of the tables source code with auto-destroytradke2002-01-17
| | | | | | | | completely removed. (I also changed the standalone test suite correspondingly.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2581 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Typo in grdocallen2002-01-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2573 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug getting the command line arguments.tradke2002-01-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2570 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the name of the executable to the banner printed to standard out.allen2002-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2566 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a small bug. Completed grdoc.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2565 17b73243-c579-4c4c-a9d2-2d5706c11dac