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
Source code at petsc4py/PETSc/Log.pyx:271
- Return type:
- deactivate()#
Deactivate the stage.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:283
- Return type:
- getActive()#
Check if the stage is activated.
Not collective.
See also
Source code at petsc4py/PETSc/Log.pyx:295
- Return type:
- getVisible()#
Return whether the stage is visible.
Not collective.
See also
Source code at petsc4py/PETSc/Log.pyx:331
- Return type:
- pop()#
Pop a stage from the logging stack.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:242
- Return type:
- push()#
Push a stage on the logging stack.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:230
- 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#
- id#
- name#
- visible#