| Commit message (Collapse) | Author | Age |
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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@2869 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2868 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and CCTK_VInfo() when using GNU C/C++.
eg now
CCTK_REAL r = 3.14;
CCTK_VInfo(CCTK_THORNSTRING, "r=%d", r);
will give a gcc warning message, because r doesn't match the %d format.
Also added missing prototype for CCTK_ParamWarn().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2867 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2866 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
See its Function Reference entry in the User's Guide for details.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2850 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
|
|
|
|
|
|
|
| |
by Util_TableSetFromString() if different array values have different datatypes.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2847 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
You can now do
TAGS='foo=... bar=...'
in a group definition in your interface.ccl files.
The intention is that this can be used to assign tensor types and coordinate
systems to gorups.
This is implemented as a table, the handle of which you can get by calling
CCTK_GroupTagsTable
or
CCTK_GroupTagsTableI
and query using the normal table operators.
Note that currently the Util_TableCreateFromString function, which is used to generate
the table, doesn't support setting of string members. This will be changed soon.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2845 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2843 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2842 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2840 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2838 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2836 17b73243-c579-4c4c-a9d2-2d5706c11dac
|