Bugfix: do not clean fluxRequired
This commit is contained in:
parent
23a3dcfada
commit
82af003df0
1 changed files with 5 additions and 3 deletions
|
@ -53,10 +53,12 @@ void Foam::fvSchemes::clear()
|
|||
defaultSnGradScheme_.clear();
|
||||
laplacianSchemes_.clear(); // optional
|
||||
defaultLaplacianScheme_.clear();
|
||||
fluxRequired_.clear();
|
||||
defaultFluxRequired_ = false;
|
||||
|
||||
// Set up special handling for fluxRequired: do not clear
|
||||
// HJ, 25/Jul/2016
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::fvSchemes::fvSchemes(const objectRegistry& obr)
|
||||
|
@ -200,7 +202,7 @@ bool Foam::fvSchemes::read()
|
|||
{
|
||||
const dictionary& dict = schemesDict();
|
||||
|
||||
// persistent settings across reads is incorrect
|
||||
// Persistent settings across reads is incorrect
|
||||
clear();
|
||||
|
||||
if (dict.found("ddtSchemes"))
|
||||
|
|
Reference in a new issue