summaryrefslogtreecommitdiff
path: root/src/main/SetParams.c
Commit message (Collapse)AuthorAge
* Make parameter array assignments without specifying the actual indextradke2005-11-03
| | | | | | | a major error also at the default parameter checking level. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4190 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Apply patch ↵tradke2005-10-24
| | | | | | | | | | | | | | | | | | | | | http://www.cactuscode.org/old/pipermail/patches/2005-October/000112.html: Check if there is more than one assignment to a parameter in the parfile and will print a warning with line number information in such a case. It checks both for multiple parameter assignments of the same or a different value. Depending on the parameter checking level (as set via the command line option '-parameter-level {strict|normal|relaxed}') the flesh will also abort the run after printing the warning in the following two cases: * the parameter level is "normal" (which is the default) or "strict" and there are multiple assignments of different values * the parameter level is "strict" and there are multiple assignments of the same value git-svn-id: http://svn.cactuscode.org/flesh/trunk@4188 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabifying.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4163 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change labelling of error messages for problems with parameter filesallen2003-06-07
| | | | | | | | | | to avoid confusion with standard warning levels. Tidied errors to handle the difference between 1 or more errors with better grammar. Fixes Cactus/1500 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3236 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Give line number when ActiveThorns parameter failsallen2002-08-20
| | | | | | | Fixes Cactus/1024 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2981 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Give error message if tried to set an array parameter without the [number].goodale2002-05-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2836 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more error checking checking for valid numbers and traceback ofgoodale2002-05-20
| | | | | | | | | errors when setting accumulator parameters. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2834 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a small typo in a warning message.tradke2002-04-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2708 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
* 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
* 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
* New improved thorn activation routine. This routine checks the relationshipsgoodale2001-05-22
| | | | | | | | | | | | | | | | | (i.e. implementations inhertied from, and friends) of a thorn and doesn't allow an inconsistent set of thorns to be activated. This fixes the long-standing bug where a thorn could be activated without its ancestors resulting in core dumps. See, for example PR 405. Please check your parameter files carefully as it is quite likely that one or more thorns are missing. From fixing the testsuites the most common ones missing were Boundary,PUGHSlab and FlexIO. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2207 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Compiler warningallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2167 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reorganising the parameter checking and adding checking levels whichallen2001-02-24
| | | | | | | | | | | | | | | | | | | | | can be set on the command line. Please see the Running Cactus section of the UsersGuide for more information. The only things you should notice are: 1) Cactus will now error and stop if you try and set a parameter foo::bar for an *active* implementation or thorn foo which has no parameter bar (if foo is not active you only get a warning) 2) Cactus will not stop if you steer a parameter out of its allowed range. Making these changes involved delicate tracing of error codes, so please let us know if you notice anything weird. Gabrielle. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2050 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various things to reduce the number of compile time warnings.goodale2000-12-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1956 17b73243-c579-4c4c-a9d2-2d5706c11dac
* GRdoc + coding guideline stuff.goodale2000-10-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1851 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidying warningsallen2000-07-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1717 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor change.goodale2000-05-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1657 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1292 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replacing CCTK_WARN with CCTK_Warnallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1268 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Won't set a parameter from an inactive thorn, see PR CCTK/77.goodale1999-09-14
| | | | | | | | | Removed some tabs from the source file. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@902 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added prototypes for functionsallen1999-09-04
| | | | | | | | Tweaked CCTK_iSetParameter to ignore double spaces in the ActiveThorns psuedo-parameter git-svn-id: http://svn.cactuscode.org/flesh/trunk@871 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
* Fixed warning messagetradke1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@834 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
* Quick hack for getting a warning on unknown parameters in the parameter filetradke1999-07-29
| | | | | | | | and stopping cactus then. Leave it here until we will use Tom's new parameter database functions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@820 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen1999-07-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@787 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routine name changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@782 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Initialised the return value !goodale1999-07-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@744 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest changes for the ActiveThorns.goodale1999-07-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The ActiveThorns parameter now works.goodale1999-07-04
| | | | | | | | | | Note that this means the testsuites now need to be changed to include the parameter. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@648 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for the ActiveThorns parameter.goodale1999-07-04
| | | | | | | | | | | | | | | | Now need to specify ActiveThorns before any other parameters to list those thorns which are active. No parameters or startup or rfr routines are available from inactive thorns. Note that this isn't quite working yet but I hope to track it down by morning. In the meantime either don't update or be prepared for things to be slightly broken. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some tidying up.goodale1999-01-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@89 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now call the functions in the CatusBindings library.goodale1999-01-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@86 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various bits of tidying up etc.goodale1999-01-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@57 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Further work on parameters.goodale1999-01-13
| | | | | | | | | Will now read in and parse parameters. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@51 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added functions to register thorns.goodale1999-01-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@50 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sets parameter values.goodale1999-01-13
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@48 17b73243-c579-4c4c-a9d2-2d5706c11dac