|
DOLFIN-X
DOLFIN-X C++ interface
|
Read-only wrapper around a PETSc Vec object, to simplify direct access to data. More...
#include <utils.h>
Public Member Functions | |
| VecReadWrapper (const Vec y, bool ghosted=true) | |
| Wrap PETSc Vec y. | |
| VecReadWrapper (const VecReadWrapper &w)=delete | |
| VecReadWrapper (VecReadWrapper &&w) | |
| Move constructor. | |
| VecReadWrapper & | operator= (const VecReadWrapper &w)=delete |
| VecReadWrapper & | operator= (VecReadWrapper &&w) |
| Move assignment. | |
| void | restore () |
| Restore PETSc Vec. | |
Public Attributes | |
| Eigen::Map< const Eigen::Matrix< PetscScalar, Eigen::Dynamic, 1 > > | x |
| Eigen Map into PETSc Vec. | |
Read-only wrapper around a PETSc Vec object, to simplify direct access to data.
1.8.17