mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: consistent looping of patchSet entries
This commit is contained in:
@ -813,9 +813,11 @@ bool Foam::functionObjects::forces::read(const dictionary& dict)
|
||||
|
||||
directForceDensity_ = dict.lookupOrDefault("directForceDensity", false);
|
||||
|
||||
const polyBoundaryMesh& pbm = mesh_.boundaryMesh();
|
||||
|
||||
patchSet_ = pbm.patchSet(dict.get<wordRes>("patches"));
|
||||
patchSet_ =
|
||||
mesh_.boundaryMesh().patchSet
|
||||
(
|
||||
dict.get<wordRes>("patches")
|
||||
);
|
||||
|
||||
if (directForceDensity_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user