# PyClaw Solutions¶

PyClaw Solution objects are containers for State and Domain objects that define an entire solution. The State class is responsible for containing all the data of the solution on the given Domain. The Domain is responsible for containing the geometry of the Solution. The structure of a solution may look something like the figure.

Pyclaw solution structure including a Domain, a set of Patch objects and corresponding Dimension objects defining the solution’s geometry and three State objects pointing to the appropriate Patch with varying fields.

List of serial and parallel objects in a Solution class:

Serial Parallel
pyclaw.state.State petclaw.state.State
pyclaw.geometry.Domain petclaw.geometry.Domain
pyclaw.geometry.Patch petclaw.geometry.Patch
pyclaw.geometry.Grid
pyclaw.geometry.Dimension

## pyclaw.solution.Solution¶

System Message: WARNING/2 (/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmpoB5Tktsphinxcontrib_versioning/56744eeda50bfc1d8fec79d45060637228943b2f/doc/pyclaw/solution.rst, line 51)

autodoc: failed to import class u’Solution’ from module u’pyclaw.solution’; 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.solution