| Commit message (Collapse) | Author | Age |
|
|
| |
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.
|
| |
|
|
|
| |
These were removed in c9ec36148e7d255006d732fb16c00c6a64cfa4c9, but this causes existing thorns to fail to compile. We keep them here for compatibility.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| | |
We might want to tidy this up later
|
| | |
|
| |
| |
| | |
This might not be necessary
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
Conflicts:
Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h
Tools/CodeGen/CodeGenCactus.m
Tools/CodeGen/Kranc.m
Tools/CodeGen/Thorn.m
|
| |
| |
| |
| | |
pown is only supported in OpenCL, and does not seem to give a performance improvement.
|
| |
| |
| |
| | |
Also provide pown() if not generating OpenCL code.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| | |
Implement more trigonimetric functions: sec csc cot arcset arccsc
arccot sech csch coth
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Optionally require thorn Vectors, because we need to access its #defines
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
offset
|
| |
| |
| |
| | |
This function checks that there are enough ghost and boundary points for the stencil widths (ni, nj, nk) passed to it.
|
| |
| |
| |
| | |
Based on the existing GetBoundaryWidth but returning all the widths. GetBoundaryWidth now calls the new function.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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".
|
| | |
|
| |
| |
| |
| | |
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.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Fixed conflicts in:
Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.h
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
now available in LSUThorns/Vectors.
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
This is Erik's vectorisation working tree from 13-Oct-2010
|
|/ /
| |
| |
| | |
Vectorisation needs to be explicitly enabled by setting -DKRANC_VECTORS at build time.
|
|/ |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 8e006230f24be02831d390eaad9b90b7a7c77d2c.
|
|
|
|
| |
Vectorisation needs to be explicitly enabled by setting -DKRANC_VECTORS at build time.
|
| |
|
|
|
|
|
|
| |
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.
|