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 the default DOLFIN vector class, based on the default DOLFIN linear algebra backend.
Create empty vector
Create vector of size N
Copy constructor
Create a Vector from a GenericVector
Return copy of vector
Set all entries to zero and keep any sparse structure
Finalize assembly of tensor
Return MPI communicator
Return informal string representation (pretty-print)
Initialize vector to size N
Initialize vector with given ownership range
Initialize vector with given ownership range and with ghost values
Return true if vector is empty
Return size of vector
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 (values must all live on the local process, ghosts are no accessible)
Get block of values using local indices (values must all live on the local process)
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
Return norm of vector
Return minimum value of vector
Return maximum value of vector
Return sum of values of vector
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
Return concrete instance / unwrap (const version)
Return concrete instance / unwrap (non-const version)
Assignment operator