Skip to content
Snippets Groups Projects
Commit 705ee059 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Merge commit 'fba17845'

parents 592b2467 fba17845
No related branches found
No related tags found
No related merge requests found
......@@ -423,6 +423,19 @@ public:
colIndexArg.begin(), colIndexArg.end() );
rowStart_[rowNum + 1] = N_.size();
}
/// Here we expose the sparse matrix for MOOSE use.
const vector< T >& matrixEntry() const
{
return N_;
}
const vector< unsigned int >& colIndex() const
{
return colIndex_;
}
const vector< unsigned int >& rowStart() const
{
return rowStart_;
}
//////////////////////////////////////////////////////////////////
// Operations on entire matrix.
//////////////////////////////////////////////////////////////////
......
......@@ -79,6 +79,11 @@ class SparseMsg: public Msg
double getProbability() const;
void setProbability( double value );
//
vector< unsigned int > getMatrixEntry() const;
vector< unsigned int > getColIndex() const;
vector< unsigned int > getRowStart() const;
long getSeed() const;
void setSeed( long value );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment