* using the process grid in @p process_grid.
*/
ScaLAPACKMatrix(
- const size_type size,
- const std::shared_ptr<const Utilities::MPI::ProcessGrid> process_grid,
- const size_type block_size = 32,
- const LAPACKSupport::Property property =
+ const size_type size,
+ const std::shared_ptr<const Utilities::MPI::ProcessGrid> &process_grid,
+ const size_type block_size = 32,
+ const LAPACKSupport::Property property =
LAPACKSupport::Property::symmetric);
/**
* Initialize the square matrix of size @p size and distributed using the grid @p process_grid.
*/
void
- reinit(const size_type size,
- const std::shared_ptr<const Utilities::MPI::ProcessGrid> process_grid,
+ reinit(const size_type size,
+ const std::shared_ptr<const Utilities::MPI::ProcessGrid> &process_grid,
const size_type block_size = 32,
const LAPACKSupport::Property property =
LAPACKSupport::Property::symmetric);
template <typename NumberType>
ScaLAPACKMatrix<NumberType>::ScaLAPACKMatrix(
- const size_type size,
- const std::shared_ptr<const Utilities::MPI::ProcessGrid> process_grid,
- const size_type block_size,
- const LAPACKSupport::Property property)
+ const size_type size,
+ const std::shared_ptr<const Utilities::MPI::ProcessGrid> &process_grid,
+ const size_type block_size,
+ const LAPACKSupport::Property property)
: ScaLAPACKMatrix<NumberType>(size,
size,
process_grid,
template <typename NumberType>
void
ScaLAPACKMatrix<NumberType>::reinit(
- const size_type size,
- const std::shared_ptr<const Utilities::MPI::ProcessGrid> process_grid,
- const size_type block_size,
- const LAPACKSupport::Property property)
+ const size_type size,
+ const std::shared_ptr<const Utilities::MPI::ProcessGrid> &process_grid,
+ const size_type block_size,
+ const LAPACKSupport::Property property)
{
reinit(size, size, process_grid, block_size, block_size, property);
}