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 defines a common interface for vectors.
Initialize zero tensor using sparsity pattern
Return tensor rank (number of dimensions)
Return size of given dimension
Return local ownership range
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
Add block of values using global indices
Add block of values using local indices
Set all entries to zero and keep any sparse structure
Finalize assembly of tensor
Return informal string representation (pretty-print)
Return copy of vector
Initialize vector to global size N
Initialize vector with given local ownership range
Initialise vector with given ownership range and with ghost values
Return global 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 cannot be accessed)
Get block of values using local indices (values must all live on the local process, ghost are accessible)
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 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
Get value of given entry
Get value of given entry
Set given entry to value. apply(“insert”) should be called before using using the object.