| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@731 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
after. Actually added one as well. CCTK_POSTINITIAL ... this is because
you sometimes have to do something after the initial data is created,
this would previously have been CCTK_INITIAL9 (for example, save the
initial lapse). Now CCTK_INITIAL should only be for actually setting
up initial data (I think), anything else should be POSTINITIAL or
BASEGRID.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@725 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
because pointers to input fields are passed instead of variable
indices. This way you can also interpolate on local fields.
int CCTK_Interp (cGH *GH,
int operation_handle,
int nPoints,
int nDims,
int nInFields,
int nOutFields,
...)
whereas in the variable argument list there are passed (int this order):
- dimensions of the underlying grid (int [nDims])
- coordinate arrays of points to interpolate at (void *[nDims])
- array of variable types for each coordinate array (int [nDims])
- origin of the underlying grid (<type of coordinate fields> [nDims])
- deltas of the underlying grid (<type of coordinate fields> [nDims])
- array of input fields (void *[nInFields])
- array of variable types for input fields (int [nInFields])
- array of output fields (void *[nOutFields])
- array of variable types for output fields (int [])
The Fortran CCTK_Interp gets in addition to those as the second parameter
a pointer to an integer where the returncode is stored.
For interpolation of grid functions you can use CCTK_InterpGF
which has the same interface as the old CCTK_Interp routine.
Here you just pass the GF indices instead of the pointers.
Since GFs are a special case of arrays, this routine uses
the internal description of the underlying grid and simply
calls CCTK_Interp.
Interpolation operators have to implement the interface for the
most general CCTK_Interp.
See the packages/CactusPUGH/interp/src/interp_demo.F for an example
of how to use both CCTK_Interp and CCTK_InterpGF.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@708 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@706 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@701 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@691 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@690 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
thorns and the flesh. The names should be more consistent now. You might
want to hold of from this update for a little while until all the thorn
changes are in.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@688 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@684 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Moved a ONE_FORTSTRING_ARG to end of variable declarations so
that it can contain non-declarations.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@683 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
the gnu regex warnings)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@677 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
At the moment it won't work for real or int parameters which aren't defined as
CCTK_INT or CCTK_REAL in param.ccl
git-svn-id: http://svn.cactuscode.org/flesh/trunk@654 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@651 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@649 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now need to specify ActiveThorns before any other parameters to list those
thorns which are active. No parameters or startup or rfr routines are
available from inactive thorns.
Note that this isn't quite working yet but I hope to track it down by morning.
In the meantime either don't update or be prepared for things to be slightly
broken.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@645 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is because we want to specify in the parameter file which thorns
are actually "active", and not just compiled.
The command line arguements have been changed to
-T and -t
instead of
-A and -a
git-svn-id: http://svn.cactuscode.org/flesh/trunk@640 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@636 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@626 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@621 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
line number and file name to the Warn message. This hass problems:
1) I really need to include cctk.h then (for some reason) in WarnLevel.h,
but then I guess the Fortran name for CCTK_Warn is CCTK_WARN so it
doesn't much care for me having a macro for CCTK_WARN.
2) Now I need three fortran strings to be passed into C. This works at
the moment on Linux, but not on other machines, so you may need to
run with warnings off for a little while.
3) Fortran doesn't get the file name, because (?) it is actually
something from a pipe which gets preprocessed and not the file.
I have no idea how to fix this.
I may just scrap all this, but I want to persevere a bit
Oh, there is a new parameter cctk_full_warnings (default yes for now)
which gives the old style warnings with no.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@618 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@612 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
cGH.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@608 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
avoid confusion.
Added macros for CCTK_INFO and CCTK_PARAMWARN
git-svn-id: http://svn.cactuscode.org/flesh/trunk@593 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
count of parameter warnings. Use this in any routine registered at
ParamCheck to give a warning which should stop the code.
This has a macro CCTK_PARAMWARN("blah")
which adds on the thorn name
Changed CCTK_Info to also take the thorn name, and there is now a
macro CCTK_INFO("blah") to automatically add it.
Also added CCTKi_Paramfinalise which is called by flesh after param
check to stop the code if there are parameter problems.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@592 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@586 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@584 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Added cctk_from and ctk_to, which will be filled in by drivers to
give local physical zone
git-svn-id: http://svn.cactuscode.org/flesh/trunk@583 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@570 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
is private, protected or Public
git-svn-id: http://svn.cactuscode.org/flesh/trunk@560 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the floating point precision is controlled with REAL_PRECISION
with allowed values 16,8,4 , default 8. This maps onto a #define
of CCTK_REAL_PRECISION_* .
Comples types CCTK_COMPLEX* and CCTK_COMPLEX, as well as the
character type CCTK_CHAR have also been defined.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@559 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hopefully the options=<file name> on the make line should now
work properly for specifying different compilers and flags.
Have introduced various CCTK_REAL* and CCTK_INT* types as discussed
with Gab and Thomas the other day - CCTK_REAL and CCTK_INT are now
chosen from these by the definition of a couple of precision variables-
PRECISION with allowed values QUAD, DOUBLE and REAL
INTEGER_PRECISION with allowed values 8,4 and 2
these map into #defines of CCTK_PRECISION_* and CCTK_INTEGER_PRECISION_*
respectively in the code, and then these are used by cctk_types.h in
src/include to choose the correct values for CCTK_REAL and CCTK_INT.
Note that at the moment you will probably need to specify the precision
in the options file. Will probably add it to the gmake command line
soon.
Finally, have introduced a new configuration file cctk_archdefs.h in
the <config>/config-data directory. This can be written to by a
known-architecture file via
cat >> cctk_archdefs.h << EOF
anything you like here
EOF
and can thus be used to include arbitrary configuration into the code. This
should be used for things like #define T3E or #define G77 etc.
Have fun,
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@557 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
REAL -> CCTK_REAL
POINTER -> CCTK_POINTER
VARIABLE_REAL -> CCTK_VARIABLE_REAL (etc)
GH->iteration is now an int (not an unsigned long int)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@551 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@546 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@544 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Please try this on a reasonable OS.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@543 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
and the flesh functions in rfrInterface.c.
Added prototype of rfrPrintDescs to rfr_constants.h - this should be renamed
or something at some point (the file that is 8-).
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@541 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@540 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Added production of prototypes for CCTK_Overload* using new macro from
Overload.h.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@539 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
to do the overloading.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@538 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as distributed with the regex-0.12 package, except for prepending them with
gnu_ and a couple of clearly marked changes, plus the adddition of grdoc file
headers.
This should guarantee the same behaviour and presence of regular expressions
on all platforms, especially those which don't fully support POSIX regular
expresssions.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@533 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@532 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
It is in src/comm . Perhaps it should still be overloadable since everything
else is.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@528 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@526 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this will be done properly and there will be
CCTK_VAR_REAL (or something similar) which will replace VARIABLE_REAL
(and my CCTK_REAL above).
CCTK_VAR_INTEGER etc.
Added a #define to print a separator line in Fortran or C.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@525 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@523 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@522 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@517 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@516 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@515 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
the one you say is in Cactus3.0?
git-svn-id: http://svn.cactuscode.org/flesh/trunk@490 17b73243-c579-4c4c-a9d2-2d5706c11dac
|