50 const fvMesh&
mesh = vsf.mesh();
52 tmp<volVectorField> tGrad = basicGradScheme_().calcGrad(vsf,
name);
72 label own = owner[facei];
73 label nei = neighbour[facei];
75 scalar vsfOwn = vsf[own];
76 scalar vsfNei = vsf[nei];
78 maxVsf[own] =
max(maxVsf[own], vsfNei);
79 minVsf[own] =
min(minVsf[own], vsfNei);
81 maxVsf[nei] =
max(maxVsf[nei], vsfOwn);
82 minVsf[nei] =
min(minVsf[nei], vsfOwn);
86 const volScalarField::Boundary& bsf = vsf.boundaryField();
96 const scalarField psfNei(psf.patchNeighbourField());
100 label own = pOwner[pFacei];
101 scalar vsfNei = psfNei[pFacei];
103 maxVsf[own] =
max(maxVsf[own], vsfNei);
104 minVsf[own] =
min(minVsf[own], vsfNei);
111 label own = pOwner[pFacei];
112 scalar vsfNei = psf[pFacei];
114 maxVsf[own] =
max(maxVsf[own], vsfNei);
115 minVsf[own] =
min(minVsf[own], vsfNei);
125 const scalarField maxMinVsf((1.0/k_ - 1.0)*(maxVsf - minVsf));
136 label own = owner[facei];
137 label nei = neighbour[facei];
162 const vectorField& pCf = Cf.boundaryField()[patchi];
166 label own = pOwner[pFacei];
178 g.correctBoundaryConditions();
215 label own = owner[facei];
216 label nei = neighbour[facei];
218 const vector& vsfOwn = vsf[own];
219 const vector& vsfNei = vsf[nei];
221 maxVsf[own] =
max(maxVsf[own], vsfNei);
222 minVsf[own] =
min(minVsf[own], vsfNei);
224 maxVsf[nei] =
max(maxVsf[nei], vsfOwn);
225 minVsf[nei] =
min(minVsf[nei], vsfOwn);
242 label own = pOwner[pFacei];
243 const vector& vsfNei = psfNei[pFacei];
245 maxVsf[own] =
max(maxVsf[own], vsfNei);
246 minVsf[own] =
min(minVsf[own], vsfNei);
253 label own = pOwner[pFacei];
254 const vector& vsfNei = psf[pFacei];
256 maxVsf[own] =
max(maxVsf[own], vsfNei);
257 minVsf[own] =
min(minVsf[own], vsfNei);
267 const vectorField maxMinVsf((1.0/k_ - 1.0)*(maxVsf - minVsf));
278 label own = owner[facei];
279 label nei = neighbour[facei];
308 label own = pOwner[pFacei];
320 g.correctBoundaryConditions();