#include "FaceNeighborGeneratorAbstract.h"
#include "AltTecUtil.h"
#include "CodeContract.h"
namespace tecplot { namespace ___3933 { FaceNeighborGeneratorAbstract::FaceNeighborGeneratorAbstract(class ___37& ___36) : ___2337(___36) {} void FaceNeighborGeneratorAbstract::appendUserFaceNeighborsForCellFace( std::vector<int32_t>& userFaceNeighbors, ___1292 ___1274, ___3501 ___1153, ___4636 zone, int32_t ___449, int32_t face) const { REQUIRE(VALID_REF(___1274)); REQUIRE(VALID_REF(___1153)); REQUIRE(___449 > 0); REQUIRE(face > 0); FaceNeighborMode_e ___1284 = ___2337.___836(zone + 1); ___372 neighborsAreUserSpecified = false; int32_t neighborCount = ___2337.___838(___1274, ___449, face, &neighborsAreUserSpecified); if (neighborCount > 0 && neighborsAreUserSpecified) { userFaceNeighbors.push_back(___449 - 1); userFaceNeighbors.push_back(face - 1); if (___1284 == ___1289 || ___1284 == ___1286) { ___372 isObscured = ___2337.___835(___1274, ___449, face, ___1153); userFaceNeighbors.push_back(isObscured ? 1 : 0); userFaceNeighbors.push_back(neighborCount); } for(int32_t whichNeighbor = 1; whichNeighbor <= neighborCount; ++whichNeighbor) { ___2227 neighborCell; ___4636 ___2695; ___2337.___837(___1274, ___449, face, whichNeighbor, &neighborCell, &___2695); if (___1284 == ___1287 || ___1284 == ___1286) userFaceNeighbors.push_back(___2695 - 1); userFaceNeighbors.push_back(static_cast<int32_t>(neighborCell - 1)); } } } }}
