MARKUS source/lac/block_sparsity_pattern.cc
MARKUS source/lac/block_vector.cc
MARKUS source/lac/chunk_sparse_matrix.cc
-source/lac/chunk_sparsity_pattern.cc
+MARKUS source/lac/chunk_sparsity_pattern.cc
MARKUS source/lac/compressed_set_sparsity_pattern.cc
-source/lac/compressed_simple_sparsity_pattern.cc
+MARKUS source/lac/compressed_simple_sparsity_pattern.cc
source/lac/compressed_sparsity_pattern.cc
WOLFGANG source/lac/constraint_matrix.cc
source/lac/full_matrix.cc
MARKUS include/deal.II/lac/block_vector.templates.h
MARKUS include/deal.II/lac/chunk_sparse_matrix.h
MARKUS include/deal.II/lac/chunk_sparse_matrix.templates.h
-include/deal.II/lac/chunk_sparsity_pattern.h
+MARKUS include/deal.II/lac/chunk_sparsity_pattern.h
MARKUS include/deal.II/lac/compressed_set_sparsity_pattern.h
-include/deal.II/lac/compressed_simple_sparsity_pattern.h
+MARKUS include/deal.II/lac/compressed_simple_sparsity_pattern.h
include/deal.II/lac/compressed_sparsity_pattern.h
WOLFGANG include/deal.II/lac/constraint_matrix.h
WOLFGANG include/deal.II/lac/constraint_matrix.templates.h
* takes effect for quadratic
* matrices only.
*/
- ChunkSparsityPattern (const unsigned int m,
- const unsigned int n,
+ ChunkSparsityPattern (const types::global_dof_index m,
+ const types::global_dof_index n,
const unsigned int max_chunks_per_row,
const unsigned int chunk_size,
const bool optimize_diagonal = true);
* takes effect for quadratic
* matrices only.
*/
- ChunkSparsityPattern (const unsigned int m,
- const unsigned int n,
+ ChunkSparsityPattern (const types::global_dof_index m,
+ const types::global_dof_index n,
const std::vector<unsigned int>& row_lengths,
const unsigned int chunk_size,
const bool optimize_diagonal = true);
* taking row and column numbers
* separately.
*/
- ChunkSparsityPattern (const unsigned int n,
- const unsigned int max_per_row,
- const unsigned int chunk_size);
+ ChunkSparsityPattern (const types::global_dof_index n,
+ const unsigned int max_per_row,
+ const unsigned int chunk_size);
/**
* Initialize a quadratic matrix.
* diagonal entries first in row;
* see optimize_diagonal().
*/
- ChunkSparsityPattern (const unsigned int m,
+ ChunkSparsityPattern (const types::global_dof_index m,
const std::vector<unsigned int>& row_lengths,
const unsigned int chunk_size,
const bool optimize_diagonal = true);
* operations to the other
* <tt>reinit</tt> function.
*/
- void reinit (const unsigned int m,
- const unsigned int n,
+ void reinit (const types::global_dof_index m,
+ const types::global_dof_index n,
const unsigned int max_per_row,
const unsigned int chunk_size,
const bool optimize_diagonal = true);
* optimized access in relaxation
* methods of SparseMatrix.
*/
- void reinit (const unsigned int m,
- const unsigned int n,
+ void reinit (const types::global_dof_index m,
+ const types::global_dof_index n,
const std::vector<unsigned int> &row_lengths,
const unsigned int chunk_size,
const bool optimize_diagonal = true);
* Same as above, but with a
* VectorSlice argument instead.
*/
- void reinit (const unsigned int m,
- const unsigned int n,
+ void reinit (const types::global_dof_index m,
+ const types::global_dof_index n,
const VectorSlice<const std::vector<unsigned int> > &row_lengths,
const unsigned int chunk_size,
const bool optimize_diagonal = true);
* pairs.
*/
template <typename ForwardIterator>
- void copy_from (const unsigned int n_rows,
- const unsigned int n_cols,
+ void copy_from (const types::global_dof_index n_rows,
+ const types::global_dof_index n_cols,
const ForwardIterator begin,
const ForwardIterator end,
const unsigned int chunk_size,
* If the entry already exists, nothing
* bad happens.
*/
- void add (const unsigned int i,
- const unsigned int j);
+ void add (const types::global_dof_index i,
+ const types::global_dof_index j);
/**
* Make the sparsity pattern
* matrix, which equals the dimension
* of the image space.
*/
- inline unsigned int n_rows () const;
+ inline types::global_dof_index n_rows () const;
/**
* Return number of columns of this
* matrix, which equals the dimension
* of the range space.
*/
- inline unsigned int n_cols () const;
+ inline types::global_dof_index n_cols () const;
/**
* Check if a value at a certain
* position may be non-zero.
*/
- bool exists (const unsigned int i,
- const unsigned int j) const;
+ bool exists (const types::global_dof_index i,
+ const types::global_dof_index j) const;
/**
* Number of entries in a specific row.
*/
- unsigned int row_length (const unsigned int row) const;
+ unsigned int row_length (const types::global_dof_index row) const;
/**
* Compute the bandwidth of the matrix
* Number of rows that this sparsity
* structure shall represent.
*/
- unsigned int rows;
+ types::global_dof_index rows;
/**
* Number of columns that this sparsity
* structure shall represent.
*/
- unsigned int cols;
+ types::global_dof_index cols;
/**
* The size of chunks.
inline
-unsigned int
+types::global_dof_index
ChunkSparsityPattern::n_rows () const
{
return rows;
inline
-unsigned int
+types::global_dof_index
ChunkSparsityPattern::n_cols () const
{
return cols;
template <typename ForwardIterator>
void
-ChunkSparsityPattern::copy_from (const unsigned int n_rows,
- const unsigned int n_cols,
+ChunkSparsityPattern::copy_from (const types::global_dof_index n_rows,
+ const types::global_dof_index n_cols,
const ForwardIterator begin,
const ForwardIterator end,
const unsigned int chunk_size,
-ChunkSparsityPattern::ChunkSparsityPattern (const unsigned int m,
- const unsigned int n,
+ChunkSparsityPattern::ChunkSparsityPattern (const types::global_dof_index m,
+ const types::global_dof_index n,
const unsigned int max_per_row,
const unsigned int chunk_size,
const bool optimize_diag)
ChunkSparsityPattern::ChunkSparsityPattern (
- const unsigned int m,
- const unsigned int n,
+ const types::global_dof_index m,
+ const types::global_dof_index n,
const std::vector<unsigned int>& row_lengths,
const unsigned int chunk_size,
const bool optimize_diag)
-ChunkSparsityPattern::ChunkSparsityPattern (const unsigned int n,
- const unsigned int max_per_row,
- const unsigned int chunk_size)
+ChunkSparsityPattern::ChunkSparsityPattern (const types::global_dof_index n,
+ const unsigned int max_per_row,
+ const unsigned int chunk_size)
{
reinit (n, n, max_per_row, chunk_size, true);
}
ChunkSparsityPattern::ChunkSparsityPattern (
- const unsigned int m,
+ const types::global_dof_index m,
const std::vector<unsigned int>& row_lengths,
const unsigned int chunk_size,
const bool optimize_diag)
void
-ChunkSparsityPattern::reinit (const unsigned int m,
- const unsigned int n,
+ChunkSparsityPattern::reinit (const types::global_dof_index m,
+ const types::global_dof_index n,
const unsigned int max_per_row,
const unsigned int chunk_size,
const bool optimize_diag)
void
ChunkSparsityPattern::reinit (
- const unsigned int m,
- const unsigned int n,
+ const types::global_dof_index m,
+ const types::global_dof_index n,
const VectorSlice<const std::vector<unsigned int> >&row_lengths,
const unsigned int chunk_size,
const bool optimize_diag)
void
ChunkSparsityPattern::reinit (
- const unsigned int m,
- const unsigned int n,
+ const types::global_dof_index m,
+ const types::global_dof_index n,
const std::vector<unsigned int>& row_lengths,
const unsigned int chunk_size,
const bool optimize_diag)
void
-ChunkSparsityPattern::add (const unsigned int i,
- const unsigned int j)
+ChunkSparsityPattern::add (const types::global_dof_index i,
+ const types::global_dof_index j)
{
Assert (i<rows, ExcInvalidIndex(i,rows));
Assert (j<cols, ExcInvalidIndex(j,cols));
bool
-ChunkSparsityPattern::exists (const unsigned int i,
- const unsigned int j) const
+ChunkSparsityPattern::exists (const types::global_dof_index i,
+ const types::global_dof_index j) const
{
Assert (i<rows, ExcIndexRange(i,0,rows));
Assert (j<cols, ExcIndexRange(j,0,cols));
unsigned int
-ChunkSparsityPattern::row_length (const unsigned int i) const
+ChunkSparsityPattern::row_length (const types::global_dof_index i) const
{
Assert (i<rows, ExcIndexRange(i,0,rows));