Пример #1
0
 def WriteXdaMeshFile(self):
     if (self.OutputFileName == ''):
         self.PrintError('Error: no OutputFileName.')
     self.PrintLog('Writing Xda mesh file.')
     writer = vtkvmtk.vtkvmtkXdaWriter()
     writer.SetInputData(self.Mesh)
     writer.SetFileName(self.OutputFileName)
     if self.CellEntityIdsArrayName != '':
         writer.SetBoundaryDataArrayName(self.CellEntityIdsArrayName)
     writer.Write()
Пример #2
0
 def WriteXdaMeshFile(self):
     if (self.OutputFileName == ''):
         self.PrintError('Error: no OutputFileName.')
     self.PrintLog('Writing Xda mesh file.')
     writer = vtkvmtk.vtkvmtkXdaWriter()
     writer.SetInputData(self.Mesh)
     writer.SetFileName(self.OutputFileName)
     if self.CellEntityIdsArrayName != '':
         writer.SetBoundaryDataArrayName(self.CellEntityIdsArrayName)
     writer.Write()