| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
E12 I'm getting wierd syntax errors in Fortran code, with an extra
garbage character (often $ or &) stuck in the middle of a CCTK_INFO()
or CCTK_WARN() or CCTK_EQUALS() call after it has been processed.
You have probably used Fortran (either 77 or 90) line continuation
in a macro call
c example of broken Fortran code fragment
if (CCTK_EQUALS(test,"on")) then
test_state = 1
else if (CCTK_EQUALS(test,
$ "off")) then
test_state = 3
end if
The $ is in column 6 is the Fortran 77 standard way of doing
a line continuation. This doesn't work, because CCTK_EQUALS()
is a macro, and macros use C lexical conventions (regardless of
what language your code is written in). To continue a line in a
macro, use the same technique you would in C, i.e. put a backslash
( \ ) at the end of the line to be continued (note there must *not*
be any whitespace after the \ !!). For example, the above code
should be written
c example of valid Fortran code fragment
if (CCTK_EQUALS(test,"on")) then
test_state = 1
else if (CCTK_EQUALS(test, \
"off")) then
test_state = 0
end if
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3125 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3124 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
messages which result from this test.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3123 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cvs now creates .cvspass entries that begin with '/1 '. Now this is
parsed properly.
* The port specification in .cvspass entries is ignored, which
prevents spurious 'no login for xyz repository' errors.
* An arrangement-wide README is only checked out for arrangements
which begin with the name 'Cactus'. This prevents a misleading error
message from cvs when checking out 'non-Cactus' arrangements.
'gmake checkout' still has trouble with the '!REPOSITORY_MODULE' option.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3122 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
and for various Util_Table*() routines
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3121 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
How can I call these functions deep inside my thorns where this pointer
is not available?
These routines are overloaded by a driver, and the reason for passing
in a cctkGH is to allow the driver to tidy up before exiting. If the
particular driver you are using allows a NULL pointer to be passed you
can pass this instead of the cctkGH pointer. (The worst that will happen
should be a segfault if the driver cannot handle NULL). Alternatively,
you need to include a mechanism to obtain the cctkGH deep inside your
thorns code.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3120 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
* add entries for "API", "mutual recursion", "recursion, mutual"
* add explanatory text for "configuration", "HDF5", "MPI"
* slightly tweak wording for "interpolation", "local interplation"
* insert TeX "~" ties to prevent line breaks between "part" and "section"
and the following \ref{whatever-the-label-is}
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3119 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Changed the wording 'being phased out as of early 2002' (meaning the old
interpolation API) to something hazier :-)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3118 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3117 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
|
|
|
|
|
|
|
| |
This closes PR Compiler/1369 and probably also Cactus/1323.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3115 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3114 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3113 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3111 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
param.ccl file. Why can't a parameter itself be used here?
The size of the array has to be fixed at compile time to accomodate
the use of parameters in Fortran thorns.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3110 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
toolkit
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3109 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3108 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
the problem of the parsing of the tags for the time being, because interface_parser.pl is returning \" when it sees " in an interface.ccl file (when it is already within quotes)
Hopefully this solution will not cause more problems than it fixes. I have not seen any side-efftects yet.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3107 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3106 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3105 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
"ParameterRecovery${thorn}.c" into "Schedule${thorn}.c".
Configurations should be cleandep'ed and rebuilt after this update.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3104 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
each thorn from CST generated source files "${thorn}_private.c" and
"${implementation}_restricted.c" into "${thorn}_Parameters.c".
Configurations should be cleandep'ed and rebuilt after this update.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3103 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
thorns which provide or use overloadable functions.
Configurations should be cleandep'ed and rebuilt after this update.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3102 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3101 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
in the CST-generated file "Variables/${thorn}.c" where it is also registered.
No "${thorn}_FortranWrapper.c" files are created anymore which should save
some compilation time during a rebuild.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3100 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3098 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Cactus/1365.
Fix spelling of 'arithmetic'.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3097 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3096 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Also added synopsis of how to call this API from Fortran.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3095 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@3093 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3092 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Thanks to Michael Koppitz for spotting this ...
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3091 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
|
|
|
|
|
|
|
| |
IsFunctionAliased.c to prevent compiler warnings.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3088 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
the config files anymore.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3087 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
command line. This fixes problems with variables containing spaces in their
value.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3086 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3085 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3084 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@3082 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
$current_group...' error message.
Add a few commented lines for debuging.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3081 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3080 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
struct as constant. Completes the fix for Cactus-1350.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3079 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3078 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3077 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3076 17b73243-c579-4c4c-a9d2-2d5706c11dac
|