#include <PetscOutput.h>
Public Member Functions | |
PetscOutputInterface (PetscOutput *obj) | |
Static Protected Member Functions | |
static PetscErrorCode | petscNonlinearOutput (SNES, PetscInt its, PetscReal fnorm, void *void_ptr) |
Performs the output on non-linear iterations This is the monitor method that PETSc will call on non-linear iterations. More... | |
static PetscErrorCode | petscLinearOutput (KSP, PetscInt its, PetscReal fnorm, void *void_ptr) |
Performs the output onlinear iterations This is the monitor method that PETSc will call on linear iterations. More... | |
Protected Attributes | |
PetscOutput * | _petsc_output |
Definition at line 17 of file PetscOutput.h.
PetscOutputInterface::PetscOutputInterface | ( | PetscOutput * | obj | ) |
Definition at line 19 of file PetscOutput.C.
|
staticprotected |
Performs the output onlinear iterations This is the monitor method that PETSc will call on linear iterations.
This is one of three locations where we explicitly flush the output buffers during a simulation: PetscOutput::petscNonlinearOutput() PetscOutput::petscLinearOutput() OutputWarehouse::outputStep()
All other Console output should be using newlines to avoid covering buffer errors and to avoid excessive I/O. This call is necessary. In the PETSc callback the context bypasses the OutputWarehouse.
Definition at line 76 of file PetscOutput.C.
Referenced by PetscOutput::solveSetup().
|
staticprotected |
Performs the output on non-linear iterations This is the monitor method that PETSc will call on non-linear iterations.
This is one of three locations where we explicitly flush the output buffers during a simulation: PetscOutput::petscNonlinearOutput() PetscOutput::petscLinearOutput() OutputWarehouse::outputStep()
All other Console output should be using newlines to avoid covering buffer errors and to avoid excessive I/O. This call is necessary. In the PETSc callback the context bypasses the OutputWarehouse.
Definition at line 26 of file PetscOutput.C.
Referenced by PetscOutput::solveSetup().
|
protected |
Definition at line 23 of file PetscOutput.h.
Referenced by petscLinearOutput(), and petscNonlinearOutput().