def SetPostMeshingProcesses(self): # The order set is the order of execution: #select mesh elements select_mesh_elements = KratosPfemBase.SelectMeshElements( self.model_part, self.MeshingParameters, self.echo_level) self.mesher.SetPostMeshingProcess(select_mesh_elements) # build contact conditions build_contact_conditions = KratosContact.BuildContactConditions( self.model_part, self.MeshingParameters, self.echo_level) self.mesher.SetPostMeshingProcess(build_contact_conditions)
def SetPostMeshingProcesses(self): # The order set is the order of execution: #print GiD mesh output for checking purposes print_output_mesh = KratosPfem.PrintOutputMeshProcess(self.model_part, self.MeshingParameters, "output", self.echo_level) self.mesher.SetPostMeshingProcess(print_output_mesh) #select mesh elements select_mesh_elements = KratosPfem.SelectMeshElements(self.model_part, self.MeshingParameters, self.echo_level) self.mesher.SetPostMeshingProcess(select_mesh_elements) # build contact conditions build_contact_conditions= KratosContact.BuildContactConditions(self.model_part, self.MeshingParameters, self.echo_level) self.mesher.SetPostMeshingProcess(build_contact_conditions)