sandialabs / Albany

Sandia National Laboratories' Albany multiphysics code
Other
282 stars 89 forks source link

Fix handling of side disc when saving sol in STKDiscretization #1058

Closed bartgol closed 4 months ago

bartgol commented 5 months ago

The side discretizations were only processed in writeSolutionToFile, and not in writeSolutionToMeshDatabase (which is were the stk in-memory mesh data is updated). As a result, exo files for side discretizations had zero solution.

This PR fixes that, moving the handling of side discretizations into the main method (writeSolution), which calls the two methods mentioned above. Also, I got rid of some 2-liner methods in STKDiscretization, inlining them at the call site.