| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3451 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by the user, and another name for the vaiable in your code.
This will be particularly useful for avoiding conflicts when sharing parameters
from other implementations.
Syntax:
[uses|extends] <type> <name> ["<description>"] AS <newname>
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2832 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
Added accumulator parameters - needs a bit more error checking.
Preliminary support for aliasing parameters - disabled until it works
properly.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2829 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will put everything up to the closing bracket for a routine into a new block.
Also, the USE_CCTK macro is now appended directly to the CCTK_DECLARE macro.
There is no need anymore to use CCTK_NO_AUTOUSE_MACRO.
Also changed the way how parameters and arguments are used within the USE_CCTK
macros: now it's done by "(void) (parameter = 0);" which is better than
assigning the address of it to some dummy pointer.
This fixes problems where one had to parse for a possible return statement
at the end of the routine.
This fix closes PR Cactus/949.
Also did some perl code optimization and added grdoc headers for files
generated by the CST.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2676 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2408 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
causes for the errors.
At the moment the help message is always shown, since I've only added a couple so far.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2307 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shared implementations. These names are now unique only within this
header file, rather than globally. This fixes the rather nasty problem
of whenever you added or removed a thorn which has a restricted parameter,
every thorn which shared a parameter from any other thorn could potentially
be rebuilt !
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1504 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
local -> my
used perl 5 references for passing databases around in the CST.
CST is now about a factor of 16 faster !
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1101 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
developmental
git-svn-id: http://svn.cactuscode.org/flesh/trunk@978 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Tells you which parameter files failed
Gives you a command line before the test is run that you can copy
and paste to run the test interactively, without editing as before.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@976 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@718 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
public -> global
protected -> restricted
private -> private
friend -> shares (although we would like a better word for this)
Can now use USES as well as EXTENDS (although both of them are
optional ... perhaps they shouldn't be?).
I would like to be able to get rid of the { } after USES but I
couldn't manage it so far.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@632 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NOTE THAT
INTEGER -> INT in param.ccl and interface.ccl
In the param.ccl and interface.ccl you can have one optional cctk_ in
front of each datatype.
I'll be checking in changes for all thorns now ... you will have to
go the realclean thing I would guess after updating
git-svn-id: http://svn.cactuscode.org/flesh/trunk@610 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
declare_parameters.h -> cctk_parameters.h
declare_arguments.h -> cctk_arguments.h
DECLARE_PARAMETERS -> DECLARE_CCTK_PARAMETERS
Thorn changes in CactusBase and CactusEinstein will be commited
now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@604 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@437 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
in common blocks and structures. Tom, have a check of this, I've
added a sort on the parameter keys before they are used but I might
have gone overboard.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@430 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
alias used yet. In principle we should find a way to store thsi at least with
each thorn (e.g. a hash table) so that in the extremely unlikely event the
alias stuff is called twice for the same thorn it gives the same results.
This compiles, but I haven't done soak testing on it 8-(
Also put & in front of some subroutine calls to be compatable with perl 4.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@425 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@414 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@390 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@375 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CHANGED PERL CODE DEALING WITH PARAMETER LISTS CREATED BY THE
EXTENDS FLAG IN PARAM.CCL ... THE PARAMETER LISTS IT WAS GIVING
HAD VARIABLES WITH THE WRONG TYPES ... THIS ISN'T A FIX SINCE
I DON'T UNDERSTAND WHAT IS GOING ON BUT THIS SEEMS TO WORK FOR
WHAT I HAVE NOW.
Gab.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@374 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note this may cause problems with single precision runs on T3Es or alphas.
Possibly we should have seperate blocks/structures for each type of parameter.
Made sure public parameters are initialised.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@286 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@274 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
misalignment warnings from compiler
git-svn-id: http://svn.cactuscode.org/flesh/trunk@273 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
be longer than 31 characters .... this gives a maximum length thorn name
of 27 characters at the moment.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@247 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@155 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@119 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Still need to add definition for CCTK_STRING to config.h
Still need to map fortran common block names to c structure names.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@111 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@45 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
c subroutines to initialise the structure.
fortran subroutines to initialise the structure
Split config_parser into three parts - the fortran bit, the c bit,
and the non-language-specific stuff.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@27 17b73243-c579-4c4c-a9d2-2d5706c11dac
|