Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | MathematicaCompat.h: Remove Fortran support | Ian Hinder | 2013-09-06 |
| | |||
* | Add timing and operation counts to generated loops (but leave commented out) | Erik Schnetter | 2013-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 Schnetter | 2013-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/dgfe | Erik Schnetter | 2012-11-26 |
|\ | |||
| * | GenericFD.c: Remove unused GenericFD_PenaltyPrim2Char | Ian Hinder | 2012-11-26 |
| | | |||
* | | Merge branch 'master' into eschnett/dgfe | Erik Schnetter | 2012-11-20 |
|\| | | | | | | | | | Conflicts: Tools/CodeGen/Jacobian.m | ||
| * | MathematicaCompat.h: Reinstate Min3 definition | Ian Hinder | 2012-11-14 |
| | | | | | | | | This was lost accidentally in merge 45071fec4db209205c3e0e89f9fc9c2e283ad99d. | ||
* | | Merge branch 'master' into eschnett/dgfe | Erik Schnetter | 2012-10-22 |
|\| | |||
| * | Expect isnan in std:: namespace in C++ | Erik Schnetter | 2012-10-22 |
| | | |||
* | | GenericFD: Add parameters for inverse Jacobian name and Jacobian determinant ↵ | Erik Schnetter | 2012-09-25 |
|/ | | | | name | ||
* | Declare private functions as static | Erik Schnetter | 2012-09-25 |
| | |||
* | Make signbit() call compile with IBM C++ compilers | Erik Schnetter | 2012-09-13 |
| | |||
* | Use <cmath> instead of <math.h> to access signbit() | Erik Schnetter | 2012-09-04 |
| | |||
* | Reinstate dir[] naming work-around; translate Sign[] to isgn() | Erik Schnetter | 2012-08-16 |
| | |||
* | Correct indentation in GenericFD.h | Erik Schnetter | 2012-07-25 |
| | |||
* | Introduce cctk_ash, retire cctk_lssh | Erik Schnetter | 2012-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 flesh | Erik Schnetter | 2012-06-17 |
| | |||
* | GenericFD: Provide annotation to sgn function for CUDA | Ian Hinder | 2012-05-02 |
| | |||
* | Add #include <math.h> because of copysign() | Erik Schnetter | 2012-05-02 |
| | |||
* | GenericFD: Correct implementation of Sign | Ian Hinder | 2012-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 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 |
| | |