if ( nVar >= Num_variables - nSprayVariables - nSecondMeshVariables - nFaMeshVariables ) { return Z_UNDEF; } IOobject fieldObjectPtr ( fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::NO_READ ); if (!fieldObjectPtr.headerOk()) { return Z_UNDEF; } IOobject fieldObject ( fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE ); volVectorField vectorField ( fieldObject, mesh ); const cellShapeList& cellShapes = meshPtr->cellShapes(); // hexa's if (which_type == Z_HEX08) { const cellModel& hex = *(cellModeller::lookup("hex")); //const cellModel& wedge = *(cellModeller::lookup("wedge")); label counter = 1; for (label n=0; ncells(); label counter = 1; for (label n=0; n