|
Panzer Version of the Day
|
Abstract, linear-algebra-library-agnostic container for the vectors and matrix used in a nonlinear/transient solve. More...
#include <Panzer_LinearObjContainer.hpp>

Public Types | |
| enum | Members { X =0x1 , DxDt =0x2 , F =0x4 , Mat =0x8 } |
| Bitmask flags identifying which of the linear objects (solution, time derivative, residual, matrix) are present/requested. More... | |
Public Member Functions | |
| virtual | ~LinearObjContainer () |
| virtual void | initialize ()=0 |
| Zeroes out all linear objects currently held by this container. | |
Public Member Functions inherited from panzer::GlobalEvaluationData_Default | |
| GlobalEvaluationData_Default () | |
| GlobalEvaluationData_Default (const GlobalEvaluationData_Default &s) | |
| virtual void | ghostToGlobal (int) |
| virtual void | globalToGhost (int) |
| virtual void | initializeData () |
| void | setRequiresDirichletAdjustment (bool b) |
| bool | requiresDirichletAdjustment () const |
Public Member Functions inherited from panzer::GlobalEvaluationData | |
| virtual | ~GlobalEvaluationData ()=0 |
| virtual void | print (std::ostream &os) const |
| Diagnostic function for determinning what's in this object. | |
Abstract, linear-algebra-library-agnostic container for the vectors and matrix used in a nonlinear/transient solve.
Concrete subclasses (e.g. panzer::TpetraLinearObjContainer) hold the actual solution vector x, its time derivative dxdt, the residual vector f, and the Jacobian matrix, in whatever linear algebra library they wrap, and are produced/consumed by a matching LinearObjFactory. As a GlobalEvaluationData_Default, it participates in the gather/scatter preEvaluate lookup mechanism but performs no ghost/global communication itself (that is handled by the owning LinearObjFactory).
Definition at line 39 of file Panzer_LinearObjContainer.hpp.
Bitmask flags identifying which of the linear objects (solution, time derivative, residual, matrix) are present/requested.
| Enumerator | |
|---|---|
| X | |
| DxDt | |
| F | |
| Mat | |
Definition at line 44 of file Panzer_LinearObjContainer.hpp.
|
inlinevirtual |
Definition at line 41 of file Panzer_LinearObjContainer.hpp.
|
pure virtual |
Zeroes out all linear objects currently held by this container.
Implemented in panzer::BlockedEpetraLinearObjContainer, panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >, panzer::EpetraLinearObjContainer, and panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >.