aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAge
...
| * | Differencing.m: Throw an error if the FD operator definition does not match ↵Ian Hinder2010-09-29
| | | | | | | | | | | | | | | the pattern Previously Kranc silently generated nonsense code
| * | Differencing.m: Add DiffPlusOp and DiffMinusOpIan Hinder2010-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 optionalRoland Haas2012-01-10
| | | | | | | | | | | | for non-vectorized codes
* | | Simplify and clean up vectorisationErik Schnetter2012-01-06
| | |
* | | Allow choosing number of timelevels for non-evolved variablesErik Schnetter2012-01-02
| | |
* | | Don't vectorise exponent in pow()Erik Schnetter2012-01-02
| | |
* | | Errors.m: Don't use InputForm for FullForm objectsIan Hinder2011-12-20
| | |
* | | Add more context to string list verification error messagesIan Hinder2011-12-20
| | |
* | | 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.
* | | CodeGenC.m: Eliminate messages about source languageIan Hinder2011-11-29
| | | | | | | | | C is the only language that currently works
* | | KrancTensor.m: Print name of thorn being created on startupIan Hinder2011-11-29
| | |
* | | TensorTools.m: Correct error message for mismatched indicesIan Hinder2011-11-29
| | |
* | | 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.
* | | Differencing.m: Add StencilSize function to return the stencil size used in ↵Ian Hinder2011-11-29
| | | | | | | | | | | | an equation
* | | Remove old, unused files.Barry Wardell2011-11-28
| | |
* | | TensorTools.m: Check consistency of tensor indicesIan Hinder2011-11-20
| | | | | | | | | Abort with an error if tensor indices are used inconsistently.
* | | Don't output full equations in InfoFull mode when simplifyingIan Hinder2011-11-19
| | |
* | | Add two-argument ArcTan functionIan 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
| | |
* | | Merge branch opencl into masterIan Hinder2011-10-28
|\ \ \
| * | | Errors.m: Use Print instead of PrintStructure for printing informational ↵Ian Hinder2011-10-28
| | | | | | | | | | | | | | | | messages
| * | | Errors.m: Print structures in InputForm alwaysIan Hinder2011-10-28
| | | |
| * | | CalculationFunction.m: Correct argument order for CheckStencilIan Hinder2011-10-28
| | | |
| * | | CalculationFunction.m: Improve output of list verification error messageIan Hinder2011-10-28
| | | |
| * | | Add disabled code for automatic profilingIan Hinder2011-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 patternIan Hinder2011-10-28
| | | |
| * | | Make InsertComment externally visibleIan Hinder2011-10-28
| | | |
| * | | CalculationFunction.m: Add explicit profiling to Simplify operationIan Hinder2011-10-28
| | | |
| * | | CalculationFunction.m: Use DefFn for two important functionsIan Hinder2011-10-28
| | | |
| * | | Add Profile.m for profiling Mathematica functionsIan Hinder2011-10-28
| | | |
| * | | Make ZeroDimensions work againIan Hinder2011-10-28
| | | |
| * | | Differencing.m: Fix logic in ComponentDerivativeOperatorMacroDefinitionIan Hinder2011-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 functionsIan Hinder2011-10-12
| | | |
| * | | CodeGen*.m: Use DefFn to define functionsIan Hinder2011-10-07
| | | |
| * | | Errors.m: Add DefFn function for defining functionsIan Hinder2011-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.mIan Hinder2011-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 functionsIan Hinder2011-10-06
| | | |
| * | | CodeGen.m: Remove intersperse function and replace use by RiffleIan Hinder2011-10-06
| | | |
| * | | Errors.m: Add ErrorDefinitionIan Hinder2011-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 strictIan Hinder2011-10-06
| | | |
| * | | CodeGen.m: Make GridName return a string rather than an expressionIan Hinder2011-10-06
| | | | | | | | | | | | | | | | The expression it was returning was not a valid CodeGen block
| * | | CodeGen.m: Add missing comma in GenericGridLoopTraditionalIan Hinder2011-10-06
| | | |
| * | | Define/declare identifier "t" (holding cctk_time) in some missing placesErik Schnetter2011-10-02
| | | |
| * | | Add support for generating OpenCL codeErik Schnetter2011-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 Schnetter2011-09-29
| | | | | | | | | | | | | | | | body functions
| * | | CodeGen.m: Add StorePartialVariableInLoopErik Schnetter2011-09-29
| | | |
| * | | CodeGen.m: Replace Cos, Sin, Tan with kcos, ksin, ktan in calculationsErik Schnetter2011-09-29
| | | | | | | | | | | | | | | | Also add some optimisations
| * | | Differencing.m: Use KRANC_GFOFFSET3D macro in difference operatorsErik Schnetter2011-09-29
| | | |