Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4c1d52e5 authored by depouill's avatar depouill
Browse files

regression in STL computeLevelSet

parent 4420fc01
No related branches found
Tags 1.3.0
No related merge requests found
......@@ -17,8 +17,10 @@ double STLGeometry::getLevelSet(const std::array<double, 3> &point) {
return _phi[_grid->locatePoint(point)];
}
void STLGeometry::computeLevelSet(Grid * grid) {
_lvst.update(grid->getMapper());
void STLGeometry::computeLevelSet(Grid *grid) {
_grid = grid;
_grid->update(true);
_lvst.update(_grid->getMapper());
updatePhi();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment