Mordicus.Modules.EDF.DataCompressors.IncrementalSnapshotPOD module

Mordicus.Modules.EDF.DataCompressors.IncrementalSnapshotPOD.CompressData(collectionProblemData, quantity, tolerance, snapshots, gram_schmidt='classical')[source]

Incremental POD. Note that the existing basis has to be orthonormal.

Parameters
  • collectionProblemData (CollectionProblemData) – input collectionProblemData containing the data

  • quantity (str) – key of the physical quantity the snapshots are refferring to

  • tol (float) – tolerance for the incremental SVD

  • snapshots (solution) – snapshots to add to those of collectionProblemData to do the incremental POD

Returns

of size (numberOfModes, numberOfDOFs)

Return type

np.ndarray