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

add fixed Dof

parent 7f3005d8
Branches
Tags
No related merge requests found
...@@ -620,6 +620,14 @@ class dofManager : public dofManagerBase{ ...@@ -620,6 +620,14 @@ class dofManager : public dofManagerBase{
typename std::map<Dof, dataVec>::iterator it; typename std::map<Dof, dataVec>::iterator it;
for(it = fixed.begin(); it != fixed.end(); ++it){ for(it = fixed.begin(); it != fixed.end(); ++it){
R.push_back(it->first); R.push_back(it->first);
}
}
virtual void getFixedDof(std::set<Dof>& R)
{
R.clear();
typename std::map<Dof, dataVec>::iterator it;
for(it = fixed.begin(); it != fixed.end(); ++it){
R.insert(it->first);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment