Added a missing switch to stencil_assembly.sas.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@
|
||||
#define LTEMPERATURE (0)
|
||||
#define LGRAVITY (0)
|
||||
#define LFORCING (1)
|
||||
#define LUPWD (1)
|
||||
#define LUPWD (0)
|
||||
|
||||
|
||||
// Declare uniforms (i.e. device constants)
|
||||
|
Reference in New Issue
Block a user