aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/Thorn.m
Commit message (Collapse)AuthorAge
* Thorn.m: Fix single boolean parameters in Conditional statementsIan Hinder2012-04-17
|
* Thorn.m: Improve new ConditionalIan Hinder2012-03-21
|
* Add generic Conditional key for calculationsIan Hinder2012-03-21
|
* Use ThrowError instead of ThrowErik Schnetter2012-02-20
|
* Thorn.m: Fix problem with cakernel.ccl not being createdIan Hinder2012-02-13
|
* Only create cakernel.cc if CaKernel is enabled.Barry Wardell2012-02-09
|
* 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
| * Thorn.m: Uncomment TAGS entry in schedule.cclIan Hinder2012-02-03
| |
| * Thorn.m: Rename REQUIRES and PROVIDES to READS and WRITESIan Hinder2012-01-31
| | | | | | | | Support for this has now been committed to the Cactus flesh
| * Support provides/requires statements in the scheduleIan Hinder2012-01-31
| |
| * Add CaKernel configuration.ccl fileIan Hinder2012-01-30
| |
| * Support finite differencing in CaKernelIan Hinder2012-01-27
| |
| * 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
| |
| * Move CalculationMacros to CodeGenCactus.mIan 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
| |
| * 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
| |
| * Thorn.m: Correct typoIan Hinder2012-01-24
| |
| * Generate basic cakernel.ccl fileIan Hinder2012-01-23
| |
* | 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
| * Thorn.m: Rename REQUIRES and PROVIDES to READS and WRITESIan Hinder2012-01-31
| | | | | | | | Support for this has now been committed to the Cactus flesh
| * Add option to generate DGFE codeErik Schnetter2011-12-19
| |
| * Set requirements correctly for OpenCLErik Schnetter2011-12-18
| |
| * Support provides/requires statements in the schedule.Erik Schnetter2011-11-29
| | | | | | | | | | Wrap cctk_time in ToReal. Simplify non-OpenCL vectorised store operations
* | Thorn.m: Eliminate duplicate reflection symmetry entriesIan Hinder2012-01-23
| | | | | | These can appear when using tensors with index symmetries.
* | Thorn.m: Fix merge errorIan Hinder2012-01-22
| |
* | 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
| * | Thorn.m: Update timestamp on generated thorn directoryIan Hinder2011-12-15
| | | | | | | | | This helps when using the thorn directory as a target in a Makefile
| * | Merge remote-tracking branch 'origin/master' into hydroIan Hinder2011-06-03
| |\ \
| * | | Thorn.m: Default to symmetries of a scalar if reflection symmetries have not ↵Ian Hinder2010-10-01
| | | | | | | | | | | | | | | | | | | | | | | | been provided (and print a warning) This is a temporary hack that needs to be fixed later.
| * | | Thorn.m: Correct comment in symmetry code and add validation check to input ↵Ian Hinder2010-10-01
| | | | | | | | | | | | | | | | of SymmetriesBlock
* | | | use CCTK_LOOP3 for simple loops, make dependency on LoopControl optionalRoland Haas2012-01-10
| |_|/ |/| | | | | | | | for non-vectorized codes
* | | Add ability to evolve ODEs in calculationsHal Finkel2011-11-01
| | |
* | | 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
* | | 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.
* | | Thorn.m: Print message on successful thorn creationIan Hinder2011-09-24
| |/ |/|
* | Tidy up grid indexing using CCTK_LSSH macroErik Schnetter2011-05-27
| | | | | | | | | | | | | | Clean up the code that uses lssh. Note: Although most people don't know about lssh, it's defined by the flesh, and e.g. all standard Cactus boundary conditions use it. However, Carpet currently always sets lssh to lsh, so the difference is "hidden".
* | Make multiplication by Jacobian selectable at run-timeIan Hinder2011-05-25
| | | | | | | | Use of the Jacobian is determined by the user setting the jacobian_group parameter. Also provide a parameter jacobian_identity_map which the user can set to a Carpet map which does not require the Jacobian, in which case the Jacobian will not be applied.
* | Improved common subexpression elimination support.Barry Wardell2011-03-16
| |
* | Revert use of boundary_width parameterIan Hinder2011-01-22
| | | | | | This is a deprecated GenericFD parameter. The correct thing to do is to query the boundary width, but this is unnecessary as this argument is never used anyway.
* | Only vectorise FD variables and macros when UseVectors is setIan Hinder2011-01-22
| |
* | Use ptrdiff_t instead of int for indices; this avoids many 32-to-64-bit ↵Erik Schnetter2010-12-23
| | | | | | | | | | | | conversions and thus generates faster code. Correct code generation for static functions that evaluate the derivative operators.
* | Use C++ for all source files.Erik Schnetter2010-12-06
| | | | | | | | Add extern "C" to scheduled functions.
* | Merge master into vectorIan Hinder2010-12-06
|\ \
| * | Check group storageIan Hinder2010-12-01
| |/
* | Rewrite vectorisation infrastructure:Erik Schnetter2010-12-06
| | | | | | | | | | | | | | | | Use "k" prefix more consistently in arithmetic macros. Improve vector code generation patterns. Move all vectorisation run-time out of Kranc and into a new thorn LSUThorns/Vectors, so that non-Kranc thorns can also use it.
* | Implement vectorisationIan Hinder2010-11-23
| | | | | | | | This is Erik's vectorisation working tree from 13-Oct-2010
* | Add support for vectorisation of generated code.Ian Hinder2010-11-23
|/ | | | Vectorisation needs to be explicitly enabled by setting -DKRANC_VECTORS at build time.