| tPeriodic XY boundaries default in both particle and fluid - sphere - GPU-based… | |
| git clone git://src.adamsgaard.dk/sphere | |
| Log | |
| Files | |
| Refs | |
| LICENSE | |
| --- | |
| commit df3b3e17580a8a64d4624b7d9bddb40bf6d2e834 | |
| parent e5bf97711f8e94444cad6180f40e22a634b3c4e1 | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Wed, 26 Mar 2014 10:30:53 +0100 | |
| Periodic XY boundaries default in both particle and fluid | |
| Diffstat: | |
| M doc/html/genindex.html | 11 +++++++++++ | |
| M doc/html/objects.inv | 0 | |
| M doc/html/python_api.html | 6 ++++++ | |
| M doc/html/searchindex.js | 4 ++-- | |
| M doc/pdf/sphere.pdf | 0 | |
| M python/sphere.py | 6 ++++++ | |
| 6 files changed, 25 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/doc/html/genindex.html b/doc/html/genindex.html | |
| t@@ -61,6 +61,7 @@ | |
| | <a href="#F"><strong>F</strong></a> | |
| | <a href="#G"><strong>G</strong></a> | |
| | <a href="#I"><strong>I</strong></a> | |
| + | <a href="#N"><strong>N</strong></a> | |
| | <a href="#P"><strong>P</strong></a> | |
| | <a href="#R"><strong>R</strong></a> | |
| | <a href="#S"><strong>S</strong></a> | |
| t@@ -251,6 +252,16 @@ | |
| </dl></td> | |
| </tr></table> | |
| +<h2 id="N">N</h2> | |
| +<table style="width: 100%" class="indextable genindextable"><tr> | |
| + <td style="width: 33%" valign="top"><dl> | |
| + | |
| + <dt><a href="python_api.html#sphere.sim.normalBoundariesXY">normalBoundaries… | |
| + </dt> | |
| + | |
| + </dl></td> | |
| +</tr></table> | |
| + | |
| <h2 id="P">P</h2> | |
| <table style="width: 100%" class="indextable genindextable"><tr> | |
| <td style="width: 33%" valign="top"><dl> | |
| diff --git a/doc/html/objects.inv b/doc/html/objects.inv | |
| Binary files differ. | |
| diff --git a/doc/html/python_api.html b/doc/html/python_api.html | |
| t@@ -844,6 +844,12 @@ included.</p> | |
| </dd></dl> | |
| <dl class="method"> | |
| +<dt id="sphere.sim.normalBoundariesXY"> | |
| +<tt class="descname">normalBoundariesXY</tt><big>(</big><big>)</big><a class="… | |
| +<dd><p>Set the x and y boundary conditions to be static walls.</p> | |
| +</dd></dl> | |
| + | |
| +<dl class="method"> | |
| <dt id="sphere.sim.periodicBoundariesX"> | |
| <tt class="descname">periodicBoundariesX</tt><big>(</big><big>)</big><a class=… | |
| <dd><p>Set the x boundary conditions to be periodic.</p> | |
| diff --git a/doc/html/searchindex.js b/doc/html/searchindex.js | |
| t@@ -1 +1 @@ | |
| -Search.setIndex({objects:{"":{sphere:[5,0,1,""]},sphere:{status:[5,1,1,""],con… | |
| -\ No newline at end of file | |
| +Search.setIndex({objects:{"":{sphere:[5,0,1,""]},sphere:{status:[5,1,1,""],con… | |
| +\ No newline at end of file | |
| diff --git a/doc/pdf/sphere.pdf b/doc/pdf/sphere.pdf | |
| Binary files differ. | |
| diff --git a/python/sphere.py b/python/sphere.py | |
| t@@ -1584,6 +1584,12 @@ class sim: | |
| ''' | |
| self.contactmodel[0] = contactmodel | |
| + def normalBoundariesXY(self): | |
| + ''' | |
| + Set the x and y boundary conditions to be static walls. | |
| + ''' | |
| + self.periodic[0] = 0 | |
| + | |
| def periodicBoundariesXY(self): | |
| ''' | |
| Set the x and y boundary conditions to be periodic. |