All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
smoothSolution.H
Go to the documentation of this file.
1 if (args.found("smoothAlpha"))
2 {
3  const label nSmoothIters = args.getOrDefault<label>("nSmoothIters", 1);
4  const scalar smoothCoeff = args.getOrDefault<scalar>("smoothCoeff", 0.75);
5 
6  for (label nSmoothIter = 0; nSmoothIter < nSmoothIters; nSmoothIter++)
7  {
8  Info << "Smooth iteration: " << nSmoothIter << endl;
9  fvc::smooth(alpha1, smoothCoeff);
10  }
11 }
const scalar smoothCoeff
Definition: smoothSolution.H:4