Skip to content

Snapshot truncation of offline objects #33

@pbrehmer

Description

@pbrehmer

To check for the stability of a RB surrogate, it is essential to be able to remove snapshots from an RBasis and other offline quantities such as HamiltonianCache and AffineDecompositions.

With AffineDecompositions we face the difficulty that currently only the $B^\dagger O_r B = V^\dagger \Upsilon^\dagger O_r \Upsilon V$ terms are computed. However, to truncate snapshot-wise, we need to access the $\Upsilon^\dagger O_r \Upsilon$ matrix elements.

To solve this issue, we could include a keyword argument, such that compress(ad::AffineDecomposition, basis::RBasis; return_matrix_elements=false). If return_matrix_elements=true, the function would return also an AffineDecomposition with untransformed matrix elements as terms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions