Skip to content
Snippets Groups Projects
Commit f54d368e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fromView -> add("PostView")

parent e220fa5d
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ factory.synchronize()
# add a post-processing view to use as a size field
gmsh.merge("t17.pos")
bg_field = model.mesh.field.fromView(0)
bg_field = model.mesh.field.add("PostView")
model.mesh.field.setAsBackgroundMesh(bg_field)
# use bamg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment