Skip to content
Snippets Groups Projects
Commit dd7bd2a5 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix MElement::scaledJacRange (Amaury can you check ? I assume it was

commited by error but I'm not sure).:
parent 8fb49044
No related branches found
No related tags found
No related merge requests found
...@@ -123,8 +123,8 @@ void MElement::scaledJacRange(double &jmin, double &jmax) ...@@ -123,8 +123,8 @@ void MElement::scaledJacRange(double &jmin, double &jmax)
fullVector<double> SJi(numJacNodes), Bi(numJacNodes); fullVector<double> SJi(numJacNodes), Bi(numJacNodes);
jac->getScaledJacobian(nodesXYZ,SJi); jac->getScaledJacobian(nodesXYZ,SJi);
jac->lag2Bez(SJi,Bi); jac->lag2Bez(SJi,Bi);
jmin = 0;//*std::min_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size()); jmin = *std::min_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size());
jmax = 0;//*std::max_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size()); jmax = *std::max_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size());
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment