PyClaw State

The State object records the fields that exist on a given Patch. These fields include q and aux. The State also includes references to the Patch that the state belongs to.

In parallel the State object also handles some of the parallel communication required of the state on the given patch such that only the parts of the fields local to the process. If you are interested in the geometry of the local state you can find it through the Patch object’s reference to its own Grid.

Serial pyclaw.state.State

System Message: WARNING/2 (/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/8b07e169f86998872fc1cf3755d1b7f4a8c40a33/doc/pyclaw/state.rst, line 26)

autodoc: failed to import class u’State’ from module u’pyclaw.state’; the following exception was raised: Traceback (most recent call last): File “/usr/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py”, line 551, in import_object __import__(self.modname) ImportError: No module named pyclaw.state

Parallel petclaw.state.State

System Message: WARNING/2 (/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/8b07e169f86998872fc1cf3755d1b7f4a8c40a33/doc/pyclaw/state.rst, line 33)

autodoc: failed to import class u’State’ from module u’petclaw.state’; the following exception was raised: Traceback (most recent call last): File “/usr/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py”, line 551, in import_object __import__(self.modname) ImportError: No module named petclaw.state