Skip to content
Snippets Groups Projects
Commit 8e4c7fb2 authored by henry's avatar henry
Browse files

Corrected output of patch area.

parent c2b6d4b8
Branches
Tags
No related merge requests found
......@@ -75,7 +75,7 @@ int main(int argc, char *argv[])
}
// Give patch area
Info<< " Patch area = " << sum(mesh.Sf()) << endl;
Info<< " Patch area = " << sum(mesh.Sf().boundaryField()[patchi]) << endl;
if (fieldHeader.headerClassName() == "volScalarField")
{
......
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