discretize.base.BaseRectangularMesh.deserialize#

classmethod BaseRectangularMesh.deserialize(items, **kwargs)[source]#

Create this mesh from a dictionary of attributes.

Parameters:
itemsdict

dictionary of {attribute : value} pairs that will be passed to this class’s initialization method as keyword arguments.

**kwargs

This is used to catch (and ignore) keyword arguments that used to be used.