1 label patchi = which_part - 2;
3 if (nVar >= Num_variables - nSprayVariables)
8 IOobject fieldObjectPtr
10 fieldNames[var2field[nVar]],
16 if (!fieldObjectPtr.headerOk())
23 fieldNames[var2field[nVar]],
36 const scalarField& sfb = sf.boundaryField()[patchi];
37 const polyBoundaryMesh& bMesh = meshPtr->boundaryMesh();
39 if (which_type == Z_TRI03)
44 label nPoints = bMesh[patchi][facei].size();
47 var_array[counter++] = sfb[facei];
52 if (which_type == Z_QUA04)
57 label nPoints = bMesh[patchi][facei].size();
60 var_array[counter++] = sfb[facei];
65 if (which_type == Z_NSIDED)
70 label nPoints = bMesh[patchi][facei].size();
71 if (nPoints != 3 && nPoints != 4)
73 var_array[counter++] = sfb[facei];