const tensorField& MixingPlaneInterpolation<MasterPatch, SlavePatch>::slaveProfileToPatchT() const { if (!slaveProfileToPatchTPtr_) { calcTransforms(); } return *slaveProfileToPatchTPtr_; }
void Foam::ggiPolyPatch::calcGeometry() { polyPatch::calcGeometry(); // Note: Calculation of transforms must be forced before the // reconFaceCellCentres in order to correctly set the transformation // in the interpolation routines. // HJ, 3/Jul/2009 calcTransforms(); // Reconstruct the cell face centres if (patchToPatchPtr_ && master()) { reconFaceCellCentres(); } }
//-------------------------------------------------------------- void testApp::update(){ FOREACH_CAMERA camera[iCam].update(); if (NUM_CAMERAS==2) if (camera[0].bangAdded && camera[1].bangAdded) { camera[0].bangAdded = false; camera[1].bangAdded = false; calcTransforms(); } if (timerOn) if (ofGetElapsedTimef() > (lastCaptureTime+TIMER_PERIOD) && !camera[0].doAdd && !camera[1].doAdd) { capture(); lastCaptureTime = ofGetElapsedTimef(); } }
void Foam::cyclicFaPatch::movePoints(const pointField& p) { faPatch::movePoints(p); calcTransforms(); }
void Foam::cyclicFaPatch::calcGeometry() { faPatch::calcGeometry(); calcTransforms(); }