petsc4py.PETSc.LogStage#
- class petsc4py.PETSc.LogStage#
Bases:
object
Logging support for different stages.
Methods Summary
activate
()Activate the stage.
Deactivate the stage.
Check if the stage is activated.
getName
()Return the current stage name.
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
Whether the stage is activate.
The log stage identifier.
The current stage name.
Whether the stage is visible.
Methods Documentation
- activate()#
Activate the stage.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:279
- Return type:
- deactivate()#
Deactivate the stage.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:291
- Return type:
- getActive()#
Check if the stage is activated.
Not collective.
See also
Source code at petsc4py/PETSc/Log.pyx:303
- Return type:
- getName()#
Return the current stage name.
Source code at petsc4py/PETSc/Log.pyx:262
- Return type:
- getVisible()#
Return whether the stage is visible.
Not collective.
See also
Source code at petsc4py/PETSc/Log.pyx:341
- Return type:
- pop()#
Pop a stage from the logging stack.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:247
- Return type:
- push()#
Push a stage on the logging stack.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:235
- Return type:
- setActive(flag)#
Activate or deactivate the current stage.
Logically collective.
See also
- setVisible(flag)#
Set the visibility of the stage.
Logically collective.
See also
Attributes Documentation
- active#
Whether the stage is activate.
- id#
The log stage identifier.
- name#
The current stage name.
- visible#
Whether the stage is visible.