Public Types | |
| typedef ValueT | ValueType |
| Public Types inherited from Alien::IVectorImpl | |
| typedef Arccore::Real | ValueType |
| Type of the values stored in the vectors. | |
Public Member Functions | |
| SimpleCSRVector () | |
| Constructeur sans association ? un MultiImpl. | |
| SimpleCSRVector (const MultiVectorImpl *multi_impl) | |
| Constructeur avec association ? un MultiImpl. | |
| Integer | blockSize () const |
| void | setBlockSize (Integer block_size) |
| void | allocate () |
| void | resize (Integer alloc_size) const |
| Integer | getAllocSize () const |
| void | clear () override |
| Wipe out internal data. | |
| Arccore::ArrayView< ValueType > | values () |
| Arccore::ConstArrayView< ValueType > | values () const |
| ArrayView< ValueType > | fullValues () |
| ConstArrayView< ValueType > | fullValues () const |
| void | setArrayValues (UniqueArray< ValueType > &&rhs) |
| UniqueArray< ValueType > const & | getArrayValues () const |
| ValueType * | getDataPtr () |
| ValueType * | data () |
| ValueType const * | getDataPtr () const |
| ValueType const * | data () const |
| ValueType const * | getAddressData () const |
| ValueType & | operator[] (Integer index) |
| ValueType const & | operator[] (Integer index) const |
| template<typename E> | |
| SimpleCSRVector & | operator= (E const &expr) |
| void | init (const VectorDistribution &dist, const bool need_allocate) override |
| Initialize vector datas. | |
| void | init (const VectorDistribution &dist, Integer block_size, const bool need_allocate) |
| const VectorDistribution & | distribution () const override |
| Get the distribution of the vector. | |
| Arccore::Integer | scalarizedLocalSize () const override |
| Get the "scalarized" local size. | |
| Arccore::Integer | scalarizedGlobalSize () const override |
| Get the "scalarized" global size. | |
| Arccore::Integer | scalarizedOffset () const override |
| Get the "scalarized" offset. | |
| const VBlockImpl & | vblockImpl () const |
| void | update (const SimpleCSRVector< ValueT > &v) |
| SimpleCSRVector< ValueT > * | cloneTo (const MultiVectorImpl *impl) const |
| Public Member Functions inherited from Alien::IVectorImpl | |
| IVectorImpl (const MultiVectorImpl *multi_impl, BackEndId backend="") | |
| Constructor. | |
| virtual | ~IVectorImpl () override |
| Free resources. | |
| IVectorImpl (const IVectorImpl &src)=delete | |
| IVectorImpl (IVectorImpl &&src)=delete | |
| IVectorImpl & | operator= (const IVectorImpl &src)=delete |
| IVectorImpl & | operator= (IVectorImpl &&src)=delete |
| virtual const ISpace & | space () const |
| Get the vector space. | |
| virtual BackEndId | backend () const |
| virtual const Block * | block () const |
| Get block datas of the vector. | |
| virtual const VBlock * | vblock () const |
| Get block datas of the vector. | |
| const MultiVectorImpl * | impls () const |
| Public Member Functions inherited from Alien::Timestamp | |
| Timestamp (const TimestampMng *manager) | |
| virtual | ~Timestamp () |
| Destructeur de la classe. | |
| virtual Int64 | timestamp () const |
| Donne la valeur courante du timestamp. | |
| void | updateTimestamp () |
| Met à jour le timestamp. | |
| void | copyTimestamp (const Timestamp &v) |
| Copy un autre timestamp. | |
| void | setTimestamp (const TimestampMng *manager, const Int64 timestamp) |
| Public Member Functions inherited from Alien::ObjectWithTrace | |
| template<typename T> | |
| void | alien_info (T &&t) const |
| template<typename T> | |
| void | alien_debug (T &&t) const |
| template<typename T> | |
| void | alien_warning (T &&t) const |
| template<typename T> | |
| void | alien_fatal (T &&t) const |
| ITraceMng * | traceMng () const |
Private Attributes | |
| UniqueArray< ValueT > | m_values |
| Integer | m_local_size = 0 |
| Integer | m_own_block_size = 1 |
| VectorDistribution | m_own_distribution |
| std::unique_ptr< VBlockImpl > | m_vblock |
Additional Inherited Members | |
| Protected Member Functions inherited from Alien::ObjectWithTrace | |
| TraceMessage | cout () const |
| Protected Attributes inherited from Alien::IVectorImpl | |
| const MultiVectorImpl * | m_multi_impl |
| Pointer on vectors implementations. | |
| BackEndId | m_backend |
| Backend id. | |
| VBlockSizes * | m_vblock_sizes |
| Variable blocks size data. | |
Definition at line 23 of file SimpleCSRVector.h.
| typedef ValueT Alien::SimpleCSRVector< ValueT >::ValueType |
Definition at line 26 of file SimpleCSRVector.h.
|
inline |
Constructeur sans association ? un MultiImpl.
Definition at line 29 of file SimpleCSRVector.h.
|
inline |
Constructeur avec association ? un MultiImpl.
Definition at line 34 of file SimpleCSRVector.h.
|
inline |
Definition at line 60 of file SimpleCSRVector.h.
|
inline |
Definition at line 38 of file SimpleCSRVector.h.
|
inlineoverridevirtual |
Wipe out internal data.
Reimplemented from Alien::IVectorImpl.
Definition at line 78 of file SimpleCSRVector.h.
|
inline |
Definition at line 203 of file SimpleCSRVector.h.
|
inline |
Definition at line 104 of file SimpleCSRVector.h.
|
inline |
Definition at line 107 of file SimpleCSRVector.h.
|
inlineoverridevirtual |
Get the distribution of the vector.
Reimplemented from Alien::IVectorImpl.
Definition at line 162 of file SimpleCSRVector.h.
Referenced by Alien::SimpleCSRtoDoKVectorConverter::convert(), and Alien::SimpleCSRVector< Arccore::Real >::init().
|
inline |
Definition at line 96 of file SimpleCSRVector.h.
|
inline |
Definition at line 97 of file SimpleCSRVector.h.
|
inline |
Definition at line 108 of file SimpleCSRVector.h.
|
inline |
Definition at line 76 of file SimpleCSRVector.h.
|
inline |
Definition at line 101 of file SimpleCSRVector.h.
|
inline |
Definition at line 103 of file SimpleCSRVector.h.
|
inline |
Definition at line 106 of file SimpleCSRVector.h.
|
inlineoverridevirtual |
Initialize vector datas.
| [in] | dist | The vector distribution |
| [in] | do_alloc | Allocate memory or not |
Reimplemented from Alien::IVectorImpl.
Definition at line 118 of file SimpleCSRVector.h.
|
inline |
Definition at line 139 of file SimpleCSRVector.h.
|
inline |
Definition at line 110 of file SimpleCSRVector.h.
|
inline |
Definition at line 112 of file SimpleCSRVector.h.
|
inline |
Definition at line 67 of file SimpleCSRVector.h.
|
inlineoverridevirtual |
Get the "scalarized" global size.
Reimplemented from Alien::IVectorImpl.
Definition at line 178 of file SimpleCSRVector.h.
|
inlineoverridevirtual |
Get the "scalarized" local size.
Reimplemented from Alien::IVectorImpl.
Definition at line 170 of file SimpleCSRVector.h.
Referenced by Alien::SimpleCSRtoDoKVectorConverter::convert(), and Alien::SimpleCSRVector< Arccore::Real >::init().
|
inlineoverridevirtual |
Get the "scalarized" offset.
Reimplemented from Alien::IVectorImpl.
Definition at line 186 of file SimpleCSRVector.h.
|
inline |
Definition at line 99 of file SimpleCSRVector.h.
|
inline |
Definition at line 52 of file SimpleCSRVector.h.
|
inline |
Definition at line 197 of file SimpleCSRVector.h.
|
inline |
Definition at line 85 of file SimpleCSRVector.h.
|
inline |
Definition at line 90 of file SimpleCSRVector.h.
|
inline |
Definition at line 194 of file SimpleCSRVector.h.
|
private |
Definition at line 216 of file SimpleCSRVector.h.
|
private |
Definition at line 217 of file SimpleCSRVector.h.
|
private |
Definition at line 218 of file SimpleCSRVector.h.
|
mutableprivate |
Definition at line 215 of file SimpleCSRVector.h.
|
mutableprivate |
Definition at line 219 of file SimpleCSRVector.h.