| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
number.
Thanks to Jonathan to point this out.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2707 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes Cactus/966.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2706 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
array sizes.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2687 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
by CCTK_ParameterValString().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2681 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
beginning of a group now.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2670 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This closes PR Cactus/943.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2664 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/804.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2655 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2654 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
(as returned by CCTKi_BindingsParameterRecoveryInitialise())
in the tFleshConfig structure.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2652 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
whether Cactus was restarted from a checkpoint or not.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2650 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
a NULL pointer if no such information is wanted.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2649 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2645 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2625 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
necessary to compile with the gnu compilers in cygwin.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2617 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2609 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Closes PR Cactus-892.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2597 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
pages for now
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2596 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2591 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2590 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
See log message for src/util/makefile 1.1
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2589 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2585 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
same directory from multiple procs at the same time.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2583 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2573 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2570 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2566 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2565 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2562 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2561 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
now takes the current line number in the parameter file as a third argument.
CCTKi_SetParameter() is now able to tell you what line in the parameter file
was erroneous.
This closes PR Cactus-838.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2555 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2554 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
which were output by all I/O methods.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2548 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so you can choose both a timer and a clock to print. Passing a NULL argument for a string, or a -1 for the index versions will cause all the timers/clocks to
be used.
Also added new functions
CCTK_NumClocks
CCTK_ClockName
CCTK_ClockHandle
which I needed for this. Not sure that I really needed the ClockHandle
one, but it is useful anyway to test if a clock is registered.
Maybe these functions should also take something like a file descriptor,
so that the information can be easily printed to a file, or to the HTTPD
pages.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2547 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Also needed a macro for fortran, since the call to register a system now
automatically hide the argument with the thorn name doing the registering
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2544 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
const char *CCTK_CoordName (int dir, const char *systemname)
const char *CCTK_CoordSystemImplementation (int handle)
int CCTK_NumCoordSystems (void)
(probably not optimum names now, since maybe CoordSystemImplementation should
take the system name, but this matches what there is now in IO, Interp, Reduce)
Also fixed a bug in CCTK_CoordRange where there was no return value to signify
that the range wasn't actually found if everything else was there.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2543 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2542 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2535 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
name
from handle
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2534 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
const char *CCTK_IOMethod (int handle)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2533 17b73243-c579-4c4c-a9d2-2d5706c11dac
|