from __future__ import print_function
from __future__ import division
# Authors:
#     Loic Gouarin <loic.gouarin@math.u-psud.fr>
#     Benjamin Graille <benjamin.graille@math.u-psud.fr>
#
# License: BSD 3 clause

"""
Example of a 2D geometry: the backward facing step
"""
import pyLBM
dgeom = {
    'box':{'x': [0, 3], 'y': [0, 1], 'label':[0, 1, 2, 3]},
    'elements':[pyLBM.Parallelogram((0.,0.), (.5,0.), (0., .5), label = [4,5,6,7])],
}
geom = pyLBM.Geometry(dgeom)
geom.visualize(viewlabel=True)
