// reinit_matrix():
- namespace
+ namespace SparseMatrixImpl
{
using size_type = dealii::types::signed_global_dof_index;
Utilities::Trilinos::internal::make_rcp<MatrixType<Number, NodeType>>(
graph);
}
- } // namespace
+ } // namespace SparseMatrixImpl
SparseMatrix<Number, MemorySpace>::reinit(
const SparsityPatternType &sparsity_pattern)
{
- reinit_matrix<Number, NodeType, SparsityPatternType>(
+ SparseMatrixImpl::reinit_matrix<Number, NodeType, SparsityPatternType>(
complete_index_set(sparsity_pattern.n_rows()),
complete_index_set(sparsity_pattern.n_cols()),
sparsity_pattern,
const MPI_Comm communicator,
const bool exchange_data)
{
- reinit_matrix<Number, NodeType, SparsityPatternType>(
+ SparseMatrixImpl::reinit_matrix<Number, NodeType, SparsityPatternType>(
row_parallel_partitioning,
col_parallel_partitioning,
sparsity_pattern,
- namespace
+ namespace SparsityPatternImpl
{
template <typename MemorySpace>
using size_type = typename SparsityPattern<MemorySpace>::size_type;
graph->globalAssemble();
}
- } // namespace
+ } // namespace SparsityPatternImpl
template <typename MemorySpace>
parallel_partitioning.size());
Teuchos::RCP<MapType> map =
parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<MemorySpace>(
+ SparsityPatternImpl::reinit_sp<MemorySpace>(
map, map, n_entries_per_row, column_space_map, graph, nonlocal_graph);
}
parallel_partitioning.size());
Teuchos::RCP<MapType> map =
parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<MemorySpace>(
+ SparsityPatternImpl::reinit_sp<MemorySpace>(
map, map, n_entries_per_row, column_space_map, graph, nonlocal_graph);
}
row_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
Teuchos::RCP<MapType> col_map =
col_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<MemorySpace>(row_map,
- col_map,
- n_entries_per_row,
- column_space_map,
- graph,
- nonlocal_graph);
+ SparsityPatternImpl::reinit_sp<MemorySpace>(row_map,
+ col_map,
+ n_entries_per_row,
+ column_space_map,
+ graph,
+ nonlocal_graph);
}
row_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
Teuchos::RCP<MapType> col_map =
col_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<MemorySpace>(row_map,
- col_map,
- n_entries_per_row,
- column_space_map,
- graph,
- nonlocal_graph);
+ SparsityPatternImpl::reinit_sp<MemorySpace>(row_map,
+ col_map,
+ n_entries_per_row,
+ column_space_map,
+ graph,
+ nonlocal_graph);
}
row_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
Teuchos::RCP<MapType> col_map =
col_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<MemorySpace>(row_map,
- col_map,
- n_entries_per_row,
- column_space_map,
- graph,
- nonlocal_graph);
+ SparsityPatternImpl::reinit_sp<MemorySpace>(row_map,
+ col_map,
+ n_entries_per_row,
+ column_space_map,
+ graph,
+ nonlocal_graph);
IndexSet nonlocal_partitioner = writable_rows;
AssertDimension(nonlocal_partitioner.size(),
row_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
Teuchos::RCP<MapType> col_map =
col_parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<SparsityPatternType, MemorySpace>(row_map,
- col_map,
- nontrilinos_sparsity_pattern,
- exchange_data,
- column_space_map,
- graph,
- nonlocal_graph);
+ SparsityPatternImpl::reinit_sp<SparsityPatternType, MemorySpace>(
+ row_map,
+ col_map,
+ nontrilinos_sparsity_pattern,
+ exchange_data,
+ column_space_map,
+ graph,
+ nonlocal_graph);
}
parallel_partitioning.size());
Teuchos::RCP<MapType> map =
parallel_partitioning.make_tpetra_map_rcp(communicator, false);
- reinit_sp<SparsityPatternType, MemorySpace>(map,
- map,
- nontrilinos_sparsity_pattern,
- exchange_data,
- column_space_map,
- graph,
- nonlocal_graph);
+ SparsityPatternImpl::reinit_sp<SparsityPatternType, MemorySpace>(
+ map,
+ map,
+ nontrilinos_sparsity_pattern,
+ exchange_data,
+ column_space_map,
+ graph,
+ nonlocal_graph);
}
0,
Utilities::Trilinos::tpetra_comm_self());
- reinit_sp<SparsityPatternType, MemorySpace>(
+ SparsityPatternImpl::reinit_sp<SparsityPatternType, MemorySpace>(
rows, columns, sp, false, column_space_map, graph, nonlocal_graph);
}