sandialabs / Albany

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

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

Closed bartgol closed 3 months ago

bartgol commented 3 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.