namespace EpetraWrappers
{
Vector::Vector()
- : vector(new Epetra_FEVector(
+ : Subscriptor()
+ , vector(new Epetra_FEVector(
Epetra_Map(0, 0, 0, Utilities::Trilinos::comm_self())))
{}
Vector::Vector(const IndexSet ¶llel_partitioner,
const MPI_Comm &communicator)
- : vector(new Epetra_FEVector(
+ : Subscriptor()
+ , vector(new Epetra_FEVector(
parallel_partitioner.make_trilinos_map(communicator, false)))
{}
{
template <typename Number>
Vector<Number>::Vector()
- : vector(new Tpetra::Vector<Number, int, types::global_dof_index>(
+ : Subscriptor()
+ , vector(new Tpetra::Vector<Number, int, types::global_dof_index>(
Teuchos::RCP<Tpetra::Map<int, types::global_dof_index>>(
new Tpetra::Map<int, types::global_dof_index>(
0,
template <typename Number>
Vector<Number>::Vector(const IndexSet ¶llel_partitioner,
const MPI_Comm &communicator)
- : vector(new Tpetra::Vector<Number, int, types::global_dof_index>(
+ : Subscriptor()
+ , vector(new Tpetra::Vector<Number, int, types::global_dof_index>(
Teuchos::rcp(new Tpetra::Map<int, types::global_dof_index>(
parallel_partitioner.make_tpetra_map(communicator, false)))))
{}