예제 #1
0
    def copy(self):
        """copy().

        Function to create a copy of the 
        mesher. The parameters of this mesher can be
        modified.        
        """
        self.my_mesher = ocaml.copy_mesher_defaults(ocaml.mesher_defaults)
예제 #2
0
파일: mesh.py 프로젝트: fangohr/nmag-test
 def check_mesher(self):
     """check_mesher().
     
     Function to create a copy of the mesher.
     The parameters of this mesher can be modified.        
     """
     if self.mesher == 0:
         self.my_mesher = ocaml.copy_mesher_defaults(ocaml.mesher_defaults)
         self.mesher = 1