src/solvers/hydro/hydro.cc
/**
 ********************************************************************************************************************************************
 * \brief   Function to impose the boundary conditions for the Y-component of velocity
 *
 *          The function first calls the \ref sfield#syncData "syncData" function of the Vy field to update the sub-domain pads.
 *          Then the boundary conditions are applied at the full domain boundaries by calling the imposeBC()
 *          of each boundary class object assigned to each wall.
 *          The order of imposing boundary conditions is - left, right, front, back, bottom and top boundaries.
 *          The corner values are not being imposed specifically and is thus dependent on the above order.
 *
 ********************************************************************************************************************************************
 */
\brief   Function to impose the boundary conditions for the Y-component of velocity
The function first calls the \ref sfield#syncData "syncData" function of the Vy field to update the sub-domain pads.
Then the boundary conditions are applied at the full domain boundaries by calling the imposeBC()
of each boundary class object assigned to each wall.
The order of imposing boundary conditions is - left, right, front, back, bottom and top boundaries.
The corner values are not being imposed specifically and is thus dependent on the above order.
\ brief Function to impose the boundary conditions for the Y - component of velocity The function first calls the \ ref sfield#syncData " syncData " function of the Vy field to update the sub - domain pads . Then the boundary conditions are applied at the full domain boundaries by calling the imposeBC () of each boundary class object assigned to each wall . The order of imposing boundary conditions is - left right front back bottom and top boundaries . The corner values are not being imposed specifically and is thus dependent on the above order .
void hydro::imposeVBCs() {
    V.Vy.syncData();
    if (not inputParams.xPer) {
        vLft->imposeBC();
        vRgt->imposeBC();
    }
#ifndef PLANAR
    if (not inputParams.yPer) {
        vFrn->imposeBC();
        vBak->imposeBC();
    }
#endif
    vTop->imposeBC();
    vBot->imposeBC();
}
void hydro :: imposeVBCs ( ) { V . Vy . syncData ( ) ; if ( not inputParams . xPer ) { vLft -> imposeBC ( ) ; vRgt -> imposeBC ( ) ; } #ifndef PLANAR if ( not inputParams . yPer ) { vFrn -> imposeBC ( ) ; vBak -> imposeBC ( ) ; } #endif vTop -> imposeBC ( ) ; vBot -> imposeBC ( ) ; }
\brief   Function to impose the boundary conditions for the Y-component of velocity
          The function first calls the \ref sfield#syncData "syncData" function of the Vy field to update the sub-domain pads.
\ brief Function to impose the boundary conditions for the Y - component of velocity The function first calls the \ ref sfield#syncData " syncData " function of the Vy field to update the sub - domain pads .