コード例 #1
0
ファイル: mesh_james1.py プロジェクト: fangohr/nmag-test
    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