46 #define _IFT_DynCompCol_Name "dcsc" 50 #define DynCompCol_CHUNK 8 55 #ifdef DynCompCol_USE_STL_SETS 66 #ifndef DynCompCol_USE_STL_SETS 70 std :: vector< std :: map< int, double > > columns;
95 virtual void times(
double x);
104 virtual double &at(
int i,
int j);
105 virtual double at(
int i,
int j)
const;
106 virtual void printStatistics()
const;
111 #ifndef DynCompCol_USE_STL_SETS 112 const IntArray *row_ind(
int i)
const {
return rowind_ [ i ]; }
117 std :: map< int, double > *column(
int i)
const {
return columns [ i ]; }
127 double operator() (
int i,
int j)
const;
129 double &operator() (
int i,
int j);
131 #ifndef DynCompCol_USE_STL_SETS 132 int giveRowIndx(
int col,
int row)
const;
135 int insertRowInColumn(
int col,
int row);
143 #endif // dyncompcol_h Dynamically growing compressed column.
Base class for all matrices stored in sparse format.
const FloatArray * column(int i) const
Returns column values.
Class implementing an array of integers.
virtual SparseMtrxType giveType() const
Sparse matrix type identification.
Implementation of sparse matrix stored in compressed column storage.
SparseMtrxType
Enumerative type used to identify the sparse matrix type.
virtual const char * giveClassName() const
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
virtual bool isAsymmetric() const
Returns true if asymmetric.
virtual bool canBeFactorized() const
Determines, whether receiver can be factorized.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
Abstract base class representing the "problem" under consideration.
the oofem namespace is to define a context or scope in which all oofem names are defined.