예제 #1
0
 def membrane_at_position(self, x, y):
     return model.create_planar_surface('m1',
                                        [x, y, 5],
                                        [1, 0, 0],
                                        [0, 1, 0],
                                        self.L,
                                        self.L)
예제 #2
0
    def add_planar_surface(self):
        m1 = model.create_planar_surface('m1',
                                         [0, 0, 0],
                                         [1, 0, 0],
                                         [0, 1, 0],
                                         self.L,
                                         self.L)

        self.m.add_structure(m1)
예제 #3
0
 def membrane_at_position(self, x, y):
     return model.create_planar_surface('m1', [x, y, 5], [1, 0, 0],
                                        [0, 1, 0], self.L, self.L)