Provide a simple RAII interface for linear lagrange solution variables. More...
#include <SolutionHandle.h>
Public Member Functions | |
| SolutionHandle (const MooseVariableFieldBase &variable) | |
| Number | operator() (const Node *node) const |
| Get a value from the solution vector. More... | |
| Number | old (const Node *node) const |
| Get a value from the old solution vector. More... | |
| void | set (const Node *node, Number val) |
| Set a value in the solution vector. More... | |
| Real | L2norm () const |
| void | close () |
Private Attributes | |
| MooseVariableFieldBase & | _var |
| NumericVector< Number > & | _soln |
| const NumericVector< Number > & | _soln_old |
Provide a simple RAII interface for linear lagrange solution variables.
Definition at line 21 of file SolutionHandle.h.
|
inline |
Definition at line 24 of file SolutionHandle.h.
|
inline |
Definition at line 63 of file SolutionHandle.h.
|
inline |
Definition at line 58 of file SolutionHandle.h.
|
inline |
Get a value from the old solution vector.
Definition at line 43 of file SolutionHandle.h.
|
inline |
Get a value from the solution vector.
Definition at line 34 of file SolutionHandle.h.
Set a value in the solution vector.
Definition at line 52 of file SolutionHandle.h.
|
private |
Definition at line 67 of file SolutionHandle.h.
Referenced by close(), L2norm(), operator()(), and set().
|
private |
Definition at line 68 of file SolutionHandle.h.
Referenced by old().
|
private |
Definition at line 66 of file SolutionHandle.h.
Referenced by L2norm(), old(), operator()(), and set().
1.8.14