In [1]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
from timml import *
In [2]:
ml = ModelMaq()
lsc = HeadLineSinkContainer(ml, xydict={0:[(0, 0), (10, 0), (10, 10)], 1:[(0, -5), (0, -10)]},
laydict={0: 0, 1: 0}, hls=10)
rf = Constant(ml, 0, -100, 20)
ml.solve()
In [3]:
ml.contour([-20, 20, -20, 20], ngr=40)