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