55double MatrixTerm(
int i,
double t,
double t2,
double t3)
57static const double Matrix [4][4] =
58 { { -1.0, 3.0, -3.0, 1.0 },
59 { 2.0, -5.0, 4.0, -1.0 },
69double dMatrixTerm(
int i,
double t,
double t2)
71static const double Matrix [4][4] =
72 { { -1.0, 3.0, -3.0, 1.0 },
73 { 2.0, -5.0, 4.0, -1.0 },
77 return Matrix[0][3-i] * 3*t2 +
84template <
class Storage1D,
class Limiter>
120static const double Matrix [4][4] =
121 { { -1.0, 3.0, -3.0, 1.0 },
122 { 2.0, -5.0, 4.0, -1.0 },
126 for(
int i=0; i<4; i++)
128 double MatrixTerm =
Matrix[0][3-i] *
t3 +
134 sum = MatrixTerm *
Data[ index-i ];
136 sum += MatrixTerm *
Data[ index-i ];
IndexTypeConfig< sizeof(void *)>::index_t index_t
Define the index type as according to the size of a pointer, i.e.
Definition Index.hpp:22