Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
This class provides a simple vector class based on Eigen. It is a simple wrapper for a Eigen vector implementing the GenericVector interface.
The interface is intentionally simple. For advanced usage, access the underlying Eigen vector and use the standard Eigen interface which is documented at http://eigen.tuxfamily.org
Create empty vector
Create vector of size N
Copy constructor
Construct vector from an Eigen shared_ptr
Set all entries to zero and keep any sparse structure
Finalize assembly of tensor
Return MPI communicator
Return informal string representation (pretty-print)
Create copy of tensor
Initialize vector to size N
Resize vector with given ownership range
Resize vector with given ownership range and with ghost values
Return true if vector is empty
Return true if vector is empty
Return local size of vector
Return local ownership range of a vector
Determine whether global vector index is owned by this process
Get block of values using global indices
Get block of values using local indices
Set block of values using global indices
Set block of values using local indices
Add block of values using global indices
Add block of values using local indices
Get all values on local process
Set all values on local process
Add values to each entry on local process
Gather entries into local vector x
Gather entries into x
Gather all entries into x on process 0
Add multiple of given vector (AXPY operation)
Replace all entries in the vector by their absolute values
Return inner product with given vector
Compute norm of vector
Return minimum value of vector
Return maximum value of vector
Return sum of values of vector
Return sum of selected rows in vector. Repeated entries are only summed once.
Multiply vector by given number
Multiply vector by another vector pointwise
Divide vector by given number
Add given vector
Add number to all components of a vector
Subtract given vector
Subtract number from all components of a vector
Assignment operator
Assignment operator
Return linear algebra backend factory
Resize vector to size N
Return reference to Eigen vector (const version)
Return reference to Eigen vector (non-const version)
Access value of given entry (const version)
Access value of given entry (non-const version)
Assignment operator
Return pointer to underlying data
Return pointer to underlying data (const version)