Skip to content

Fix for processing NodalTris and static condensation matrix

Issue/feature addressed

  • NodalTris: Nodal triangles not being written correctly by Helmholtz2D or read correctly by FieldConvert. #116 (closed)
  • Other issue: When generating StaticCond matrices, it first generates the FullMatrix. This is stored in the full matrix managers and never released. Consequently we use twice the amount of memory than needed when using StaticCond. #106 (closed)

Proposed solution

  • Call NodalToModal for writing out and ModalToNodal for reading in the fld file.
  • Call v_DropLocMatrix to release matrix once no longer needed.

Implementation

Made NodalToModal accessible from ExpList.cpp by overriding virtual v_NodalToModal in StdNodalTriExp.

Tests

Suggested reviewers

@ssherw @CFD-Xing

Notes

Checklist

  • Functions and classes, or changes to them, are documented.
  • [ ] User guide/documentation is updated.
  • Changelog is updated.
  • Suitable tests added for new functionality.
  • Contributed code is correctly formatted. (See the contributing guidelines).
  • [ ] License added to any new files.
  • No extraneous files have been added (e.g. compiler output or test data files).
Edited by Ted Stokes

Merge request reports

Loading