1 label offset = Num_variables - nFaMeshVariables;
3 if (nVar < offset || nVar >= Num_variables)
8 IOobject fieldObjectPtr
10 faMeshFieldNames[faMeshVar2field[nVar-offset]],
16 if (!fieldObjectPtr.headerOk())
23 faMeshFieldNames[faMeshVar2field[nVar-offset]],
30 areaVectorField vectorField
37 const faceList& faces = faMeshPtr->faces();
39 label nFaces = faces.size();
41 if (which_type == Z_TRI03)
44 for (label facei=0; facei<nFaces; facei++)
46 label nPoints = faces[facei].size();
49 var_array[counter++] = vectorField[facei][component];
54 if (which_type == Z_QUA04)
57 for (label facei=0; facei<nFaces; facei++)
59 label nPoints = faces[facei].size();
62 var_array[counter++] = vectorField[facei][component];
67 if (which_type == Z_NSIDED)
70 for (label facei=0; facei<nFaces; facei++)
72 label nPoints = faces[facei].size();
73 if ((nPoints != 3) && (nPoints != 4))
75 var_array[counter++] = vectorField[facei][component];