aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/CalculationFunction.m
Commit message (Collapse)AuthorAge
...
* Add allowed symbolsIan Hinder2012-04-03
|
* Add SplitBy option to calculations to split calculations up by variableIan Hinder2012-04-02
| | | This is not quite perfect yet; scheduling statements which use the original calculation name will not see the new calculation names. We should introduce a group for the original calculation name.
* Implement CachedVariables key in calculationsIan Hinder2012-04-02
| | | | This is used by CaKernel to determine which variables to cache (i.e. to use shared memory for).
* Add generic Conditional key for calculationsIan Hinder2012-03-21
|
* CalculationFunction.m: Move parameter check to before stencil checkIan Hinder2012-03-21
| | | This stops the stencil check from happening if the parameters mean the calculation is not being run.
* CalculationFunction.m: Check that only recognized keys are used in calculationsIan Hinder2012-03-21
|
* Use ThrowError instead of ThrowErik Schnetter2012-02-20
|
* Allow using PD in Everywhere calculations with DGFEErik Schnetter2012-02-20
|
* Split group arguments for OpenCL over multiple linesErik Schnetter2012-02-20
|
* Correct typographical error in commentErik Schnetter2012-02-20
|
* Declare arguments to GenericFD_AssertGroupStorage as constErik Schnetter2012-02-20
| | | | Also split arguments over multiple lines.
* De-allocate the DGFE solver after the RHS calculationDavid Radice2012-02-17
|
* A few small fixesErik Schnetter2012-02-17
| | | | | | | | * Remove the need to use "CCTK_ARGUMENTS" in the flux method (yields a speedup of a factor 100 on the wave toy) * Fix the sign convention on the fluxes * Removed unneeded boiler plate code for the WENO part of the HRSCCore library
* Merge remote-tracking branch 'origin/dgfe'Barry Wardell2012-02-17
|\ | | | | | | | | Conflicts: Tools/CodeGen/CalculationFunction.m
| * Update OpenCL to new flesh. Support derivatives in DGFE.Erik Schnetter2012-02-16
| |
* | Fix generation of DGFE thorns.Barry Wardell2012-02-17
| |
* | CalculationFunction: Gain a speedup in Krancing by only computing the ↵Barry Wardell2012-02-09
| | | | | | | | stencil size once.
* | Merge remote-tracking branch 'origin/piraha'Barry Wardell2012-02-09
|\ \ | | | | | | | | | | | | Conflicts: Tools/CodeGen/Kranc.m
| * | CalculationFunction.m: Implement Where -> AutomaticIan Hinder2012-01-27
| | | | | | | | | If you specify Where -> Automatic in a calculation, Kranc will choose Interior or Everywhere depending on whether you have any finite difference operators in the calculation or not. In combination with some logic for checking that boundary conditions have been applied, this should make Kranc more user-friendly.
* | | Merge remote-tracking branch 'origin/cakernel'Barry Wardell2012-02-09
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Tools/CodeGen/CalculationFunction.m Tools/CodeGen/CodeGenCactus.m Tools/CodeGen/Differencing.m Tools/CodeGen/KrancThorn.m Tools/CodeGen/Schedule.m
| * | | CalculationFunction.m: Add MacroPointer option to call to ReplaceDerivativesIan Hinder2012-02-04
| | | | | | | | | | | | This code path is only used when there are shorthands in the partial derivative definitions.
| * | | CalculationFunction.m: Remove unused variableIan Hinder2012-02-04
| | | |
| * | | Support finite differencing in CaKernelIan Hinder2012-01-27
| | | |
| * | | CalculationFunction.m: Eliminate t magicIan Hinder2012-01-27
| | | | | | | | | | | | | | | | We don't need to replace t -> cctk_time any more, because we define t as a constant.
| * | | Factor out InitFDVariablesIan Hinder2012-01-26
| | | | | | | | | | | | This means it can be different for CaKernel
| * | | Move SetDataType to Thorn.m and CaKernel.mIan Hinder2012-01-26
| | | |
| * | | Remove unused DeclareFDVariablesIan Hinder2012-01-26
| | | |
| * | | Factor out gridfunction access (phi[index]) functionIan Hinder2012-01-25
| | | |
| * | | Factor out looping function and make it a member function of a calculationIan Hinder2012-01-25
| | | |
| * | | CalculationFunction.m: Make the generation of a "caller" function dependent ↵Ian Hinder2012-01-24
| | | | | | | | | | | | | | | | | | | | on a calculation member variable The "caller" function is the one that is actually scheduled (in the C case) and which calls the looping function with the body function as argument. This separation is not needed for all targets, so make it optional.
| * | | Pull out the generation of the calculation body function definition into a ↵Ian Hinder2012-01-24
| | | | | | | | | | | | | | | | | | | | calculation member function This allows it to be customized based on the target type.
| * | | Tidy up argument passing for calculation and source file generationIan Hinder2012-01-24
| |/ /
* | | Merge remote-tracking branch 'origin/dgfe'Barry Wardell2012-02-04
|\ \ \ | |/ / |/| / | |/ | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Tools/CodeGen/CodeGenCactus.m Tools/CodeGen/Kranc.m Tools/CodeGen/Thorn.m
| * Improve formatting of generated codeErik Schnetter2011-12-29
| | | | | | | | Don't add spaces before parentheses or after pointer-asterisks.
| * Generate more compatible C++ code for DGFE classErik Schnetter2011-12-24
| |
| * Add option to generate DGFE codeErik Schnetter2011-12-19
| |
| * Support provides/requires statements in the schedule.Erik Schnetter2011-11-29
| | | | | | | | | | Wrap cctk_time in ToReal. Simplify non-OpenCL vectorised store operations
* | Merge branch 'hydro'Ian Hinder2012-01-22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Examples/kranc.th Tools/CodeGen/Kranc.m Tools/CodeGen/KrancTensor.m Tools/CodeGen/Schedule.m Tools/CodeGen/Thorn.m
| * \ Merge remote-tracking branch 'origin/master' into hydroIan Hinder2011-06-03
| |\ \
| * | | CalculationFunction.m: Add function GridFunctionsInExpressionIan Hinder2010-10-01
| | | |
| * | | CalculationFunction.m: Export the calculationSymbols functionIan Hinder2010-10-01
| | | |
* | | | use CCTK_LOOP3 for simple loops, make dependency on LoopControl optionalRoland Haas2012-01-10
| | | | | | | | | | | | | | | | for non-vectorized codes
* | | | Relax variable checking to allow variables to be expressed as strings ↵Ian Hinder2011-12-20
| |_|/ |/| | | | | | | | | | | instead of symbols Using Mathematica strings for variable names makes it possible to access variables with names containing underscores from other thorns.
* | | CalculationFunction.m: Check that derivatives are not used in calculations ↵Ian Hinder2011-11-29
| | | | | | | | | | | | | | | | | | with Where -> Everywhere This is the default, and would lead to operators which read off the edge of the grid.
* | | Don't output full equations in InfoFull mode when simplifyingIan Hinder2011-11-19
| | |
* | | Add some debugging code (disabled by default)Ian Hinder2011-11-14
| | |
* | | Skip factorisation if NoSimplify has been specified for a calculationIan Hinder2011-11-14
| | | | | | | | | The factoring of complex expressions is very slow. In one case, skipping the factoring reduced thorn-generation time from 90 minutes to 40 seconds.
* | | Add ability to evolve ODEs in calculationsHal Finkel2011-11-01
| | |
* | | CalculationFunction.m: Correct argument order for CheckStencilIan Hinder2011-10-28
| | |
* | | CalculationFunction.m: Improve output of list verification error messageIan Hinder2011-10-28
| | |