Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Calculation.m: Provide a default for UseCaKernel in GetCalculationScheduleName | Ian Hinder | 2012-11-14 |
| | |||
* | EM-xTensor.m: Improve code which loads the Metrics package | Ian Hinder | 2012-11-14 |
| | | | | | * Add the EinsteinToolkit relative location in EinsteinExact (the submodule must be checked out) * Give an error and abort if the metrics database cannot be loaded | ||
* | Regenerate Advect example | Ian Hinder | 2012-11-14 |
| | |||
* | KrancTensor.m: Declare all derivative operators to TensorTools | Ian Hinder | 2012-11-14 |
| | |||
* | TensorTools.m: Expand contractions in all derivative operators | Ian Hinder | 2012-11-14 |
| | | | Previously, only contractions in the PD operator were expanded. TensorTools didn't know about other operators, as it didn't need to. | ||
* | TensorTools.m: Add a registration interface for derivative operators | Ian Hinder | 2012-11-14 |
| | | | | It turns out that we need to know which symbols are going to be used as derivative operators so that we can expand contractions under them. A more general solution might have unintended consequences. | ||
* | Add ParameterConditions option for CreateThorn | Ian Hinder | 2012-11-14 |
| | | | | This option allows the user to set certain conditions on parameters which must be satisfied otherwise the thorn aborts with a given error message (details in Doc/KrancDoc.tex). | ||
* | TensorTools.m: Expand contractions within partial derivatives | Ian Hinder | 2012-11-14 |
| | | | Previously, PD[v[ua],la] was not expanded | ||
* | TestTensorTools.m: Correct expected result for PD[u[ua],la] test | Ian Hinder | 2012-11-14 |
| | | | The test still fails (see Issue #87). | ||
* | TestTensorTools.m: Improve output formatting | Ian Hinder | 2012-11-14 |
| | |||
* | Remove TestTensorTools.nb | Ian Hinder | 2012-11-14 |
| | |||
* | TestTensorTools.m: Improve report of tests passed and failed | Ian Hinder | 2012-11-14 |
| | |||
* | TestTensorTools.m: Add robustness and scriptability functions | Ian Hinder | 2012-11-14 |
| | |||
* | TestTensorTools.m: Fix remaining tests - 1 fails | Ian Hinder | 2012-11-14 |
| | |||
* | TestTensorTools.m: Re-enable and fix most tests | Ian Hinder | 2012-11-14 |
| | | | The old tests assumed it was possible to have the same tensor kernel with different index positions, and TensorTools has been modified since to prohibit this. | ||
* | TestTensorTools.m: Improve formatting of output | Ian Hinder | 2012-11-14 |
| | |||
* | TestTensorTools.m: Make test work as a script, disable some tests | Ian Hinder | 2012-11-14 |
| | |||
* | Add TestTensorTools.m (script version of TestTensorTools.nb) | Ian Hinder | 2012-11-14 |
| | | | | Currently just copied in the content unmodified | ||
* | Correct _Ratio pattern to _Rational | Erik Schnetter | 2012-10-25 |
| | | | | Also slightly rewrite kdiv expansion rules. | ||
* | Expect isnan in std:: namespace in C++ | Erik Schnetter | 2012-10-22 |
| | |||
* | Declare private functions as static | Erik Schnetter | 2012-09-25 |
| | |||
* | Don't convert small integers to reals during code generation | Erik Schnetter | 2012-09-13 |
| | | | | Don't convert small integers to reals during code generation. Small integers may be used in if conditions, and converting these to real numbers creates less efficient code. | ||
* | Optimise product of sqrt() calls | Erik Schnetter | 2012-09-13 |
| | |||
* | Make signbit() call compile with IBM C++ compilers | Erik Schnetter | 2012-09-13 |
| | |||
* | Handle Piecewise[] in code generation | Erik Schnetter | 2012-09-08 |
| | | | | | Replace Piecewise[] by IfThen[] calls. Unfortunately, this does not work with vectorisation. | ||
* | Handle Piecewise[] during CSE | Erik Schnetter | 2012-09-08 |
| | | | | Piecewise[] expects nested lists as arguments. CSE doesn't handle this well; therefore, replace Piecewise[] by a different function that expects regular arguments during CSE. | ||
* | 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 |
| | |||
* | Don't declare dir* variables with ptrdiff_t (use CCTK_REAL instead) | Erik Schnetter | 2012-08-12 |
| | |||
* | TensorTools.m: Remove components generated by symmetries of antisymmetric ↵ | Ian Hinder | 2012-08-11 |
| | | | | tensors | ||
* | Add ksgn, so that calls to Sign can be vectorised | Erik Schnetter | 2012-08-10 |
| | |||
* | Delay converting integers to reals | Erik Schnetter | 2012-08-10 |
| | | | | Delay converting integers to reals, so that the simplification functions still act on integers. This improves the generated code. | ||
* | Handle Sign function while vectorising | Erik Schnetter | 2012-07-25 |
| | |||
* | Don't generate large integers; convert them to CCTK_REAL instead | Erik Schnetter | 2012-07-25 |
| | |||
* | Correct indentation in GenericFD.h | Erik Schnetter | 2012-07-25 |
| | |||
* | CaKernel.m: Use CaKernel static kernels | Ian Hinder | 2012-07-25 |
| | | | Dynamic compilation slows down execution; we can re-enable it when we are optimising. | ||
* | Add CaKernel initialisation function to the schedule | Ian Hinder | 2012-07-25 |
| | |||
* | Add BoundaryNoSync to BoundaryCalculationQ | Erik Schnetter | 2012-07-24 |
| | |||
* | Require MPI in auto-generated thorns | Erik Schnetter | 2012-07-24 |
| | |||
* | 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 |
| | |||
* | Correct expanding Scalar[] | Erik Schnetter | 2012-06-13 |
| | | | | | | | Handle kmadd and friends. Do not produce / operator; use ScalarINV instead to prevent problems with integer operands. | ||
* | Allow disabling UseJacobian for specific calculations | Erik Schnetter | 2012-06-02 |
| | | | | | Add UseJacobian as possible flag for calculations, which then overrides the thorn's UseJacobian setting. | ||
* | Implement additional vectorisation optimisations | Erik Schnetter | 2012-05-30 |
| | | | | | | | | | When vectorising, break the macros INV, SQR etc. apart, which allows further optimisations, such as avoinding the kmul in kmul[x, kdiv[1, y]]. Combine also operations on ToReal operands, so that these operations are performed on scalars, not on vectors, e.g. kmul[ToReal[omega], ToReal[omege]] now becomes ToReal[omega*omega]. | ||
* | Merge branch 'master' of github.com:ianhinder/Kranc | Steve Brandt | 2012-05-03 |
|\ | |||
| * | Add BoundaryNoSync value for Where in calculations | Ian Hinder | 2012-05-02 |
| | | | | | | This is by analogy with InteriorNoSync. Ideally, this would be determined automatically. Less ideally, there would be a Sync -> True/False flag. But BoundaryNoSync is what we have. | ||
| * | 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. | ||
| * | Use GetSchedule for calculations instead of accessing key directly | Ian Hinder | 2012-05-02 |
| | |