functionObjects::yPlus: Call read() in constructor to set base-class controls
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2320
This commit is contained in:
parent
c4b8d5e443
commit
acc2a7707e
1 changed files with 2 additions and 1 deletions
|
|
@ -150,6 +150,7 @@ Foam::functionObjects::yPlus::yPlus
|
|||
|
||||
mesh.objectRegistry::store(yPlusPtr);
|
||||
|
||||
read(dict);
|
||||
resetName(typeName);
|
||||
}
|
||||
|
||||
|
|
@ -235,7 +236,7 @@ bool Foam::functionObjects::yPlus::write()
|
|||
|
||||
writeTime(file());
|
||||
file()
|
||||
<< token::TAB << patch.name()
|
||||
<< token::TAB << patch.name()
|
||||
<< token::TAB << minYplus
|
||||
<< token::TAB << maxYplus
|
||||
<< token::TAB << avgYplus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue