diff options
Diffstat (limited to 'src/GRHydro_TrivialReconstruct.hh')
-rw-r--r-- | src/GRHydro_TrivialReconstruct.hh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/GRHydro_TrivialReconstruct.hh b/src/GRHydro_TrivialReconstruct.hh new file mode 100644 index 0000000..0ad330a --- /dev/null +++ b/src/GRHydro_TrivialReconstruct.hh @@ -0,0 +1,20 @@ +#ifndef _GRHYDRO_TRIVIALRECONSTRUCT_HH +#define _GRHYDRO_TRIVIALRECONSTRUCT_HH + +#include "cctk.h" + +/** + Trivial first-order reconstruction operator. +*/ +struct GRHydro_TrivialReconstruct1d { +template <int dir> +static inline void apply(const int nx, + const CCTK_REAL* const restrict a, + CCTK_REAL* const restrict aminus, + CCTK_REAL* const restrict aplus, + const cGH* const cctkGH, + const int j, const int k + ); +}; // end struct + +#endif // _GRHYDRO_TRIVIALRECONSTRUCT_HH |