2 label secondMeshPartNum = nPatches+2;
6 secondMeshPartNum += 1;
9 label patchi = which_part - secondMeshPartNum - 1;
11 label offset = Num_variables - nSecondMeshVariables - nFaMeshVariables;
13 if (nVar < offset || nVar >= (Num_variables-nFaMeshVariables))
18 IOobject fieldObjectPtr
20 secondMeshFieldNames[secondMeshVar2field[nVar-offset]],
26 if (!fieldObjectPtr.headerOk())
33 secondMeshFieldNames[secondMeshVar2field[nVar-offset]],
46 const tensorField& tf = sf.boundaryField()[patchi];
47 const polyBoundaryMesh& bMesh = secondMeshPtr->boundaryMesh();
49 if (which_type == Z_TRI03)
52 for (label n=0; n<tf.size(); n++)
54 label nPoints = bMesh[patchi][n].size();
57 # include "tensorConversion.H"
62 if (which_type == Z_QUA04)
65 for (label n=0; n<tf.size(); n++)
67 label nPoints = bMesh[patchi][n].size();
70 # include "tensorConversion.H"
75 if (which_type == Z_NSIDED)
78 for (label n=0; n<tf.size(); n++)
80 label nPoints = bMesh[patchi][n].size();
81 if ((nPoints != 3) && (nPoints != 4))
83 # include "tensorConversion.H"