Added a missing switch to stencil_assembly.sas.

This commit is contained in:
Miikka Vaisala
2019-06-24 18:03:24 +08:00
parent 55ecdd0ac8
commit 59043e586b
4 changed files with 24 additions and 27 deletions

View File

@@ -1,4 +1,7 @@
#define LUPWD (0)
Preprocessed Scalar
value(in Scalar vertex)
{
@@ -13,6 +16,8 @@ gradient(in Scalar vertex)
derz(vertexIdx, vertex)};
}
#if LUPWD
Preprocessed Scalar
der6x_upwd(in Scalar vertex)
{
@@ -49,6 +54,8 @@ der6z_upwd(in Scalar vertex)
+ vertex[vertexIdx.x, vertexIdx.y, vertexIdx.z+3] + vertex[vertexIdx.x, vertexIdx.y, vertexIdx.z-3])};
}
#endif
Preprocessed Matrix
hessian(in Scalar vertex)
{