Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codedFvPatchFields: codeOptions missing in codeKeys_ #2

Open
lavdwall opened this issue Sep 13, 2020 · 0 comments
Open

codedFvPatchFields: codeOptions missing in codeKeys_ #2

lavdwall opened this issue Sep 13, 2020 · 0 comments

Comments

@lavdwall
Copy link

Since the official bug reporting website seems to be currently unavailable, I report the issue here.

Both in codedFixedValueFvPatchFields.C and codedMixedFvPatchFields.C, the "codeOptions" key is missing from codeKeys_. Because of that codeOptions is not written at write time, which causes problems when restarting a case or trying to run in parallel after regular decomposition.

I believe it should be as follows:

template<>
const Foam::wordList
Foam::CodedBase<Foam::codedMixedFvPatchFieldBase>::codeKeys_ =
{
    "code",
    "codeInclude",
    "codeOptions",
    "localCode"
};

This issue also applies to the development version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant