Commit 106aa0a7 authored by Martin Bauer's avatar Martin Bauer
Browse files

Refactored lbmpy.phasefield module

parent fc29df38
......@@ -44,6 +44,13 @@ def scalarField(field, **kwargs):
return res
def scalarFieldContour(field, **kwargs):
field = np.swapaxes(field, 0, 1)
res = contour(field, **kwargs)
axis('equal')
return res
def multipleScalarFields(field, **kwargs):
subPlots = field.shape[-1]
for i in range(subPlots):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment