Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(3)  |  Import(1)

src/s/a/sailfish-HEAD/tests/subdomain.py   sailfish(Download)
from sailfish.subdomain_runner import SubdomainRunner
from sailfish.sym import D2Q9, D3Q19, S
from common import TestCase2D, TestCase3D
 
 
class TestNodeTypeSetting3D(TestCase3D):
    def test_array_setting(self):
        envelope = 1
        spec = SubdomainSpec3D((0, 0, 0), self.lattice_size,
                               envelope_size=envelope, id_=0)
class TestOrientationDetection3D(TestCase3D):
    def test_orientation_channel_pbc(self):
        self.sim.config.periodic_z = True
        self.sim.config.periodic_y = True
        spec = SubdomainSpec3D((0, 0, 0), self.lattice_size, envelope_size=1, id_=0)
class TestLinkTagging3D(TestCase3D):
    def setUp(self):
        TestCase3D.setUp(self)
        self.sim.config.use_link_tags = True