Commit e3af1bdd authored by Valentin Vallaeys's avatar Valentin Vallaeys Committed by Philippe Delandmeter
Browse files

fix slimInputRead in NODE_MODE on faces

parent 104569d1
......@@ -1030,7 +1030,7 @@ void slimInputRead::operator()(functorCache &cm, fullMatrix<double> &val) const
}
else{
const MElement *el = cm.element(i);
const auto &cl = cm.interfaceGroup()->closure(i,0);
const auto &cl = cm.interfaceGroup()->closure(cm.interfaceId(i),0);
for (size_t j = 0; j < cl.size(); ++j){
int node = cm.groupCollection().mesh().gmshVertexId(el->vertices()[cl[j]]);
int index = _mapArray[node];
......
Markdown is supported
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