Activates a problem's PETSc options database for the lifetime of this scope. More...
#include <PetscSupport.h>
Public Member Functions | |
| PetscOptionsScope (FEProblemBase &problem) | |
| ~PetscOptionsScope () | |
| PetscOptionsScope (const PetscOptionsScope &)=delete | |
| PetscOptionsScope & | operator= (const PetscOptionsScope &)=delete |
Private Attributes | |
| FEProblemBase & | _problem |
| Problem whose PETSc options database is activated. More... | |
| bool | _pushed |
| Whether a database was pushed and therefore needs to be popped. More... | |
Activates a problem's PETSc options database for the lifetime of this scope.
Definition at line 71 of file PetscSupport.h.
|
explicit |
Definition at line 102 of file PetscSupport.C.
| Moose::PetscSupport::PetscOptionsScope::~PetscOptionsScope | ( | ) |
Definition at line 113 of file PetscSupport.C.
|
delete |
|
delete |
|
private |
Problem whose PETSc options database is activated.
Definition at line 82 of file PetscSupport.h.
Referenced by PetscOptionsScope(), and ~PetscOptionsScope().
|
private |
Whether a database was pushed and therefore needs to be popped.
Definition at line 85 of file PetscSupport.h.
Referenced by PetscOptionsScope(), and ~PetscOptionsScope().
1.8.14