summaryrefslogtreecommitdiff
path: root/lib/sbin/create_fortran_stuff.pl
Commit message (Collapse)AuthorAge
* Remove superfluous parentheses.schnetter2003-11-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3451 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added AS for parameters. You can now have one name for a parameter as seengoodale2002-05-20
| | | | | | | | | | | | | | | | 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 array parameters.goodale2002-05-20
| | | | | | | | | | | 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
* Reworked treatment of CCTK_DECLARE macros. Now the C file preprocessortradke2002-03-27
| | | | | | | | | | | | | | | | | | | 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
* Untabified.goodale2001-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2408 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a "help" argument to the CST_error call to start adding suggested ↵allen2001-08-19
| | | | | | | | | 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
* Changing names of 'hidden' parameters - i.e. unwanted parameters fromgoodale2000-03-30
| | | | | | | | | | | | | 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
* Changed to use Perl5 stuff...goodale1999-10-24
| | | | | | | | | | | | | 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
* Cool addition to checkout script that tells you which thorns areallen1999-09-21
| | | | | | | developmental git-svn-id: http://svn.cactuscode.org/flesh/trunk@978 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Runtest now:allen1999-09-21
| | | | | | | | | | 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
* Added CST_errorallen1999-07-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@718 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New names for parameter groups:allen1999-07-04
| | | | | | | | | | | | | | | | | | | 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
* Added all datatypes to parsers (but they don't work with pugh yet).allen1999-07-01
| | | | | | | | | | | | | | | 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
* New names:allen1999-06-29
| | | | | | | | | | | | 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
* Double -> CCTK_REALallen1999-06-15
| | | | | | | | | | | | | 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
* Fixed last bug in parameters!!allen1999-04-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix (hopefully) for problem with parameters having different ordersallen1999-04-02
| | | | | | | | | 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
* Made a global variable $BindingsAliasNum to hold the number of the largestgoodale1999-04-01
| | | | | | | | | | | | | | 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
* Toms fixes for ordering aliases for parametersallen1999-03-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@414 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reversed some changes I had made to common blocks which didn't helpallen1999-03-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@390 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Getting rid of some debugging printsallen1999-03-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@375 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed COMMON block namesallen1999-03-02
| | | | | | | | | | | | | | | 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
* Order all parameters in common blocks and structures as real, pointer, int .goodale1999-02-16
| | | | | | | | | | | | 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
* Forgot to take out debugging linesallen1999-02-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@274 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put CCTK_STRINGs at the start of the common block statement to avoidallen1999-02-15
| | | | | | | misalignment warnings from compiler git-svn-id: http://svn.cactuscode.org/flesh/trunk@273 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed names of common blocks since the dec compiler won't let themallen1999-02-13
| | | | | | | | 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
* Added a space in front of line continuationallen1999-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@155 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a minor bug - too much cut-and-paste can be dangerous for your code 8-)goodale1999-01-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@119 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now creates fortran parameter stuff too.goodale1999-01-22
| | | | | | | | | | 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
* More grdoc stuffgoodale1999-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@45 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Creates all c and fortran structures.goodale1998-11-22
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