32using namespace Arccore;
76: m_internal(Internal::newFixedSizeBlock(block_size, block_size))
83: m_internal(Internal::newFixedSizeBlock(block_sizeX, block_sizeY))
116std::shared_ptr<Block>
119 return std::make_shared<Block>(*
this);
Arccore::Integer size() const
Get square block size.
Arccore::Integer sizeX() const
Get rectangular block size in the "X" direction.
Arccore::Integer sizeY() const
Get rectangular block size in the "Y" direction.
Block(Arccore::Integer block_size)
Square block constructor.
std::shared_ptr< Block > clone() const
Clone this object.
std::shared_ptr< Internal > m_internal
Actual implementation.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Internal structure for square or rectangular blocks.
static Block::Internal * newFixedSizeBlock(Integer sizeX, Integer sizeY)
Creates a new block.
Integer m_block_size_y
Block size in "Y" direction.
Integer m_block_size_x
Block size in "X" direction.