| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
e.g. for use with boundary conditions. For now it contains only
CCTK_ALL_FACES.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3140 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3136 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
arguments and returns a C-style NULL pointer. This is necessary for
initializing CCTK_POINTER variables in fortran code.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3135 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3133 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3130 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add new error code #define CCTK_ERROR_INTERP_POINT_EXCISED
in anticipation of future support for excision
* add new error code #define CCTK_ERROR_INTERP_POINT_OUTSIDE
as a synomym for CCTK_ERROR_INTERP_POINT_X_RANGE
(keeping the old one for backwards compatability)
since the old name suggested that this had something to do with
the X coordinate
* renumber error codes to a more logical order
The resulting set of error codes is this:
/*
* error codes for CCTK_InterpLocalUniform()
*/
/* the grid is too small for the selected interpolation molecule */
#define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1000)
/* an interpolation point is outside the input grid */
#define CCTK_ERROR_INTERP_POINT_OUTSIDE (-1001)
/* ... old code for backwards compatability */
#define CCTK_ERROR_INTERP_POINT_X_RANGE (-1001)
/* an interpolation point is in an excised region */
#define CCTK_ERROR_INTERP_POINT_EXCISED (-1002)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3116 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3114 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1282.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3112 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
routine CCTK_InterpGridArrays(). If no driver thorn was activated to overloaded
the latter then the default routine will be called and print a level-0 warning
saying so.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3099 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Now it is consistent with the order used in CCTK_InterpLocalUniform().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3094 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3092 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3090 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3089 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3083 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3076 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3075 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
This fixes known problems with cpp on some platforms (Solaris, Darwin) when
preprocessing source code which includes this header file.
This closes PR Cactus-1354 and CactusPUGH-1167.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3073 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
single one.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3071 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Closes Cactus/1283
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3068 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3052 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add some more explanation for the CCTK_ERROR_INTERP_POINT_X_RANGE
error code:
> /* n.b. the "X" here abbreviates "not" -- the point could be out of range
> /* along any coordinate axis */
and add a new error code:
> /* the grid is too small for the selected interpolation molecule */
> #define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1001)
(Both of these are 31 letters long, which is exactly the maximum length
that the C standard guarantees that compilers/preprocessors must honor.)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3051 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3050 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
CactusDefaultInterpGridArrays() as its default.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3048 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3047 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
CCTK_InterpGridArrays().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3046 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3045 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1334.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3043 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
More to come.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3041 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3040 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
addr = CCTK_PointerTo (var)
CCTK_POINTER addr, var
which returns the address of a variable passed in by reference from a
fortran routine.
This function is declared by the DECLARE_CCTK_FUNCTIONS macro.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3039 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Added 'typedef const void *CCTK_POINTER_TO_CONST;' which will be used for
function alias arguments.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3030 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3028 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
and extended the keyword parameter cactus::terminate to select this condition.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3027 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
we have CCTK_POINTER as a '#define void *' so that one can add a const
qualifier if needed.
With '#define CCTK_POINTER void *' you can define a pointer to const data,
with 'typedef void *CCTK_POINTER; const CCTK_POINTER p;' you cannot.
These will be needed for the declaration of function aliases.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3024 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1292.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3019 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
gettimeofday(2). The timezone structure is obsolete and not even defined
anymore when compiling with gcc and '-ansi'.
Also did some reformatting and completed grdoc.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3018 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
e.g. cactus::manual_cache_setup is recognized.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3002 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Closes Cactus/900
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2982 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes Cactus/1024
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2981 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
list
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2980 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
is created
Fixes Cactus/1201
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2959 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1188.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2945 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
implementation and thorn which requires it.
This closes PR Cactus/1121.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2929 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
invalid grid function name. It also gives a more descriptive error
message in such a case.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2924 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2918 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
magic 'cctk_one' constant which aren't needed anymore for building the thorn
bindings.
You must also update src/main/Groups.c and lib/sbin/GridFuncStuff.pl now
and do a 'make <configuration>-clean; make <configuration>-rebuild;'.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2911 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bindings.
Added internal routine CCTKi_VarDataPtr() which returns the data pointer for a
given variable+timelevel, or NULL if the variable doesn't exist. This routine
is regarded internal and should not be used anywhere else but in the thorn
bindings.
You must also update src/main/Groups.c and lib/sbin/GridFuncStuff.pl now
and do a 'make <configuration>-clean; make <configuration>-rebuild;'.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2910 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2900 17b73243-c579-4c4c-a9d2-2d5706c11dac
|