Skip to content

Commit

Permalink
changed setBoundaries to setBound calls
Browse files Browse the repository at this point in the history
  • Loading branch information
thunil committed Sep 1, 2014
1 parent a579fac commit ed9ec39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scenes/flip02_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
gpi = s.create(IntGrid)

# scene setup, 0=breaking dam, 1=drop into pool
setup = 0
setup = 1
flags.initDomain(boundaryWidth=0)
fluidVel = 0
fluidSetVel = 0
Expand Down
2 changes: 1 addition & 1 deletion scenes/flip03_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#unionParticleLevelset( pp, pindex, flags, gpi, phi , radiusFactor ) # faster, but not as smooth
averagedParticleLevelset( pp, pindex, flags, gpi, phi , radiusFactor , 1, 1 )

setBoundaries(phi, 0., boundaryWidth=1)
phi.setBound(value=0., boundaryWidth=1)
phi.createMesh(mesh)

# beautify mesh, too slow right now!
Expand Down

0 comments on commit ed9ec39

Please sign in to comment.