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

Squashed 'moose-core/' changes from 891f2f8bf7..d4417dcffd

d4417dcffd Fixes to missing function declaration, post cherry-pick.

git-subtree-dir: moose-core
git-subtree-split: d4417dcffdd939de91bebf447ad776945c2fcc65
parent 750df413
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