| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3045 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve error checking for nonexistent interpolation operators:
* Instead of just testing that *some* operator is registered under
this handle, also test that the particular operator being called
is registered.
* Upgrade the test-failed warning for this test (i.e. the warning
you get if you try to use an unregistered interpolation operator)
from level 3 to level 0 ==> should always abort the Cactus run
rather than going ahead and trying to call through a null function
pointer and core-dumping.
* Add a hint to the error message about one common cause of this
problem, eg
CCTK_InterpGV(): no interpolation operator is registered
under the handle 1
(did you activate PUGHInterp or some other thorn
providing this interpolation operator?
CCTK_InterpLocal(): no interpolation operator is registered
under the handle 1
(did you activate LocalInterp or some other thorn
providing this interpolation operator?
CCTK_InterpLocalUniform(): no interpolation operator is registered
under the handle 1
(did you activate LocalInterp or some other thorn
providing this interpolation operator?
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2901 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
given name.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2878 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2866 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
User-visible changes to the register-interpolation-operator routines:
* (almost) all error messages now include the name of the calling thorn
* if an attempt to register an interpolation operator fails because
it's already registered, the error message now also includes the
name of the thorn which had previously registered the operator
The new error message format looks like this:
> WARNING[L1,P0] (Cactus): CCTKi_InterpRegisterOperatorLocal:
> (called from thorn PUGHInterp)
> Ignoring attempt to register operator "third-order uniform cartesian"
> because it has already been registered by thorn LocalInterp
Internal changes:
* expand struct interp_info to store the extra info for the fancier
error messages
* rename internal fn get_interp_info() --> GetOrSetupInterpInfo()
to (a) comply with Cactus naming conventions, and
(b) better describe what the function actually does
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2849 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
name
from handle
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2534 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2504 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
which also takes an 'ierror' argument now returning the result of the
corresponding C call.
You will also need to update all thorns now which call these routines.
See also separate mail to developers@cactuscode.org regarding this change.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2489 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2486 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
best place to put it.
Closes PR Cactus/577.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2485 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
for the fortran wrappers for CCTK_SyncGroup() and CCTK_Barrier().
This will be recommitted at a later time.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2453 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
and for I/O method registration.
You will also need to update the I/O thorns which I will commit changes to now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2452 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
overloadables take a 'const cGH *' argument now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2443 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
Two new functions
const char *CCTK_InterpOperatorImplementation(int handle);
int CCTK_NumInterpOperators(void);
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2423 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
New functions:
const char *CCTK_ReduceOperatorImplementation(int handle);
int CCTK_NumReduceOperators(void);
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2422 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2375 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
CCTK_DisableGroupStorage().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2298 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
since some MPI implementations might just kill the other processes.
This should fix PR Cactus-701.
Also added grdoc.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2221 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2212 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus 659.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2143 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2070 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2059 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2026 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes problems with the old interface routines which didn't get passed
all necessary information for interpolation on arbitrary grids.
The old routines CCTK_Interp() and CCTK_InterpGF() are depricated now but
still there - they will issue a level 1 warning when called.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2020 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1834 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
so need to extract an int not a char from a va_arg list.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1786 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
However, it is now commented out, otherwise you get a core file if you
give a wrong parameter, and we want to add less drastic behaviour
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1772 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1766 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1756 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1754 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1748 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1744 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1742 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1729 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
CCTK_RegisterInterpOperator -> CCTK_InterpRegisterOperator
Old names removed in next release
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1720 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1701 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1656 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1637 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
Cactus/286.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1616 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1603 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1596 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Cosmetic changes.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1576 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1572 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1567 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1560 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1524 17b73243-c579-4c4c-a9d2-2d5706c11dac
|