Skip to content
Snippets Groups Projects
Commit b89a3ab8 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix primer example

parent 259f1872
Branches
Tags
No related merge requests found
Pipeline #58602 passed
......@@ -32,10 +32,12 @@ import sympy as sp
from pystencils import fields, kernel
from pystencilssfg import SourceFileGenerator
from pystencilssfg import SourceFileGenerator, SfgComposer
from pystencilssfg.source_concepts.cpp import mdspan_ref
with SourceFileGenerator() as sfg:
with SourceFileGenerator() as ctx:
sfg = SfgComposer(ctx)
u_src, u_dst, f = fields("u_src, u_dst, f(1) : double[2D]", layout="fzyx")
h = sp.Symbol("h")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment