Skip to content

Use of GridClean in FInterp #76

@jbschroder

Description

@jbschroder

GridClean is called in FInterp at line 143 with
_braid_GridClean(core, grids[level]);
and this deletes the state vector at that level. This seems (possibly) counter to the storage options in the code that stipulate that we preserve storage on coarse levels (if the "int storage" is the right value).

Do we want to only call GridClean if storage == -1 or storage < level ? Or perhaps put this logic inside of GridClean?

This came up in TorchBraid, where we set storage==0 and then wanted access to the coarse ua vectors after braid_Drive was finished.

What do you think Rob @rfalgout ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions