Commit: f4a69f192f00e298a5fed111591f8e465e557468
Author: Sebastián Barschkis
Date: Wed Nov 16 17:52:15 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBf4a69f192f00e298a5fed111591f8e465e557468
no need to use two cells for border of smoke domain
===================================================================
M intern/mantaflow/intern/strings/smoke_script.h
===================================================================
diff --git a/intern/mantaflow/intern/strings/smoke_script.h
b/intern/mantaflow/intern/strings/smoke_script.h
index ba5d87d..a5d26ee 100644
--- a/intern/mantaflow/intern/strings/smoke_script.h
+++ b/intern/mantaflow/intern/strings/smoke_script.h
@@ -39,7 +39,7 @@ mantaMsg('Smoke domain low')\n\
flags.initDomain(boundaryWidth=boundaryWidth)\n\
flags.fillGrid()\n\
if doOpen:\n\
- setOpenBound(flags=flags, bWidth=boundaryWidth, openBound=boundConditions,
type=FlagOutflow|FlagEmpty)\n";
+ setOpenBound(flags=flags, bWidth=0, openBound=boundConditions,
type=FlagOutflow|FlagEmpty)\n";
const std::string smoke_bounds_high = "\n\
# prepare domain high\n\
@@ -47,7 +47,7 @@ mantaMsg('Smoke domain high')\n\
xl_flags.initDomain(boundaryWidth=boundaryWidth)\n\
xl_flags.fillGrid()\n\
if doOpen:\n\
- setOpenBound(flags=xl_flags, bWidth=boundaryWidth,
openBound=boundConditions, type=FlagOutflow|FlagEmpty)\n";
+ setOpenBound(flags=xl_flags, bWidth=0, openBound=boundConditions,
type=FlagOutflow|FlagEmpty)\n";
//////////////////////////////////////////////////////////////////////
// VARIABLES
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs