Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Commits on Source (1)
  • Mark OLESEN's avatar
    BUG: gather/render fails for patch values (fixes #9) · 0f21605b
    Mark OLESEN authored
    - was incorrectly streaming the patches as fvPatchField<Type> instead
      of as Field<Type>. Streaming them as fvPatchField resulted in
      dictionary entries, which cannot be read by the receiver.
    
      The bug exists since Feb-2019 but only affects the combination
      of patch sampling in parallel with serial-only rendering
    0f21605b
......@@ -200,11 +200,13 @@ int Foam::functionObjects::runTimePostPro::geometryPatches::addPatchField
if (nearCellValue_)
{
// Send patch field internal values
toMaster << pf.patchInternalField()();
}
else
{
toMaster << pf;
// Send patch field values
toMaster << static_cast<const Field<Type>&>(pf);
}
}
}
......