summaryrefslogtreecommitdiff
path: root/lib/sbin/create_c_stuff.pl
Commit message (Collapse)AuthorAge
* Changing CCTK function nameallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1284 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some changes for USE_CCTK_PARAMETERS and capitalising include filesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1263 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Final code for supportingallen2000-01-12
| | | | | | | | | | | USE_CCTK_PARAMETERS USE_CCTK_CARGUMENTS which can be used to remove all the warnings about unused variables (seen on the origin or if you compile with all warnings) git-svn-id: http://svn.cactuscode.org/flesh/trunk@1231 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More details to remove warningsallen2000-01-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1229 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Filling out CCTK_USE_PARAMETERSallen2000-01-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1228 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding macros for using parameters and arguments to remove compiler warningsallen2000-01-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1225 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed some things noticed by perl -w .goodale1999-10-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1102 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
* Put an extern "C" around the parameter structure in header files.goodale1999-10-24
| | | | | | | | | Some tidying up. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1100 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
* Commented out some old unused parameter stuff.goodale1999-09-13
| | | | | | | | | | | Hopefully fixed the space at end of line after the closing " problem - the parameter database now stores the default value after stripping the quotes from it. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@901 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New parameter stuff.goodale1999-08-26
| | | | | | | | | | | Now a non-active thorn's extensions to parameters shouldn't be valid, range checking is now done, even for strings, which must conform to a regular expression. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Option -O now gives at least some dummy output.tradke1999-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@816 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Errors with CST_error instead of dieallen1999-07-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@717 17b73243-c579-4c4c-a9d2-2d5706c11dac
* String valued parameters should be char * not CCTK_CHAR * asgoodale1999-07-07
| | | | | | | | | things like strcmp expect char * s. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@685 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed logical and keywords to use CCTK types.goodale1999-07-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@681 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
* Merging in of things from Joan's NT version...goodale1999-06-25
| | | | | | | | | | Mainly missing header files, plus making names of files in the Bindings dir unique to help debugging. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@576 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
* 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
* Put & in front of some subroutine calls to be compatable with perl 4goodale1999-04-01
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@424 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed some speech marks which seem to be surplus to requirements ...allen1999-03-02
| | | | | | | Gab git-svn-id: http://svn.cactuscode.org/flesh/trunk@373 17b73243-c579-4c4c-a9d2-2d5706c11dac
* BEFORE and AFTER should now work. This is probably still not verygoodale1999-02-24
| | | | | | | | | | robust for case issues, and you can only schedule the same routine once, but is a start. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@342 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Strip off spaces at the start and end of the default string, otherwiseallen1999-02-19
| | | | | | | | | CCTK_Equals will fail if the default is "no"_ . Gab git-svn-id: http://svn.cactuscode.org/flesh/trunk@310 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
* Sets the dfault for a logical properly.goodale1999-02-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@229 17b73243-c579-4c4c-a9d2-2d5706c11dac
* iallen1999-02-02
| | | | | | | | | | Change for Tom to add an include line > $line = "\#include \"CParameterStructNames.h\""; > push(@data, $line); git-svn-id: http://svn.cactuscode.org/flesh/trunk@175 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a dummy variable to a structure if it would otherwise be empty.goodale1999-01-29
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@148 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 177a178,182allen1999-01-29
| | | | | | | | | | | | | | > elsif( $type eq "LOGICAL") > { > $line = " retval = CCTK_SetLogical(\&($structure.$parameter), value);" ; > > } Added logical type git-svn-id: http://svn.cactuscode.org/flesh/trunk@137 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed some redundant subroutines.goodale1999-01-22
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@110 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Creates lots of parameter header files. These provide extern statementsgoodale1999-01-21
| | | | | | | | | | | | | | | | | for the appropriate structures, and #defines for declarations for each structure. To do: for each thorn generate code to #include the appropriate headers and make a DECLARE_PARSER #define which calls the appropriate DECLARE for the public, protected, and private parameters, and a mangled form for the friend parameters. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@100 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to call the new functions in Misc.c, rather than to write loadsgoodale1999-01-21
| | | | | | | | | of similar code. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@99 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Create the parameter binding files.goodale1999-01-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@96 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now creates an appropriate parameter bindings file for the publicgoodale1999-01-20
| | | | | | | | | | parameters. Just commiting now in case I screw up the next bit of generalising it to all parmeters. Will reorganise routiens and files too. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@90 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
* Some grdoc headers.goodale1999-01-11
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@43 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