Skip to content
Snippets Groups Projects
Commit 106aa0a7 authored by Martin Bauer's avatar Martin Bauer
Browse files

Refactored lbmpy.phasefield module

parent fc29df38
No related merge requests found
......@@ -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):
......
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