Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add Jacobian gridfunctions to GenericFD | Ian Hinder | 2012-03-21 |
| | | | Storage is disabled by default. These are here so that benchmarks and tests can be run using multipatch thorns without having to have another thorn to provide the Jacobians. We should probably have a function to initialize them as well. | ||
* | GenericFD_AssertGroupStorage: Use const for input arguments | Erik Schnetter | 2012-02-20 |
| | |||
* | MathematicaCompat.h: Restore macros | Ian Hinder | 2012-02-11 |
| | | | These were removed in c9ec36148e7d255006d732fb16c00c6a64cfa4c9, but this causes existing thorns to fail to compile. We keep them here for compatibility. | ||
* | Merge remote-tracking branch 'origin/cakernel' | Barry Wardell | 2012-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 | ||
| * | MathematicaCompat.h: Add IntAbs function | Ian Hinder | 2012-02-04 |
| | | | | | | We might want to tidy this up later | ||
| * | MathematicaCompat.h: Add explicit cast to CCTK_REAL in Sign | Ian Hinder | 2012-02-04 |
| | | |||
| * | MathematicaCompat.h: Cast to CCTK_REAL | Ian Hinder | 2012-02-02 |
| | | | | | | This might not be necessary | ||
* | | Merge remote-tracking branch 'origin/dgfe' | Barry Wardell | 2012-02-04 |
|\ \ | |/ |/| | | | | | | | | | | | Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Tools/CodeGen/CodeGenCactus.m Tools/CodeGen/Kranc.m Tools/CodeGen/Thorn.m | ||
| * | Remove support for pown function | Erik Schnetter | 2011-12-29 |
| | | | | | | | | pown is only supported in OpenCL, and does not seem to give a performance improvement. | ||
| * | Generate pown(), which exists in OpenCL | Erik Schnetter | 2011-12-19 |
| | | | | | | | | Also provide pown() if not generating OpenCL code. | ||
| * | Replace almost all functions Sin[x] etc. with their C names sin(x) etc. | Erik Schnetter | 2011-11-29 |
| | | | | | | | | | | | | Replace almost all functions Sin[x] etc. with their C names sin(x) etc. already in Kranc instead of via the C preprocessor, because this allows more optimizations in Kranc. Implement some of these optimizations. | ||
| * | Move vectorised definition of KRANC_GFOFFSET3D into thorn Vectors | Erik Schnetter | 2011-11-29 |
| | | |||
| * | Implement more trigonimetric functions | Erik Schnetter | 2011-11-29 |
| | | | | | | | | | | Implement more trigonimetric functions: sec csc cot arcset arccsc arccot sech csch coth | ||
* | | Merge branch 'hydro' | Ian Hinder | 2012-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 | ||
| * | MathematicaCompat.h: Fix merge error | Ian Hinder | 2011-06-04 |
| | | |||
| * | Merge remote-tracking branch 'origin/master' into hydro | Ian Hinder | 2011-06-03 |
| |\ | |||
| * | | Temporary commit | Ian Hinder | 2011-06-03 |
| | | | |||
| * | | MathematicaCompat.h: Add Min3 and VanLeer macros | Ian Hinder | 2010-09-30 |
| | | | |||
| * | | MathematicaCompat.h: Add MinMod function | Ian Hinder | 2010-09-30 |
| | | | |||
* | | | Add Sech function. | Barry Wardell | 2011-11-26 |
| | | | |||
* | | | Add two-argument ArcTan function | Ian Hinder | 2011-11-19 |
| | | | |||
* | | | MathematicaCompat.h: Add Csch function | Ian Hinder | 2011-10-13 |
| | | | |||
* | | | Correct comment | Erik Schnetter | 2011-10-02 |
| | | | |||
* | | | Optionally require thorn Vectors | Erik Schnetter | 2011-10-02 |
| | | | | | | | | | | | | Optionally require thorn Vectors, because we need to access its #defines | ||
* | | | MathematicaCompat.h: Remove unused code | Erik Schnetter | 2011-09-29 |
| | | | |||
* | | | GenericFD.h: Remove redefinition of "restrict" keyword | Erik Schnetter | 2011-09-29 |
| | | | |||
* | | | Introduce a macro KRANC_GFOFFSET3D to access a grid point with an | Erik Schnetter | 2011-09-29 |
| |/ |/| | | | | | offset | ||
* | | GenericFD: Add GenericFD_EnsureStencilFits | Ian Hinder | 2011-05-27 |
| | | | | | | | | This function checks that there are enough ghost and boundary points for the stencil widths (ni, nj, nk) passed to it. | ||
* | | GenericFD.c: Add GenericFD_GetBoundaryWidths | Ian Hinder | 2011-05-27 |
| | | | | | | | | Based on the existing GetBoundaryWidth but returning all the widths. GetBoundaryWidth now calls the new function. | ||
* | | Add restrict and const qualifiers to the Jacobian pointers | Erik Schnetter | 2011-05-27 |
| | | |||
* | | Tidy up grid indexing using CCTK_LSSH macro | Erik Schnetter | 2011-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 IfThen available in Fortran | Erik Schnetter | 2011-05-27 |
| | | |||
* | | Make multiplication by Jacobian selectable at run-time | Ian Hinder | 2011-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. | ||
* | | Add support for a Jacobian to be applied to all derivatives | Ian Hinder | 2011-05-20 |
| | | |||
* | | Merge master into vector | Ian Hinder | 2011-01-22 |
|\ \ | | | | | | | | | | | | | Fixed conflicts in: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.h | ||
| * | | Remove ancient unused code | Ian Hinder | 2010-12-07 |
| | | | |||
| * | | Remove old "Ceiling" and "Perturb" thorns which are unrelated to Kranc | Ian Hinder | 2010-12-07 |
| | | | |||
* | | | Remove outdated vectorisation implementation. An equivalent functionality is ↵ | Erik Schnetter | 2010-12-07 |
| | | | | | | | | | | | | now available in LSUThorns/Vectors. | ||
* | | | Merge master into vector | Ian Hinder | 2010-12-06 |
|\| | | |||
| * | | Check group storage | Ian Hinder | 2010-12-01 |
| | | | |||
* | | | Rewrite vectorisation infrastructure: | Erik Schnetter | 2010-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 vectorisation | Ian Hinder | 2010-11-23 |
| | | | | | | | | | | | | This is Erik's vectorisation working tree from 13-Oct-2010 | ||
* | | | Add support for vectorisation of generated code. | Ian Hinder | 2010-11-23 |
|/ / | | | | | | | Vectorisation needs to be explicitly enabled by setting -DKRANC_VECTORS at build time. | ||
* | | Omit error when cannot find current map in GenericFD_GetBoundaryWidth | Ian Hinder | 2010-10-28 |
| | | |||
* | | IOASCII.m: Make functions flexible so they can accept either data or filename | Ian Hinder | 2010-10-04 |
| | | |||
* | | IOASCII.m: Add a small Mathematica package for plotting 1D unigrid data for ↵ | Ian Hinder | 2010-10-02 |
|/ | | | | use in the tutorial | ||
* | GenericFD.c: Correct error message when current map cannot be determined | Ian Hinder | 2010-08-04 |
| | |||
* | GenericFD: Add function to determine the number of boundary points | Ian Hinder | 2010-06-05 |
| | |||
* | Revert "Add support for vectorisation of generated code." | Erik Schnetter | 2010-05-03 |
| | | | | This reverts commit 8e006230f24be02831d390eaad9b90b7a7c77d2c. | ||
* | Add support for vectorisation of generated code. | Erik Schnetter | 2010-05-02 |
| | | | | Vectorisation needs to be explicitly enabled by setting -DKRANC_VECTORS at build time. |