Skip to content

Extra memory for adjointfield #41

Description

@simone-romiti

The values of the adjoint field are stored in the data attribute. In the constructor, this is resized to volume*4 https://github.com/urbach/su2/blob/7d4a9bfd9b7d6ef20e3f91e5bcbca2f42d038d11/include/adjointfield.hh#L107

but it should be volume*ndims. This didn't cause issues on previous runs because all loops have limits deduced by other methods of the class, so the extra entries of the array are simply unused when ndims < 4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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