aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAge
* New function AddGroupTag. Use it to set Prolongation=None for RHS variables.Erik Schnetter2013-04-04
|
* Annotate grid functions in calculations with the regions that they read and ↵Erik Schnetter2013-04-04
| | | | | | write Introduce global tags RequiredRegion, ProvidedRegion.
* Remove superfluous Join[] callsErik Schnetter2013-04-04
|
* Correct loop bounds (once more)Erik Schnetter2013-01-20
|
* Correct variables names for loop boundsErik Schnetter2013-01-19
|
* Do not generate integer constantsErik Schnetter2013-01-16
| | | | Do not generate integer constants; this may fail if they are arguments to two-argument functions (e.g. pow) with some C++ compilers.
* Use CCTK_ macros instead of LC_ macros for loopingErik Schnetter2013-01-16
|
* Handle merge conflictErik Schnetter2013-01-16
|
* Remove some const declarations; these lead to compiler errors with IBM's ↵Erik Schnetter2013-01-16
| | | | compiler on the Blue Gene/Q
* Don't remove parenthesis in ParamCheck.Barry Wardell2012-12-11
| | | The removal code wasn't working correctly.
* Support Or and And with more than two arguments in ParamCheck.Barry Wardell2012-12-11
|
* Remove unused code.Barry Wardell2012-12-11
|
* Add missing local variable declaration.Barry Wardell2012-12-11
|
* Correct ParamCheck function name.Barry Wardell2012-12-11
|
* Expand dummy indices in a particular order to reduce code sizeErik Schnetter2012-12-10
| | | | Expand less-often occurring dummy indices first to reduce the size of the generated code.
* Determine READS groups/variables more accuratelyErik Schnetter2012-12-10
| | | | If a local variable is read from a grid function, but later overwritten before its value is used, don't count them as READS groups.
* Compare Cactus group names case-independentlyErik Schnetter2012-12-10
|
* Add TODO ideaErik Schnetter2012-12-10
|
* Expand Pi and E to their numerical valuesErik Schnetter2012-12-10
|
* Correct translating Max and Min to CErik Schnetter2012-11-24
|
* Thorn.m: Eliminate some code in the case that no symmetries need to be ↵Ian Hinder2012-11-21
| | | | | | registered This avoids a compiler warning about an unused variable
* Schedule.m: Add commentIan Hinder2012-11-21
|
* Change format of internal data structure for group storageIan Hinder2012-11-21
|
* Rename internal MaxTimelevels as TimelevelsParameterIan Hinder2012-11-21
| | | | The old name was confusing
* Thorn.m: Remove unused params argument from groupStorage functionIan Hinder2012-11-21
|
* Schedule.m: Replace <type>GroupStruct functions with storageStructure functionIan Hinder2012-11-21
| | | | This simplifies and clarifies the code.
* Schedule.m: Remove unused maxtimelevels argumentIan Hinder2012-11-21
|
* Schedule.m: Reformat some codeIan Hinder2012-11-21
|
* Use CCTK_ATTRIBUTE_UNUSED to mark declared variables as unusedIan Hinder2012-11-19
| | | | In automatically-generated code, it is often convenient to declare variables unconditionally, and let the compiler strip the unused definitions out. Eventually it would be good to tidy up Kranc so that it only declares variables which are actually needed, but for the moment it is more important to reduce the number of warnings generated during compilation, to encourage users to read the warnings that might actually indicate a problem.
* Merge branch 'master' of git://github.com/ianhinder/KrancIan Hinder2012-11-14
|\
| * Optimise vector division by a scalarErik Schnetter2012-11-14
| |
* | KrancThorn.m: Ensure that conservation calculations have required entriesIan Hinder2012-11-14
| |
* | Calculation.m: Provide a default for UseCaKernel in GetCalculationScheduleNameIan Hinder2012-11-14
| |
* | KrancTensor.m: Declare all derivative operators to TensorToolsIan Hinder2012-11-14
| |
* | TensorTools.m: Expand contractions in all derivative operatorsIan Hinder2012-11-14
| | | | | | Previously, only contractions in the PD operator were expanded. TensorTools didn't know about other operators, as it didn't need to.
* | TensorTools.m: Add a registration interface for derivative operatorsIan Hinder2012-11-14
| | | | | | | | It turns out that we need to know which symbols are going to be used as derivative operators so that we can expand contractions under them. A more general solution might have unintended consequences.
* | Add ParameterConditions option for CreateThornIan Hinder2012-11-14
|/ | | | This option allows the user to set certain conditions on parameters which must be satisfied otherwise the thorn aborts with a given error message (details in Doc/KrancDoc.tex).
* TensorTools.m: Expand contractions within partial derivativesIan Hinder2012-11-14
| | | Previously, PD[v[ua],la] was not expanded
* Correct _Ratio pattern to _RationalErik Schnetter2012-10-25
| | | | Also slightly rewrite kdiv expansion rules.
* Don't convert small integers to reals during code generationErik Schnetter2012-09-13
| | | | Don't convert small integers to reals during code generation. Small integers may be used in if conditions, and converting these to real numbers creates less efficient code.
* Optimise product of sqrt() callsErik Schnetter2012-09-13
|
* Handle Piecewise[] in code generationErik Schnetter2012-09-08
| | | | | Replace Piecewise[] by IfThen[] calls. Unfortunately, this does not work with vectorisation.
* Handle Piecewise[] during CSEErik Schnetter2012-09-08
| | | | Piecewise[] expects nested lists as arguments. CSE doesn't handle this well; therefore, replace Piecewise[] by a different function that expects regular arguments during CSE.
* Reinstate dir[] naming work-around; translate Sign[] to isgn()Erik Schnetter2012-08-16
|
* Don't declare dir* variables with ptrdiff_t (use CCTK_REAL instead)Erik Schnetter2012-08-12
|
* TensorTools.m: Remove components generated by symmetries of antisymmetric ↵Ian Hinder2012-08-11
| | | | tensors
* Add ksgn, so that calls to Sign can be vectorisedErik Schnetter2012-08-10
|
* Delay converting integers to realsErik Schnetter2012-08-10
| | | | Delay converting integers to reals, so that the simplification functions still act on integers. This improves the generated code.
* Handle Sign function while vectorisingErik Schnetter2012-07-25
|
* Don't generate large integers; convert them to CCTK_REAL insteadErik Schnetter2012-07-25
|