};
+
SparsityPattern::SparsityPattern (const SparsityPattern &s) :
Subscriptor(),
max_dim(0),
};
+
SparsityPattern::SparsityPattern (const unsigned int m,
const unsigned int n,
const unsigned int max_per_row)
};
+
SparsityPattern::SparsityPattern (const unsigned int m,
const unsigned int n,
const vector<unsigned int> &row_lengths)
};
+
SparsityPattern::SparsityPattern (const unsigned int n,
const unsigned int max_per_row)
: max_dim(0),
};
+
SparsityPattern::SparsityPattern (const unsigned int m,
const vector<unsigned int> &row_lengths)
: max_dim(0),
};
+
SparsityPattern::SparsityPattern (const SparsityPattern &original,
const unsigned int max_per_row,
const unsigned int extra_off_diagonals)
};
+
SparsityPattern::~SparsityPattern ()
{
if (rowstart != 0) delete[] rowstart;
}
+
SparsityPattern &
SparsityPattern::operator = (const SparsityPattern &s)
{
};
+
void
SparsityPattern::reinit (const unsigned int m,
const unsigned int n,
};
+
void
SparsityPattern::reinit (const unsigned int m,
const unsigned int n,
}
+
void
SparsityPattern::compress ()
{
};
+
bool
-SparsityPattern::empty () const {
+SparsityPattern::empty () const
+{
// let's try to be on the safe side of
// life by using multiple possibilities in
// the check for emptiness... (sorry for
};
+
unsigned int
SparsityPattern::max_entries_per_row () const
{
};
+
unsigned int
SparsityPattern::operator () (const unsigned int i,
const unsigned int j) const
}
+
void
SparsityPattern::add (const unsigned int i,
const unsigned int j)
}
+
void
SparsityPattern::print_gnuplot (ostream &out) const
{
// is x-y, that is we have to
// exchange the order of
// output
- out << static_cast<signed int>(colnums[j]) << " " << -i << endl;
+ out << colnums[j] << " " << -static_cast<signed int>(i) << endl;
AssertThrow (out, ExcIO());
}
+
unsigned int
SparsityPattern::bandwidth () const
{