Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit fc3943e3 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

increase divergence warning to 1um

parent e70c4e26
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
Log.Warn("distance field is not set!");
} else {
var distance = (SI)writer[ModalResultField.dist];
if (!distance.IsEqual(_currentState.Distance, 1e-12.SI<Meter>())) {
if (!distance.IsEqual(_currentState.Distance, 1e-6.SI<Meter>())) {
Log.Warn("distance diverges: {0}, distance: {1}", (distance - _currentState.Distance).Value(), distance);
}
}
......
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