summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Reformat routineeschnett2013-10-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5045 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove unused variableseschnett2013-08-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5041 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the --python flag work.sbrandt2013-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5037 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added parfile pegsbrandt2013-07-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5036 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus currently printsknarf2013-07-27
| | | | | | | | | | | | | | | | | | | | | 10 1 0101 ************************ 01 1010 10 The Cactus Code V4.0 1010 1101 011 www.cactuscode.org 1001 100101 ************************ 00010101 100011 (c) Copyright The Authors 0100 GNU Licensed. No Warranty 0101 Cactus version: 4.2.1 Note the first version, mentioned in the Banner (4.0) is wrong - it's hard-coded in the source. The attached patch uses CCTK_FullVersion() instead. Kudos to Steve to spot this. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5035 17b73243-c579-4c4c-a9d2-2d5706c11dac
* return "parameter already set" when resetting a fixed parameter during recoveryrhaas2013-07-04
| | | | | | | | | this allows the caller to abort the run since the user tried to change a non-steerable parameter during recovery. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5031 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use lrint and casts to avoid compiler warnings about type conversionrhaas2013-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5030 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerateeschnett2013-06-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5028 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Honour CCTK_DISABLE_OMP_COLLAPSEeschnett2013-06-13
| | | | | | | Also add CCTK_ATTRIBUTE_UNUSED. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5027 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix implementation of 'complex' for c++0x, see #1374knarf2013-05-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5022 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move all of Piraha into cctki_piraha namespaceeschnett2013-05-15
| | | | | | | | | | Change namespace "piraha" to "cctki_piraha", as per Cactus naming standard. Move smart_ptr into this namespace as well. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5012 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Disable Piraha debugging codeeschnett2013-05-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5010 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed license text.sbrandt2013-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5006 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undoing an accidental commit.sbrandt2013-05-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5003 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Closing tickets #1290, #1328, #1324sbrandt2013-05-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5002 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the basic grammar files, and the changessbrandt2013-04-03
| | | | | | | | | to the piraha code necessary to parse all of Cactus. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4990 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updates to Piraha:sbrandt2013-03-22
| | | | | | | | | | | 1) Added some debug code 2) Fix logic bugs that only I noticed Still passes the ET testsuite. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4988 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor cleanup of the grammar.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4987 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Let active thorns treat \r as whitespace when parsing tokens.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4986 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't require a final newline.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4985 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove debug outputeschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4982 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct typo in commenteschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4981 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mark code after CCTK_Warn(0,...) as unreachableeschnett2013-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4980 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace Cactus complex number type with C/C++ complex numberseschnett2013-03-08
| | | | | | | | | | | | | | | | Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in C++. (It is already mapped to "double complex" in Fortran.) Update type definitions. Re-implement Cactus complex number math functions by calling the respective C functions. Update thorn that access real and imaginary parts of complex numbers to use standard-conforming methods instead. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4979 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 1) Allow comments in quotessbrandt2013-03-06
| | | | | | | | | | | | 2) expand variables in quotes 3) parse fortran format floats, e.g. 1.0e-3 4) allow some sequences of number/letter to be treated as a name even if they start with a digit. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4978 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make support for inf more explicit, and add supportsbrandt2013-03-05
| | | | | | | | for nan. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4977 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Significant upgrade of Piraha:sbrandt2013-03-04
| | | | | | | | | | | | | | It no longer uses strings to store intermediate values in expressions. It now supports everything that was supported by the old expression parser. Comments added. Numerous pieces of error checking added. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4974 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix a namespace issuesbrandt2013-02-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4967 17b73243-c579-4c4c-a9d2-2d5706c11dac
* (1) Fix compilation issues on Pandorasbrandt2013-02-26
| | | | | | | | | | | | (2) Disallow setting multiple parameters on one line (3) Allow sign in floating point format to be optional (4) Use package piraha (5) change PirahaParser to cctk_PirahaParser (6) remove size.py git-svn-id: http://svn.cactuscode.org/flesh/trunk@4966 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implement CCTK_Error and friendseschnett2013-02-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4963 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow for unquoted file names so long as they begin with ./ or /sbrandt2013-02-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4961 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change the parameter parser to Pirahasbrandt2013-02-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4960 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Be more cautious with macro argument namespaces in cctk_Loop.heschnett2013-01-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4948 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct Fortran OpenMP errors in loop macroseschnett2013-01-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4947 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't crash when activating non-existing thornseschnett2013-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4946 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add more error checks when activating thornseschnett2013-01-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4945 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make it obvious that all variables are used initialisedeschnett2013-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4944 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mark some cctk_Loop variables as unusedeschnett2013-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4943 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct variable nameeschnett2013-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4942 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only warn (don't err) if a thorn is activated multiple timeseschnett2013-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4941 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Automatically activate required thornseschnett2013-01-18
| | | | | | | | Activate require and optional thorns automatically (but not optional_ifactive thorns). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4939 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Clean up namespace for vectorised loopseschnett2013-01-17
| | | | | | | | | Add two new arguments (imin and imax) to vectorised loops, which are variable names that will be set to the desired loop bounds by the looping macros. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4937 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make CCTK_REAL16 more flexibleeschnett2013-01-15
| | | | | | | | | Instead of assuming that CCTK_REAL16 is real*16 in Fortran, allow any real*N for user-specified values of N. This enables using CCTK_REAL16 e.g. with gcc versions that call it real*10. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4936 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct and beautify timer outputeschnett2013-01-14
| | | | | | | | | | Output "seconds" instead of the actual timer value, in accordance with the column headers. Do not indent output. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4933 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Always include <cmath> and <math.h> in the same ordereschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4932 17b73243-c579-4c4c-a9d2-2d5706c11dac
* re-instate range checks for integer parameters rhaas2012-12-10
| | | | | | | that were lost in rev 4797. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4928 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't define C++ wrappers isnan() etc. for CUDAeschnett2012-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4925 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus allows for negative error levelknarf2012-12-03
| | | | | | | | | Currently, Cactus allows to set a negative error level through the command line option. This leads to CCTK_WARN(0,"") not necessarily aborting. While this is not wrong by itself, a lot of code assumes an abort at that point. This patch changes CCTKi_SetErrorLevel() to only accept non-negative error levels and to change the command-parsing code to give an error message for that case as well. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4923 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make data parameter of expression evaluation functions consthinder2012-11-30
| | | | | | data is a pointer to user-supplied data used for evaluating the expression. It should not be modified by the evaluation. Note that this modifies the flesh API to the (undocumented) thorn-visible function Util_ExpressionEvaluate. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4922 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for errors when redirecting stdout/stderreschnett2012-11-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4919 17b73243-c579-4c4c-a9d2-2d5706c11dac