Skip to content
Snippets Groups Projects

Draft: Changes for compatibility with pystencils 2.0

Open Frederik Hennig requested to merge fhennig/pystencils2.0-compat into master
Viewing commit a31551ca
Show latest version
2 files
+ 8
2
Preferences
Compare changes
Files
2
@@ -43,7 +43,7 @@ def test_advanced_streaming_noslip_single_cell(stencil, streaming_pattern, prev_
index_struct_dtype = numpy_data_type_for_boundary_object(noslip, stencil.D)
index_field = Field('indexVector', FieldType.INDEXED, index_struct_dtype, layout=[0],
shape=(TypedSymbol("indexVectorSize", np.int64), 1), strides=(1, 1))
shape=(TypedSymbol("indexVectorSize", np.int32), 1), strides=(1, 1))
index_vector = np.array([pos + (d,) for d in range(stencil.Q)], dtype=index_struct_dtype)
ast = create_lattice_boltzmann_boundary_kernel(pdf_field,