aboutsummaryrefslogtreecommitdiff
path: root/Auxiliary/Cactus/KrancNumericalTools
Commit message (Collapse)AuthorAge
* Add Jacobian gridfunctions to GenericFDIan Hinder2012-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 argumentsErik Schnetter2012-02-20
|
* MathematicaCompat.h: Restore macrosIan Hinder2012-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 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
| * MathematicaCompat.h: Add IntAbs functionIan Hinder2012-02-04
| | | | | | We might want to tidy this up later
| * MathematicaCompat.h: Add explicit cast to CCTK_REAL in SignIan Hinder2012-02-04
| |
| * MathematicaCompat.h: Cast to CCTK_REALIan Hinder2012-02-02
| | | | | | This might not be necessary
* | 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
| * Remove support for pown functionErik Schnetter2011-12-29
| | | | | | | | pown is only supported in OpenCL, and does not seem to give a performance improvement.
| * Generate pown(), which exists in OpenCLErik Schnetter2011-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 Schnetter2011-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 VectorsErik Schnetter2011-11-29
| |
| * Implement more trigonimetric functionsErik Schnetter2011-11-29
| | | | | | | | | | Implement more trigonimetric functions: sec csc cot arcset arccsc arccot sech csch coth
* | 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
| * MathematicaCompat.h: Fix merge errorIan Hinder2011-06-04
| |
| * Merge remote-tracking branch 'origin/master' into hydroIan Hinder2011-06-03
| |\
| * | Temporary commitIan Hinder2011-06-03
| | |
| * | MathematicaCompat.h: Add Min3 and VanLeer macrosIan Hinder2010-09-30
| | |
| * | MathematicaCompat.h: Add MinMod functionIan Hinder2010-09-30
| | |
* | | Add Sech function.Barry Wardell2011-11-26
| | |
* | | Add two-argument ArcTan functionIan Hinder2011-11-19
| | |
* | | MathematicaCompat.h: Add Csch functionIan Hinder2011-10-13
| | |
* | | Correct commentErik Schnetter2011-10-02
| | |
* | | Optionally require thorn VectorsErik Schnetter2011-10-02
| | | | | | | | | | | | Optionally require thorn Vectors, because we need to access its #defines
* | | MathematicaCompat.h: Remove unused codeErik Schnetter2011-09-29
| | |
* | | GenericFD.h: Remove redefinition of "restrict" keywordErik Schnetter2011-09-29
| | |
* | | Introduce a macro KRANC_GFOFFSET3D to access a grid point with anErik Schnetter2011-09-29
| |/ |/| | | | | offset
* | GenericFD: Add GenericFD_EnsureStencilFitsIan Hinder2011-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_GetBoundaryWidthsIan Hinder2011-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 pointersErik Schnetter2011-05-27
| |
* | 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 IfThen available in FortranErik Schnetter2011-05-27
| |
* | 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.
* | Add support for a Jacobian to be applied to all derivativesIan Hinder2011-05-20
| |
* | Merge master into vectorIan Hinder2011-01-22
|\ \ | | | | | | | | | | | | Fixed conflicts in: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.h
| * | Remove ancient unused codeIan Hinder2010-12-07
| | |
| * | Remove old "Ceiling" and "Perturb" thorns which are unrelated to KrancIan Hinder2010-12-07
| | |
* | | Remove outdated vectorisation implementation. An equivalent functionality is ↵Erik Schnetter2010-12-07
| | | | | | | | | | | | now available in LSUThorns/Vectors.
* | | 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.
* / Omit error when cannot find current map in GenericFD_GetBoundaryWidthIan Hinder2010-10-28
|/
* GenericFD.c: Correct error message when current map cannot be determinedIan Hinder2010-08-04
|
* GenericFD: Add function to determine the number of boundary pointsIan Hinder2010-06-05
|
* Revert "Add support for vectorisation of generated code."Erik Schnetter2010-05-03
| | | | This reverts commit 8e006230f24be02831d390eaad9b90b7a7c77d2c.
* Add support for vectorisation of generated code.Erik Schnetter2010-05-02
| | | | Vectorisation needs to be explicitly enabled by setting -DKRANC_VECTORS at build time.
* Fix typo in licence at top of every fileIan Hinder2010-03-17
|
* Use signbit insted of sgn in C.Erik Schnetter2010-02-13
| | | | | | Use constants M_E and M_PI instead of explicit constants in C. Append "d0" to constants for e and pi in Fortran to make them double precision.