|
DOLFIN
DOLFIN C++ interface
|
#include <SUNDIALSNVector.h>
Public Member Functions | |
| SUNDIALSNVector (MPI_Comm comm=MPI_COMM_WORLD) | |
| SUNDIALSNVector (MPI_Comm comm, std::size_t N) | |
| SUNDIALSNVector (const SUNDIALSNVector &x) | |
| SUNDIALSNVector (const GenericVector &x) | |
| SUNDIALSNVector (std::shared_ptr< GenericVector > x) | |
| N_Vector | nvector () const |
| std::shared_ptr< GenericVector > | vec () const |
| const SUNDIALSNVector & | operator= (const SUNDIALSNVector &x) |
| Assignment operator. | |
Interface to SUNDIALS NVector
|
inline |
Create empty vector
| comm | MPI communicator |
|
inline |
Create vector of size N
| comm | MPI communicator |
| N | Size of vector |
|
inline |
Copy constructor
| x | SUNDIALSNVector to copy |
|
inline |
Create an SUNDIALSNVector from a GenericVector
| x | GenericVector to copy |
|
inline |
Create a SUNDIALSNVector wrapper to an existing GenericVector
| x | GenericVector pointer to copy |
|
inline |
Get underlying raw SUNDIALS N_Vector struct
|
inline |
Get underlying GenericVector
1.8.11