Variable size block elements for block matrices. More...
#include <core/alien/core/block/VBlock.h>
Classes | |
| struct | Internal |
| Actual implementation of variable blocks size. More... | |
Public Types | |
| typedef VMap< Arccore::Integer, Arccore::Integer > | ValuePerBlock |
| Type of the size of each block. | |
Public Member Functions | |
| VBlock (ValuePerBlock &&all_blocks_sizes) | |
| Rvalue constructor. | |
| VBlock (const ValuePerBlock &all_blocks_sizes) | |
| Ref constructor. | |
| ~VBlock () | |
| Free resources. | |
| VBlock (const VBlock &block) | |
| Copy constructor. | |
| Arccore::Integer | size (Arccore::Integer index) const |
| Get the size of a block. | |
| Arccore::Integer | maxBlockSize () const |
| Get the max size of all block size. | |
| const ValuePerBlock & | blockSizes () const |
| Get the size of all blocks. | |
| std::shared_ptr< VBlock > | clone () const |
| Copy this object. | |
Variable size block elements for block matrices.
Defines blocks parameters that may be different for each block
| typedef VMap<Arccore::Integer, Arccore::Integer> Alien::VBlock::ValuePerBlock |
| Alien::VBlock::VBlock | ( | ValuePerBlock && | all_blocks_sizes | ) |
Rvalue constructor.
| [in] | all_blocks_sizes | Block size for all blocks |
Definition at line 98 of file VBlock.cc.
References Alien::VBlock::Internal::newVariableSizeBlock().
Referenced by VBlock().
| Alien::VBlock::VBlock | ( | const ValuePerBlock & | all_blocks_sizes | ) |
Ref constructor.
| [in] | all_blocks_sizes | Block size for all blocks |
Definition at line 146 of file VBlock.cc.
References Alien::VBlock::Internal::newVariableSizeBlock().
| Alien::VBlock::VBlock | ( | const VBlock & | block | ) |
Copy constructor.
| [in] | Block related API | The block to copy |
Definition at line 91 of file VBlock.cc.
References VBlock().
| const VBlock::ValuePerBlock & Alien::VBlock::blockSizes | ( | ) | const |
Get the size of all blocks.
Definition at line 193 of file VBlock.cc.
Referenced by Alien::VBlockSizes::VBlockSizes(), and Alien::VBlockSizes::VBlockSizes().
| std::shared_ptr< VBlock > Alien::VBlock::clone | ( | ) | const |
Copy this object.
Definition at line 184 of file VBlock.cc.
Referenced by Alien::MultiMatrixImpl::setBlockInfos(), Alien::MultiVectorImpl::setBlockInfos(), Alien::MultiMatrixImpl::setColBlockInfos(), and Alien::MultiMatrixImpl::setRowBlockInfos().
| Integer Alien::VBlock::maxBlockSize | ( | ) | const |
Get the max size of all block size.
Definition at line 175 of file VBlock.cc.
Referenced by Alien::NormalizeOpt::Op2::Op2(), and Alien::NormalizeOpt::Op2::Op2().
| Integer Alien::VBlock::size | ( | Arccore::Integer | index | ) | const |