ENH: Updated handling of master in fvOption
This commit is contained in:
parent
628f657978
commit
1caad9b115
@ -88,7 +88,6 @@ void Foam::fv::option::setSelection(const dictionary& dict)
|
||||
case smMapRegion:
|
||||
{
|
||||
dict.lookup("nbrRegionName") >> nbrRegionName_;
|
||||
master_ = readBool(dict.lookup("master"));
|
||||
break;
|
||||
}
|
||||
case smAll:
|
||||
@ -250,7 +249,8 @@ Foam::fv::option::option
|
||||
const word& name,
|
||||
const word& modelType,
|
||||
const dictionary& dict,
|
||||
const fvMesh& mesh
|
||||
const fvMesh& mesh,
|
||||
const bool master
|
||||
)
|
||||
:
|
||||
name_(name),
|
||||
@ -265,7 +265,7 @@ Foam::fv::option::option
|
||||
V_(0.0),
|
||||
meshInterpPtr_(),
|
||||
nbrRegionName_("none"),
|
||||
master_(false),
|
||||
master_(master),
|
||||
fieldNames_(),
|
||||
applied_()
|
||||
{
|
||||
|
@ -191,7 +191,8 @@ public:
|
||||
const word& name,
|
||||
const word& modelType,
|
||||
const dictionary& dict,
|
||||
const fvMesh& mesh
|
||||
const fvMesh& mesh,
|
||||
const bool master = false
|
||||
);
|
||||
|
||||
//- Return clone
|
||||
|
Loading…
Reference in New Issue
Block a user