Commit 3d6d6df5 authored by Mark Olesen's avatar Mark Olesen
Browse files

BUG: incorrect dimensions for surfaceTensionForce

- accidentally introduced by 27c62303

STYLE: trial use of brace-initialized dimensionSet

- instead of writing

      dimensionedScalar(dimensionSet(1, -2, -2, 0, 0, 0), Zero);

  we can use C++11 brace-initialization to bundle the parameters
  for the dimensionSet construction and simply write

      dimensionedScalar({1, -2, -2, 0, 0, 0}, Zero);

  Note the following is incorrect syntax (extra brackets):

      dimensionedScalar(({1, -2, -2, 0, 0, 0}), Zero);
parent 000f704e
......@@ -929,7 +929,7 @@ Foam::phaseSystem::surfaceTensionForce() const
mesh_
),
mesh_,
dimensionedScalar(dimForce, Zero)
dimensionedScalar({1, -2, -2, 0, 0, 0}, Zero)
);
auto& stf = tstf.ref();
......
Supports Markdown
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