aboutsummaryrefslogtreecommitdiff
path: root/Auxiliary/Cactus
Commit message (Collapse)AuthorAge
* MathematicaCompat.h: Remove Fortran supportIan Hinder2013-09-06
|
* Add timing and operation counts to generated loops (but leave commented out)Erik Schnetter2013-07-28
| | | | Commented out; need to find efficient way to enable/disable this.
* Introduce Cactus parameters to disable using stress-energy tensor and MP ↵Erik Schnetter2013-07-28
| | | | | | jacobian These Cactus parameters switch off the stress-energy tensor and the jacobian, improving performance if the code is compiled dynamically (e.g. OpenCL).
* Merge branch 'master' into eschnett/dgfeErik Schnetter2012-11-26
|\
| * GenericFD.c: Remove unused GenericFD_PenaltyPrim2CharIan Hinder2012-11-26
| |
* | Merge branch 'master' into eschnett/dgfeErik Schnetter2012-11-20
|\| | | | | | | | | Conflicts: Tools/CodeGen/Jacobian.m
| * MathematicaCompat.h: Reinstate Min3 definitionIan Hinder2012-11-14
| | | | | | | | This was lost accidentally in merge 45071fec4db209205c3e0e89f9fc9c2e283ad99d.
* | Merge branch 'master' into eschnett/dgfeErik Schnetter2012-10-22
|\|
| * Expect isnan in std:: namespace in C++Erik Schnetter2012-10-22
| |
* | GenericFD: Add parameters for inverse Jacobian name and Jacobian determinant ↵Erik Schnetter2012-09-25
|/ | | | name
* Declare private functions as staticErik Schnetter2012-09-25
|
* Make signbit() call compile with IBM C++ compilersErik Schnetter2012-09-13
|
* Use <cmath> instead of <math.h> to access signbit()Erik Schnetter2012-09-04
|
* Reinstate dir[] naming work-around; translate Sign[] to isgn()Erik Schnetter2012-08-16
|
* Correct indentation in GenericFD.hErik Schnetter2012-07-25
|
* Introduce cctk_ash, retire cctk_lsshErik Schnetter2012-07-03
| | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions.
* Don't #define restrict; this is now handled by the fleshErik Schnetter2012-06-17
|
* GenericFD: Provide annotation to sgn function for CUDAIan Hinder2012-05-02
|
* Add #include <math.h> because of copysign()Erik Schnetter2012-05-02
|
* GenericFD: Correct implementation of SignIan Hinder2012-05-02
| | | | | | | | | Mathematica defines Sign(x) = Which[x>0, 1, x<0, -1, x==0, 0] whereas the current implementation in terms of copysign gives Sign(0) != 0. This causes problems when Sign is used to choose the finite differencing operator in boundary conditions. This commit restores the old definition in terms of the sgn function which we define now as static inline in GenericFD.h.
* 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
| |