Skip to content
Snippets Groups Projects
Commit c1d671e9 authored by Van Dung Nguyen's avatar Van Dung Nguyen
Browse files

add one function

parent 561b8440
No related branches found
No related tags found
No related merge requests found
......@@ -358,6 +358,14 @@ class dofManager : public dofManagerBase{
}
}
virtual inline void sparsityDof(const std::vector<Dof> &keys){
for (int itR=0; itR< keys.size(); itR++){
for (int itC=0; itC<keys.size(); itC++){
insertInSparsityPattern(keys[itR],keys[itC]);
}
}
}
virtual inline void assemble(const Dof &R, const Dof &C, const dataMat &value)
{
if (_isParallel && !_parallelFinalized) _parallelFinalize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment