summaryrefslogtreecommitdiff
path: root/src/main
Commit message (Collapse)AuthorAge
...
* Typo in grdocallen2002-01-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2573 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug getting the command line arguments.tradke2002-01-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2570 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the name of the executable to the banner printed to standard out.allen2002-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2566 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The callback routine, CCTKi_SetParameter(), passed to the ParseFile() routinetradke2002-01-02
| | | | | | | | | | now takes the current line number in the parameter file as a third argument. CCTKi_SetParameter() is now able to tell you what line in the parameter file was erroneous. This closes PR Cactus-838. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2555 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set warning level 2 for warnings about out-of-range parameter values.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2554 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New functionsallen2001-12-29
| | | | | | | | | | | | | | | const char *CCTK_CoordName (int dir, const char *systemname) const char *CCTK_CoordSystemImplementation (int handle) int CCTK_NumCoordSystems (void) (probably not optimum names now, since maybe CoordSystemImplementation should take the system name, but this matches what there is now in IO, Interp, Reduce) Also fixed a bug in CCTK_CoordRange where there was no return value to signify that the range wasn't actually found if everything else was there. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bugfix in printing runtime information.tradke2001-12-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2526 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove ErrorCodes.h since it isn't used and doesn't exist any moreallen2001-12-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved the very first CCTK_POSTSTEP schedule bin before CCTK_RECOVER_VARIABLES.tradke2001-12-17
| | | | | | | | | Now POSTSTEP routines aren't run anymore twice on the same timestep after recovery. Closes PR Cactus-824 and Cactus-826. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2512 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warnings when compiling without MPI.tradke2001-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2503 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed the complex div() and abs() routines to conform to the GNU Scientific ↵tradke2001-12-12
| | | | | | | | | | | Library. This closes PR Cactus/335. Also added complex exp(), sin(), cos(), and sqrt() routines according to GSL. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2499 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Shortened the headings for the Cactus default timers a bit (only have thetradke2001-12-11
| | | | | | | | | | timer routine name in it). When outputting the timing info with 'cactus::cctk_timer_output = "full"' also print the units for each timer in its heading. Closes PR Cactus/275. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2495 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed warning level to 2 for messages saying that a non-steerable parametertradke2001-12-11
| | | | | | | | is not set from a parameter file during recovery. Closes PR/442. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2492 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed checking of parameter value.tradke2001-12-10
| | | | | | | Closes Cactus/859. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2490 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warning about an unused variable assignment.tradke2001-12-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2481 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixes for Cactus/833,828,825allen2001-12-04
| | | | | | | | | | | | | | | Parsing errors from Parameter file are fatal errors Report all parameter errors before terminating simulation (actually this isn't quite true, it will report all parsing errors and then stop if necessary and then report all parameter setting errors and stop if necessary) In parsing the parameter file omitting the "=" and ommiting the "= value" are fatal errors. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2478 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed the old regex stuff in CCTKi_ExtractSize() since Tom's new expressiontradke2001-11-27
| | | | | | | | parser stuff works much better now. This gets rid of gcc warnings about unused local variables. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2472 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Turned the GH argument type in calls to CCTK_EnableGroup[{Storage}{Comm}]()tradke2001-11-27
| | | | | | | | | | | from 'void *' into 'cGH *'. Note that this is likely to change into a 'const cGH *' argument before the next release. This closes PR Cactus-820. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2471 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stop Cactus if warning/error level command line option isn't followed bytradke2001-11-16
| | | | | | | | | a numeric value. Closes Cactus-834. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2465 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for utility table routines, implemented by Jonathon Thornburg.goodale2001-11-13
| | | | | | | | | Documentation should follow shortly... Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2462 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing some unprotected mallocs spotted by Ian Hawke.goodale2001-11-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2458 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed semantics for the fortran wrappers CCTK_FortranString() and ↵tradke2001-11-06
| | | | | | CCTK_ParameterValString(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2457 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a const qualifier to the 'cGH *' argument of some flesh routinestradke2001-11-05
| | | | | | | | and for I/O method registration. You will also need to update the I/O thorns which I will commit changes to now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2452 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change "Total time" to "Total time for simulation" in timer reportallen2001-11-05
| | | | | | | | | so it can be grepped for easily. Removing a debug statement I think I left in last commit git-svn-id: http://svn.cactuscode.org/flesh/trunk@2451 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updated to use new version of expression parser.goodale2001-11-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2450 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Preliminary support for 'vector' Grid Variables -goodale2001-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined as <type> <group_name>[<size>] ... as per a normal 1 variable group except with an extra argument. This creates a vector of GVS, with an extra index (the last one for a GA or GF) corresponding to the element in the vector. For scalars this creates an array similar to a DISTRIB=CONSTANT GA. <size> may be either an integer or an integer-valued parameter. So, fortran sees REAL foo[param] TYPE=GF DIM=3 as CCTK_REAL foo(nx,ny,nz,param) and in C it should be accessed as foo[CCTK_GFINDEX3D(cctkGH,i,j,k)*l] When we have COMPACT groups you will also be able to make the extra index the first one rather than the last one. Please treat this as volatile until it is documented, and let me know if you are using it. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2392 17b73243-c579-4c4c-a9d2-2d5706c11dac
* For Erik ... Version -> Cactus versionallen2001-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2378 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus/783 and a bit moreallen2001-09-21
| | | | | | | | | | | | | | | Changed banner information to look something like: -------------------------------------------------------------------------------- Version: 4.0.b11 Compile date: Sep 21 2001 (20:54:30) Run date: Sep 21 2001 (21:17:58) Run host: gullveig.aei.mpg.de Parameter file: test_WaveToy2D.par -------------------------------------------------------------------------------- git-svn-id: http://svn.cactuscode.org/flesh/trunk@2376 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print the parameter file name before the messages about ActiveThornsallen2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2374 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_ParameterGet() returns a const pointer now.tradke2001-09-20
| | | | | | | Also fixed some gcc warnings and added some grdoc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2373 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make 'cGH *' argument to CCTK_TerminateNext() and CCTK_TerminationReached()tradke2001-09-20
| | | | | | | a const pointer. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2371 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added timing and output of total time.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2370 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing to new macros for FORTRAN_STRINGallen2001-09-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2357 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed gcc warnings.tradke2001-09-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2351 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include "cctk_GNU.h" which also knows where to include <regex.h> from.tradke2001-09-06
| | | | | | | Thanks Tom. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2343 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include system header file regex.h only if HAVE_REGEX_H is defined.tradke2001-09-06
| | | | | | | Otherwise take the one from "../gnu/". git-svn-id: http://svn.cactuscode.org/flesh/trunk@2342 17b73243-c579-4c4c-a9d2-2d5706c11dac