summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add missing lssh field to struct cGroupDynamicDataeschnett2012-06-11
| | | | | | | | | The size and memory layout of grid functions is described by two variables, cctk_lsh and cctk_lssh. The structure cGroupDynamicData is missing the lssh field. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4833 17b73243-c579-4c4c-a9d2-2d5706c11dac
* correctly detect circular schedule itemsrhaas2012-06-11
| | | | | | | | | before this Cactus would not detect certain cyclic dependencies eg. ones where two scheduled functions are each scheduled after the other or where a function wants to be scheduled after itself. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4832 17b73243-c579-4c4c-a9d2-2d5706c11dac
* have CCTK_RegexMatch return a distinct error code if patterns is invalidrhaas2012-06-05
| | | | | | | | | | | | | | This patch changes the return value in the "does not compile" case to -1 and updates all source files that I could find that use it. Note that this patch changes behaviour of a routine. It used to return 0 for non-compiling patterns so thorns that test for C-like true would interpret invalid patterns as does-not-match, but will interpret the -1 return value as does-match. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4831 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't reference something outside the appendix because the appendices are ↵knarf2012-05-21
| | | | | | used in more than one document git-svn-id: http://svn.cactuscode.org/flesh/trunk@4826 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Describe OPTIONS and TAGS in schedule.ccleschnett2012-05-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4825 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove bashisms, resolves ticket #901knarf2012-05-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4824 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Clean up CCTK_GFINDEX definitionseschnett2012-05-12
| | | | | | | | Do not use macros for CCTK_GFINDEX; use static inline functions all the time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4823 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare string array as "const char*"eschnett2012-05-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4822 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.4.0 (Mac OSX 10.7.4)eschnett2012-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4821 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove outdated language recommendationseschnett2012-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4820 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing table labeleschnett2012-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4819 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update description of configuration.ccleschnett2012-05-09
| | | | | | | | Don't call this "new" any more. Remove description of ideas that are not implemented. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4818 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reorder file name suffix tableeschnett2012-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4817 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add I/O timers to Cactus flesheschnett2012-05-08
| | | | | | | Add timers for each I/O method in the flesh. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4816 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove stand-alone ThornGuide make targeteschnett2012-05-08
| | | | | | | | | Remove the make target that builds the stand-alone, global Thorn Guide. The configuration-specific ThornGuides and the individul ThornDocs remain. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4815 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare missing 0D GFIndex functionseschnett2012-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4814 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect declarations with external "C"eschnett2012-05-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4813 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enable "restrict" as keyword in C++eschnett2012-05-07
| | | | | | | You can now use "restrict" instead of CCTK_RESTRICT in C++. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4812 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Handle requirements recursivelyeschnett2012-05-02
| | | | | | | | | | If A requires B, and B requires C, then A also requires C. This is necessary e.g. for include directories: If A includes a file from B, which in turn includes a file from C, then C's include directory must be in the search path of A. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4811 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More error checking for capability nameseschnett2012-05-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4810 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Handle BEGIN/END INCLUDE in configuration.ccl script outputeschnett2012-05-02
| | | | | | | Translate BEGIN INCLUDE...END INCLUDE into include statements. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4809 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support OpenCL source code (.cl files)eschnett2012-05-02
| | | | | | | | | | | | | | | | | | OpenCL source code needs to be compiled at run time, and thus needs to be passed as string to the OpenCL run-time library. This makes writing OpenCL source code inconvenient. This patch adds *.cl as supported file type to Cactus. *.cl files are transformed into globally visible strings, with a name consisting of the thorn name and file name. These strings can then be easily used at run time to build and run OpenCL code. Since *.cl files are converted to strings (and are not OpenCL-compiled at build time), there are no CL* options specifying compiler type, compiler flags etc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4808 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct info messageeschnett2012-05-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4807 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prevent CST from hanging if a {} "" block is missing after a scheduling ↵knarf2012-05-01
| | | | | | block and before the end of the file. Closes #825. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4806 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add function to query name of currently scheduled functionrhaas2012-04-23
| | | | | | | | | | this adds a function CCTK_ScheduleQueryCurrentFunction which returns the cFunctionData of the function currently executing via CCTK_CallScheduledFunction git-svn-id: http://svn.cactuscode.org/flesh/trunk@4805 17b73243-c579-4c4c-a9d2-2d5706c11dac
* expand expression language, add error checking, and more documentationrhaas2012-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4804 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some cleanup: Use my, use better variable names, re-indent.eschnett2012-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4803 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix memory leak in SetVarEvaluatorrhaas2012-04-17
| | | | | | | forgot to call free() after strdup() git-svn-id: http://svn.cactuscode.org/flesh/trunk@4802 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix access to free()ed memory in ParameterSetReal introduce in r 4797rhaas2012-04-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4801 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing #includeeschnett2012-04-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4800 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Simplify two routines in ParseFile.ceschnett2012-04-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4799 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add documenation on expression parser to UserGuiderhaas2012-04-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4798 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow arithmetic expression in ParameterSetrhaas2012-04-11
| | | | | | | | | | | | | | | | | | Expression are of the form: foo::bar = 2*sin(foo:baz) ie. arithmetic and access to already set parameters. The new behaviour is triggered if the parameter string (for real, boolean and int parameters) does not parser properly as a double/int/bool. This last test is mostly an optimization. The largest change is actually in the expression parser which has been extended to handle eg. exponential notation and negations. It now uses a state machine to parse its input. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4797 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix prototype of CCTK_Barrier in reference manualrhaas2012-03-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4796 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Discard spaces after "LANGUAGE xxx" specification in interface.ccleschnett2012-03-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4795 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ensure that stderr remains unbufferedeschnett2012-03-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4794 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set file buffering for stdout after redirecting I/Oeschnett2012-03-03
| | | | | | | | | Set file buffering for stdout (Cactus option -l) after redirecting I/O (Cactus option -r), so that the buffering applies also for redirected I/O. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4793 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for getpid()eschnett2012-02-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4792 17b73243-c579-4c4c-a9d2-2d5706c11dac
* implement per-variable tolerances for Cactus testsuites, for long ↵knarf2012-02-23
| | | | | | discussion, see ET ticket #114 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4791 17b73243-c579-4c4c-a9d2-2d5706c11dac
* document per-variable tolerances for Cactus testsuites, for long discussion, ↵knarf2012-02-23
| | | | | | see ET ticket #114 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4790 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.3.0eschnett2012-02-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4789 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Merge branch 'NewSchedule' into trunkhinder2012-01-31
| | | | | | | | | | | This provides support for specifying READS and WRITES clauses for each function scheduled in schedule.ccl. These list the variables which the scheduled function reads from or writes to. This supports future dependency-based scheduling. See https://docs.einsteintoolkit.org/et-docs/Adding_requirements_to_the_Cactus_scheduler for more information. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4788 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make testsuite script aware of comments in lines with ActiveThorns statements.knarf2012-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4784 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed double - in testsuite docs.sbrandt2012-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4783 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed RCSfile tag that appeared in the bottom left of many pages.sbrandt2012-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4782 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rename variable CUCC_POSTPROCESSING to CU_POSTPROCESSINGeschnett2012-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicitly list passing test caseseschnett2012-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4780 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typo in testsuite example commandknarf2011-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4779 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove dead linkknarf2011-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4778 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve comment explaining cGH->dataeschnett2011-12-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4777 17b73243-c579-4c4c-a9d2-2d5706c11dac