Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | | Differencing.m: Throw an error if the FD operator definition does not match ↵ | Ian Hinder | 2010-09-29 | |
| | | | | | | | | | | | | | | | the pattern Previously Kranc silently generated nonsense code | |||
| * | | Differencing.m: Add DiffPlusOp and DiffMinusOp | Ian Hinder | 2010-09-29 | |
| | | | | | | | | | These operators take forward and backward differences without dividing by the grid spacing. | |||
* | | | use CCTK_LOOP3 for simple loops, make dependency on LoopControl optional | Roland Haas | 2012-01-10 | |
| | | | | | | | | | | | | for non-vectorized codes | |||
* | | | Simplify and clean up vectorisation | Erik Schnetter | 2012-01-06 | |
| | | | ||||
* | | | Allow choosing number of timelevels for non-evolved variables | Erik Schnetter | 2012-01-02 | |
| | | | ||||
* | | | Don't vectorise exponent in pow() | Erik Schnetter | 2012-01-02 | |
| | | | ||||
* | | | Errors.m: Don't use InputForm for FullForm objects | Ian Hinder | 2011-12-20 | |
| | | | ||||
* | | | Add more context to string list verification error messages | Ian Hinder | 2011-12-20 | |
| | | | ||||
* | | | Relax variable checking to allow variables to be expressed as strings ↵ | Ian Hinder | 2011-12-20 | |
| | | | | | | | | | | | | | | | instead of symbols Using Mathematica strings for variable names makes it possible to access variables with names containing underscores from other thorns. | |||
* | | | CodeGenC.m: Eliminate messages about source language | Ian Hinder | 2011-11-29 | |
| | | | | | | | | | C is the only language that currently works | |||
* | | | KrancTensor.m: Print name of thorn being created on startup | Ian Hinder | 2011-11-29 | |
| | | | ||||
* | | | TensorTools.m: Correct error message for mismatched indices | Ian Hinder | 2011-11-29 | |
| | | | ||||
* | | | CalculationFunction.m: Check that derivatives are not used in calculations ↵ | Ian Hinder | 2011-11-29 | |
| | | | | | | | | | | | | | | | | | | with Where -> Everywhere This is the default, and would lead to operators which read off the edge of the grid. | |||
* | | | Differencing.m: Add StencilSize function to return the stencil size used in ↵ | Ian Hinder | 2011-11-29 | |
| | | | | | | | | | | | | an equation | |||
* | | | Remove old, unused files. | Barry Wardell | 2011-11-28 | |
| | | | ||||
* | | | TensorTools.m: Check consistency of tensor indices | Ian Hinder | 2011-11-20 | |
| | | | | | | | | | Abort with an error if tensor indices are used inconsistently. | |||
* | | | Don't output full equations in InfoFull mode when simplifying | Ian Hinder | 2011-11-19 | |
| | | | ||||
* | | | Add two-argument ArcTan function | Ian Hinder | 2011-11-19 | |
| | | | ||||
* | | | Add some debugging code (disabled by default) | Ian Hinder | 2011-11-14 | |
| | | | ||||
* | | | Skip factorisation if NoSimplify has been specified for a calculation | Ian Hinder | 2011-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 calculations | Hal Finkel | 2011-11-01 | |
| | | | ||||
* | | | Merge branch opencl into master | Ian Hinder | 2011-10-28 | |
|\ \ \ | ||||
| * | | | Errors.m: Use Print instead of PrintStructure for printing informational ↵ | Ian Hinder | 2011-10-28 | |
| | | | | | | | | | | | | | | | | messages | |||
| * | | | Errors.m: Print structures in InputForm always | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | CalculationFunction.m: Correct argument order for CheckStencil | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | CalculationFunction.m: Improve output of list verification error message | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | Add disabled code for automatic profiling | Ian Hinder | 2011-10-28 | |
| | | | | | | | | | | | | | | | | Currently, enabling full profiling on all DefFn functions leads to a performance penalty. This needs to be investigated. However, profiling is still useful, so I am adding the code. | |||
| * | | | CodeGenCactus.m: Fix error in non-LoopControl looping function pattern | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | Make InsertComment externally visible | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | CalculationFunction.m: Add explicit profiling to Simplify operation | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | CalculationFunction.m: Use DefFn for two important functions | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | Add Profile.m for profiling Mathematica functions | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | Make ZeroDimensions work again | Ian Hinder | 2011-10-28 | |
| | | | | ||||
| * | | | Differencing.m: Fix logic in ComponentDerivativeOperatorMacroDefinition | Ian Hinder | 2011-10-13 | |
| | | | | | | | | | | | | The variable assignment in this function got messed up at some point, so that differencing operators which didn't fit the pattern for precomputation would not be generated correctly. | |||
| * | | | Differencing.m: Use DefFn to define functions | Ian Hinder | 2011-10-12 | |
| | | | | ||||
| * | | | CodeGen*.m: Use DefFn to define functions | Ian Hinder | 2011-10-07 | |
| | | | | ||||
| * | | | Errors.m: Add DefFn function for defining functions | Ian Hinder | 2011-10-07 | |
| | | | | | | | | | | | | This means that ErrorDefinition can be applied automatically. In future we could add profiling and stack information for backtraces. | |||
| * | | | Split CodeGen.m into CodeGen.m, CodeGenC.m and CodeGenCactus.m | Ian Hinder | 2011-10-07 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CodeGenC.m still contains Fortran variants. These might be moved into CodeGenFortran.m. - Several other modules essentially need to pull in all three packages due to newly broken abstraction barriers. This can be fixed incrementally. - Indent and format all three files consistently | |||
| * | | | CodeGen.m: Add strict pattern checking to all functions | Ian Hinder | 2011-10-06 | |
| | | | | ||||
| * | | | CodeGen.m: Remove intersperse function and replace use by Riffle | Ian Hinder | 2011-10-06 | |
| | | | | ||||
| * | | | Errors.m: Add ErrorDefinition | Ian Hinder | 2011-10-06 | |
| | | | | | | | | | | | | | | | | This function can be used to create default definitions for functions which throw exceptions indicating unexpected arguments have been passed. | |||
| * | | | CodeGen.m: Rewrite FlattenBlock and make it more strict | Ian Hinder | 2011-10-06 | |
| | | | | ||||
| * | | | CodeGen.m: Make GridName return a string rather than an expression | Ian Hinder | 2011-10-06 | |
| | | | | | | | | | | | | | | | | The expression it was returning was not a valid CodeGen block | |||
| * | | | CodeGen.m: Add missing comma in GenericGridLoopTraditional | Ian Hinder | 2011-10-06 | |
| | | | | ||||
| * | | | Define/declare identifier "t" (holding cctk_time) in some missing places | Erik Schnetter | 2011-10-02 | |
| | | | | ||||
| * | | | Add support for generating OpenCL code | Erik Schnetter | 2011-09-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This must be enabled via an option UseOpenCL->True, similar to vectorisation. * When generating code for a calculation, stringify the kernel and call the OpenCL run time, when OpenCL code should be generated. * Stringify Differencing.h when OpenCL is used. * Move certain function calls out of the body of the generated code and into the wrapper, e.g. screen output and checking whether grid functions have memory. | |||
| * | | | Use imin and imax instead of min and max as formal argument names for loop ↵ | Erik Schnetter | 2011-09-29 | |
| | | | | | | | | | | | | | | | | body functions | |||
| * | | | CodeGen.m: Add StorePartialVariableInLoop | Erik Schnetter | 2011-09-29 | |
| | | | | ||||
| * | | | CodeGen.m: Replace Cos, Sin, Tan with kcos, ksin, ktan in calculations | Erik Schnetter | 2011-09-29 | |
| | | | | | | | | | | | | | | | | Also add some optimisations | |||
| * | | | Differencing.m: Use KRANC_GFOFFSET3D macro in difference operators | Erik Schnetter | 2011-09-29 | |
| | | | |