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

add getFixedDof

parent f2778544
No related branches found
No related tags found
No related merge requests found
......@@ -249,6 +249,18 @@ class dofManager : public dofManagerBase{
}
return false;
}
virtual inline void getFixedDof(Dof key, dataVec& val) const{
typename std::map<Dof, dataVec>::const_iterator it = fixed.find(key);
if (it != fixed.end()) {
val = it->second;
}
else{
Msg::Error("getFixedDof: Dof is not fixed");
return;
}
};
virtual inline void getDofValue(Dof key, dataVec &val) const
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment