Skip to content
  • Vaggelis Papoutsis's avatar
    803caa40
    ENH: when using (E)SI sensitivities and a symmetry(Plane) is included · 803caa40
    Vaggelis Papoutsis authored and Andrew Heather's avatar Andrew Heather committed
    in the sensitivity patches, symmetry::evaluate() needs access to the
    internalField which does exist, leading to wrong memory access.
    
    Fixed by specifying a calculated type fvPatchField for all patches when
    creating a boundaryField<Type>
    
    Using a symmetry(Plane) as a sensitivity patch is quite rare and
    borderline wrong, but this provides a fix nonetheless.
    803caa40
    ENH: when using (E)SI sensitivities and a symmetry(Plane) is included
    Vaggelis Papoutsis authored and Andrew Heather's avatar Andrew Heather committed
    in the sensitivity patches, symmetry::evaluate() needs access to the
    internalField which does exist, leading to wrong memory access.
    
    Fixed by specifying a calculated type fvPatchField for all patches when
    creating a boundaryField<Type>
    
    Using a symmetry(Plane) as a sensitivity patch is quite rare and
    borderline wrong, but this provides a fix nonetheless.
Loading