Home
last modified time | relevance | path

Searched refs:portSurf (Results 1 – 2 of 2) sorted by relevance

/dports/science/smoldyn/smoldyn-2.67/examples/S15_python/
H A Dport.py39 portSurf = sim.addSurface("portsurf", panels=[rr]) variable
40 portSurf.setStyle('front', drawmode="face", color="gray")
41 portSurf.setStyle('back', drawmode="face", color=[0.2, 0, 0, 1])
42 portSurf.setAction('front', [spRed, spGreen], "port")
43 portSurf.setAction('back', [spRed, spGreen], "reflect")
46 testport = sim.addPort(name="testport", surface=portSurf, panel="front")
/dports/science/smoldyn/smoldyn-2.67/tests/
H A Dtest_concurrent_simulation.py74 portSurf = sim.addSurface("portsurf", panels=[rr])
75 portSurf.setStyle("front", drawmode="face", color="gray")
76 portSurf.setStyle("back", drawmode="face", color=[0.2, 0, 0, 1])
77 portSurf.setAction("front", [spRed, spGreen], "port")
78 portSurf.setAction("back", [spRed, spGreen], "reflect")
81 sim.addPort(name="testport", surface=portSurf, panel="front")