summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* New improved, or at least more functional, expression parser and evaluator.goodale2001-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now can deal with both floating point and integer values. You can use the functions from the standard C maths library which take one argument. Evaluation should be faster, 'though parsing is probably a bit slower. Now the user-supplied evaluation routine is called just once at the beginning of the evaluation, so if any of the evaluations need a global operation, these can all be done at once. The routines have now been renamed as Util_ functions and the header file cctki_Expression.h has been renamed as util_Expression.h. IMPORTANT NOTE: The above means you will need to rm configs/*/build/Cactus/util/Expression.c.d rm configs/*/build/Cactus/main/Groups.c.d after updating to get rid of stale dependency files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2449 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding the trigger groups for a routine to the cFunctionData structure.allen2001-11-03
| | | | | | | This field should be considered volatile, it may not remain on this structure git-svn-id: http://svn.cactuscode.org/flesh/trunk@2448 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use native C/C++ compilers as prefered ones.tradke2001-11-02
| | | | | | | Set appropriate optimization options. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2447 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrapper for CCTK_ParameterValString().tradke2001-11-02
| | | | | | | | | | | | | | | Use it as call CCTK_ParameterValString (ierror, parameter, thorn, value) with parameter, thorn, value being fortran strings, the last one holding the actual stringified value of the parameter. ierror must be of type CCTK_INT and holds the return code of this wrapper where 0 stands for success, -1 for 'parameter doesn't exist', -2 for 'fortran string buffer is too short to hold the value. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow the length of a vector array can to be an arithmetical combination ofgoodale2001-11-02
| | | | | | | | | parameters. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2445 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added thorn name, routine name and scheduling bin to the FunctionDataallen2001-10-31
| | | | | | | | structure. This should be considered volatile, the information might move back to the internal structure. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2444 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_MyProc(), CCTK_nProcs(), CCTK_Barrier() and their Cactus defaulttradke2001-10-31
| | | | | | | overloadables take a 'const cGH *' argument now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2443 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing includes and fixed a couple of 'cast from const pointer' warnings.tradke2001-10-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2442 17b73243-c579-4c4c-a9d2-2d5706c11dac
* All the CCTK_VarDataPtr() routines take a 'const cGH *' argument.tradke2001-10-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2441 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routines returning coordinate ranges take a 'const cGH *' as an argumenttradke2001-10-30
| | | | | | | since they shouldn't modify the GH. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2440 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed fortran prototype for registering an IO methodallen2001-10-29
| | | | | | | Cactus/817 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2439 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Give a warning if an IOMethod isn't registeredallen2001-10-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2438 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't stop if a variable type isn't know, but give a level 4 warningallen2001-10-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Using the expression parser for array sizes again now that the memory buggoodale2001-10-25
| | | | | | | | | has been fixed. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing memory allocation error.goodale2001-10-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2435 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't use the 'Qy ...' option if ecpc is used as a linker on IA64.tradke2001-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2434 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set L2_CACHELINE_BYTES (= 128) and L2_CACHE_SIZE (= 2MB) for the IA64.tradke2001-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2433 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More changes for the Intel compilers: if they aren't used for linkingtradke2001-10-24
| | | | | | | | | | | the option '-Qy ...' will be added to LDFLAGS. Also use option '-O0' to completely switch off optimization if it was configured without optimization. This allows people with low memory machines to compile heavy fortran code (like ADM_BSSN). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2432 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug from my last commit.tradke2001-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed small bug with parsing a missing default value for a parameterallen2001-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2430 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include a structure definition into 'extern "C" {' just to be suretradke2001-10-24
| | | | | | | that C bindings are used for it. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2429 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing variable initialization in vector group setup.tradke2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2428 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function to provide the implementation which provided a groupallen2001-10-23
| | | | | | | | | const char *CCTK_GroupImplementationI(int group) Also reduced warning level to fix Cactus/812 in DecomposeName git-svn-id: http://svn.cactuscode.org/flesh/trunk@2427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Just incase anyone registers an IO method from fortranallen2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2426 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a function which returns a list of required (=inherited+friends) ↵allen2001-10-23
| | | | | | | | | | | | implementations for a given implementation. I don't like the function name too much, so it may change in the next couple of weeks uStringList *CCTK_ImplementationRequires(const char *imp) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2425 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding prototypesallen2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2424 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information for interpolation operatorsallen2001-10-23
| | | | | | | | | | | Two new functions const char *CCTK_InterpOperatorImplementation(int handle); int CCTK_NumInterpOperators(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2423 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information to reduce structureallen2001-10-23
| | | | | | | | | | | New functions: const char *CCTK_ReduceOperatorImplementation(int handle); int CCTK_NumReduceOperators(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2422 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information to the IOMethod structureallen2001-10-23
| | | | | | | | | | | Two new functions: const char *CCTK_IOMethodImplementation(int handle); int CCTK_NumIOMethods(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2421 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the old regex parameter parsing to extract the sizes of variable dims.tradke2001-10-23
| | | | | | | The new expression parser is buggy for cases like '<param>+<constant>'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2420 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed function parameter from 'this' to 'list' otherwise you get problemstradke2001-10-23
| | | | | | | including this header in some C++ code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2419 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing library for Intel fortran compilers.tradke2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2418 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Why we don't use mpiCC scripts at the momentallen2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2417 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print out times with the same formatallen2001-10-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2416 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use $(CPP) again to create fortran dependency files on irix.tradke2001-10-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2415 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed small bug in detecting errors in thorn inheritanceallen2001-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2414 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added optimization and debugging flags for the SGI compilers.tradke2001-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2413 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Quick hack to shorten names of function arguments.tradke2001-10-18
| | | | | | | This allows ADM_BSSN to compile again on irix systems where the CCTK_FARGUMENTS macro couldn't be expanded anymore by the system's preprocessor. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2412 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support for the ecpc Intel C++ compiler on the IA64.tradke2001-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2411 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use $(CC) instead of $(CPP) to generate the fortran source dependencies.tradke2001-10-17
| | | | | | | | The irix $(CPP) seems to have a severe limitation for the size of expanded macros. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2410 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added known-arch stuff for NAG fortran compiler.tradke2001-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2409 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
* Untabified.goodale2001-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2407 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing names of internal array size parameters to start with cctkv to preventgoodale2001-10-14
| | | | | | | | | | conflicts with user variables. We should really change to passing in as an array rather than <dim> seperate args. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2406 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed pathnames being ignored when parsing commandline configurationallen2001-10-13
| | | | | | | arguements for configinfo git-svn-id: http://svn.cactuscode.org/flesh/trunk@2405 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to allow any combination of parameters andgoodale2001-10-13
| | | | | | | | | | integer constants combined with +,-,/ and *, with parentheses for the sizes of GAs and the length of vector groups. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2404 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug fix for parsing the size of vector groups.goodale2001-10-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2403 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the extraction of array size and vector group length from parametersgoodale2001-10-13
| | | | | | | | | | to use expression parser. This allows any combination of parameters and integer constants combined with +,-,/ and *, with parentheses. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2402 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding expression parser.goodale2001-10-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2401 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Start of putting the expression parser into the flesh available routines.goodale2001-10-13
| | | | | | | | | | | Currently just a copy of the stuff from HTTPD changed to integer and a bug fix. When it is generalised and some optimisation is done these will become Util routines rather than CCTKi routines. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2400 17b73243-c579-4c4c-a9d2-2d5706c11dac