Nektar++
|
Internal struct for MatShell and PCShell calls to store current context for callback. More...
#include <GlobalLinSysPETSc.h>
Public Attributes | |
int | nGlobal |
Number of global degrees of freedom. More... | |
int | nDir |
Number of Dirichlet degrees of freedom. More... | |
GlobalLinSysPETSc * | linSys |
Pointer to the original calling object. More... | |
Internal struct for MatShell and PCShell calls to store current context for callback.
To use the MatShell/PCShell representation inside PETSc KSP and PC objects (so that we can use the local spectral element approach) requires the use of a callback function, which must be static. This is a lightweight wrapper allowing us to call a virtual function so that we can handle the static condensation/full variants of the global system.
Definition at line 112 of file GlobalLinSysPETSc.h.
GlobalLinSysPETSc* Nektar::MultiRegions::GlobalLinSysPETSc::ShellCtx::linSys |
Pointer to the original calling object.
Definition at line 119 of file GlobalLinSysPETSc.h.
Referenced by Nektar::MultiRegions::GlobalLinSysPETSc::DoNekppOperation(), and Nektar::MultiRegions::GlobalLinSysPETSc::SetUpMatVec().
int Nektar::MultiRegions::GlobalLinSysPETSc::ShellCtx::nDir |
Number of Dirichlet degrees of freedom.
Definition at line 117 of file GlobalLinSysPETSc.h.
Referenced by Nektar::MultiRegions::GlobalLinSysPETSc::DoNekppOperation(), and Nektar::MultiRegions::GlobalLinSysPETSc::SetUpMatVec().
int Nektar::MultiRegions::GlobalLinSysPETSc::ShellCtx::nGlobal |
Number of global degrees of freedom.
Definition at line 115 of file GlobalLinSysPETSc.h.
Referenced by Nektar::MultiRegions::GlobalLinSysPETSc::DoNekppOperation(), and Nektar::MultiRegions::GlobalLinSysPETSc::SetUpMatVec().