Skip to content
Snippets Groups Projects
Commit 874b598b authored by andy's avatar andy
Browse files

STYLE: Code formatting and consistency

parent a539298f
Branches
Tags
No related merge requests found
{
if (mesh.changing())
{
forAll(U.boundaryField(), patchi)
forAll(U.boundaryField(), patchI)
{
if (U.boundaryField()[patchi].fixesValue())
if (U.boundaryField()[patchI].fixesValue())
{
U.boundaryField()[patchi].initEvaluate();
U.boundaryField()[patchI].initEvaluate();
}
}
forAll(U.boundaryField(), patchi)
forAll(U.boundaryField(), patchI)
{
if (U.boundaryField()[patchi].fixesValue())
if (U.boundaryField()[patchI].fixesValue())
{
U.boundaryField()[patchi].evaluate();
U.boundaryField()[patchI].evaluate();
phi.boundaryField()[patchi] =
U.boundaryField()[patchi] & mesh.Sf().boundaryField()[patchi];
phi.boundaryField()[patchI] =
U.boundaryField()[patchI]
& mesh.Sf().boundaryField()[patchI];
}
}
}
......@@ -27,11 +28,11 @@
zeroGradientFvPatchScalarField::typeName
);
forAll(p.boundaryField(), i)
forAll(p.boundaryField(), patchI)
{
if (p.boundaryField()[i].fixesValue())
if (p.boundaryField()[patchI].fixesValue())
{
pcorrTypes[i] = fixedValueFvPatchScalarField::typeName;
pcorrTypes[patchI] = fixedValueFvPatchScalarField::typeName;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment