Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/v0.1.0/v0.9.0/cpp
DOLFINx  0.1.0
DOLFINx C++ interface
Public Member Functions | List of all members
dolfinx::la::Vector< T > Class Template Reference

Distributed vector. More...

#include <Vector.h>

Public Member Functions

 Vector (const std::shared_ptr< const common::IndexMap > &map, int bs)
 Create vector.
 
 Vector (const Vector &x)=default
 Copy constructor.
 
 Vector (Vector &&x) noexcept=default
 Move constructor.
 
 ~Vector ()=default
 Destructor.
 
Vectoroperator= (const Vector &x)=delete
 
Vectoroperator= (Vector &&x)=default
 Move Assignment operator.
 
std::shared_ptr< const common::IndexMapmap () const
 Get IndexMap.
 
constexpr int bs () const
 Get block size.
 
const std::vector< T > & array () const
 Get local part of the vector (const version)
 
std::vector< T > & mutable_array ()
 Get local part of the vector.
 

Detailed Description

template<typename T>
class dolfinx::la::Vector< T >

Distributed vector.


The documentation for this class was generated from the following file: