15 stencilX[relativeIntegrationElement(0)],
16 stencilY[relativeIntegrationElement(1)]
22 result(rowScalar,colScalar) = rowStencil(linearisedStencilEntry);
30template <
int p,
int N>
41 stencilX[relativeIntegrationElement(0)],
42 stencilY[relativeIntegrationElement(1)],
43 stencilZ[relativeIntegrationElement(2)]
49 result(rowScalar,colScalar) = rowStencil(linearisedStencilEntry);
#define d3for(counter, max)
If Dimensions is not set to three, we might nevertheless need two-dimensional loops.
#define d2for(counter, max)
If Dimensions is not set to two, we might nevertheless need two-dimensional loops.
#define enddforx
I prefer to use this macro for dforx instead of a closing bracket as many syntax parser fail otherwis...
int d2Linearised(const tarch::la::Vector< 2, int > &counter, int max)
Special 2d variant of dLinearised that works also if you compile with other dimensions.
int d3Linearised(const tarch::la::Vector< 3, int > &counter, int max)
Special 3d variant of dLinearised that works also if you compile with other dimensions.
bool allGreaterEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
bool allSmaller(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)