-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel error post processing #119
Comments
Before entering the error computation, NEvalErrors() should be polled for all materials involved. If a material returns a different number of errors, DebugStop() should be called |
That seems good. neopz/Mesh/pzinterpolationspace.cpp Lines 1098 to 1122 in 6cabfbb
Which can then be used as a guideline for the following checks: Checks to be performed at
|
any updates @karolinneoc ? |
The error vector is resized several times during the computation of the error. The SBFem unit test has revealed that, if a thread does not compute errors for any element, its corresponding error vector will not be resize thus leading to an error (threads with error vectors of different sizes).
Any suggestions on how to set the size of the error vec? Since it depends on the material, perhaps we could check if all the materials in the mesh have the same value for
int TPZMatError::NEvalErrors()
and get this value before we actually start the error processing.The text was updated successfully, but these errors were encountered: