-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
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.
Reactions are currently unavailable