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)
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)