petsc4py.PETSc.LogStage
- class petsc4py.PETSc.LogStage
Bases:
objectLogging support for different stages.
Methods Summary
activate()Activate the stage.
Deactivate the stage.
Check if the stage is activated.
getName()Return whether the stage is visible.
pop()Pop a stage from the logging stack.
push()Push a stage on the logging stack.
setActive(flag)Activate or deactivate the current stage.
setVisible(flag)Set the visibility of the stage.
Attributes Summary
Methods Documentation
- activate()
Activate the stage.
Logically collective.
See also
petsc.PetscLogStageSetActiveSource code at petsc4py/PETSc/Log.pyx:271
- Return type:
- deactivate()
Deactivate the stage.
Logically collective.
See also
petsc.PetscLogStageSetActiveSource code at petsc4py/PETSc/Log.pyx:283
- Return type:
- getActive()
Check if the stage is activated.
Not collective.
See also
petsc.PetscLogStageGetActiveSource code at petsc4py/PETSc/Log.pyx:295
- Return type:
- getVisible()
Return whether the stage is visible.
Not collective.
See also
LogStage.setVisible,petsc.PetscLogStageSetVisibleSource code at petsc4py/PETSc/Log.pyx:331
- Return type:
- pop()
Pop a stage from the logging stack.
Logically collective.
See also
LogStage.push,petsc.PetscLogStagePopSource code at petsc4py/PETSc/Log.pyx:242
- Return type:
- push()
Push a stage on the logging stack.
Logically collective.
See also
LogStage.pop,petsc.PetscLogStagePushSource code at petsc4py/PETSc/Log.pyx:230
- Return type:
- setActive(flag)
Activate or deactivate the current stage.
Logically collective.
See also
petsc.PetscLogStageSetActive
- setVisible(flag)
Set the visibility of the stage.
Logically collective.
See also
LogStage.getVisible,petsc.PetscLogStageSetVisible
Attributes Documentation
- active
- id
- name
- visible