// $Id$
// Version: $Name$
//
-// Copyright (C) 2008, 2009 by the deal.II authors
+// Copyright (C) 2008, 2009, 2010 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
* sparsity pattern with non-trivial
* content.
*/
- void operator = (const SparsityPattern &input_sparsity_pattern);
+ SparsityPattern & operator = (const SparsityPattern &input_sparsity_pattern);
/**
* Release all memory and return to a
SparsityPattern::SparsityPattern (const IndexSet ¶llel_partitioning,
const MPI_Comm &communicator,
const unsigned int n_entries_per_row)
+ :
+ compressed (false)
{
- Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
+ Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
false);
reinit (map, map, n_entries_per_row);
}
SparsityPattern::SparsityPattern (const IndexSet ¶llel_partitioning,
const MPI_Comm &communicator,
const std::vector<unsigned int> &n_entries_per_row)
+ :
+ compressed (false)
{
- Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
+ Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
false);
reinit (map, map, n_entries_per_row);
}
const IndexSet &col_parallel_partitioning,
const MPI_Comm &communicator,
const unsigned int n_entries_per_row)
+ :
+ compressed (false)
{
Epetra_Map row_map =
row_parallel_partitioning.make_trilinos_map (communicator, false);
inline
SparsityPattern::
- SparsityPattern (const IndexSet &row_parallel_partitioning,
- const IndexSet &col_parallel_partitioning,
- const MPI_Comm &communicator,
- const std::vector<unsigned int> &n_entries_per_row)
+ SparsityPattern (const IndexSet &row_parallel_partitioning,
+ const IndexSet &col_parallel_partitioning,
+ const MPI_Comm &communicator,
+ const std::vector<unsigned int> &n_entries_per_row)
+ :
+ compressed (false)
{
Epetra_Map row_map =
row_parallel_partitioning.make_trilinos_map (communicator, false);
inline
- void
+ void
SparsityPattern::reinit (const IndexSet ¶llel_partitioning,
const MPI_Comm &communicator,
const unsigned int n_entries_per_row)
{
- Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
+ Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
false);
reinit (map, map, n_entries_per_row);
}
const MPI_Comm &communicator,
const std::vector<unsigned int> &n_entries_per_row)
{
- Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
+ Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
false);
reinit (map, map, n_entries_per_row);
}
const MPI_Comm &communicator,
const bool exchange_data)
{
- Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
+ Epetra_Map map = parallel_partitioning.make_trilinos_map (communicator,
false);
reinit (map, map, nontrilinos_sparsity_pattern, exchange_data);
}