Skip to content
Snippets Groups Projects
Commit e5f147a2 authored by Kutalmış Berçin's avatar Kutalmış Berçin
Browse files

STYLE: report active/inactive state flag for fvOptions (fixes #3356)

parent ebbeef27
Branches
No related tags found
No related merge requests found
......@@ -72,7 +72,10 @@ Foam::fv::option::option
active_(dict_.getOrDefault("active", true)),
log(true)
{
Log << incrIndent << indent << "Source: " << name_ << endl << decrIndent;
Log << incrIndent
<< indent << "Source: " << name_ << endl
<< indent << "State: " << (active_ ? "active" : "inactive") << endl
<< decrIndent;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment