1 label patchi = which_part - 2;
5 nVar >= Num_variables - nSprayVariables
6 - nSecondMeshVariables - nFaMeshVariables
12 IOobject fieldObjectPtr
14 fieldNames[var2field[nVar]],
20 if (!fieldObjectPtr.headerOk())
27 fieldNames[var2field[nVar]],
40 const scalarField& sfb = sf.boundaryField()[patchi];
41 const polyBoundaryMesh& bMesh = meshPtr->boundaryMesh();
43 if (which_type == Z_TRI03)
46 for (label facei=0; facei<sfb.size(); facei++)
48 label nPoints = bMesh[patchi][facei].size();
51 var_array[counter++] = sfb[facei];
56 if (which_type == Z_QUA04)
59 for (label facei=0; facei<sfb.size(); facei++)
61 label nPoints = bMesh[patchi][facei].size();
64 var_array[counter++] = sfb[facei];
69 if (which_type == Z_NSIDED)
72 for (label facei=0; facei<sfb.size(); facei++)
74 label nPoints = bMesh[patchi][facei].size();
75 if ((nPoints != 3) && (nPoints != 4))
77 var_array[counter++] = sfb[facei];