def _appendCellField(self, t, field, label, labelId): """ Call C++ appendCellField(); """ if label != None and labelId != None: ModuleOutputManager.appendCellField(self, t, field, label, labelId) else: ModuleOutputManager.appendCellField(self, t, field) return
def _openTimeStep(self, t, mesh, label, labelId): """ Call C++ openTimeStep(); """ if label != None and labelId != None: ModuleOutputManager.openTimeStep(self, t, mesh, label, labelId) else: ModuleOutputManager.openTimeStep(self, t, mesh) return
def _open(self, mesh, nsteps, label, labelId): """ Call C++ open(); """ if label != None and labelId != None: ModuleOutputManager.open(self, mesh, nsteps, label, labelId) else: ModuleOutputManager.open(self, mesh, nsteps) return
def _configure(self): """ Set members based using inventory. """ PetscComponent._configure(self) ModuleOutputManager.coordsys(self, self.inventory.coordsys) ModuleOutputManager.writer(self, self.inventory.writer) if not isinstance(self.inventory.vertexFilter, NullComponent): ModuleOutputManager.vertexFilter(self, self.inventory.vertexFilter) if not isinstance(self.inventory.cellFilter, NullComponent): ModuleOutputManager.cellFilter(self, self.inventory.cellFilter) self.perfLogger = self.inventory.perfLogger return
def _close(self): """ Call C++ close(). """ ModuleOutputManager.close(self) return
def _closeTimeStep(self): """ Call C++ closeTimeStep(). """ ModuleOutputManager.closeTimeStep(self) return
def _appendVertexField(self, t, field, mesh): """ Call C++ appendVertexField(); """ ModuleOutputManager.appendVertexField(self, t, field, mesh) return
def _createModuleObj(self): """ Create handle to C++ object. """ ModuleOutputManager.__init__(self) return