src/solvers/hydro/hydro.cc
/**
 ********************************************************************************************************************************************
 * \brief   Function to set the coefficients used for solving the implicit equations of U, V and W
 *
 *          The function assigns values to the variables \ref hx, \ref hy, etc.
 *          These coefficients are repeatedly used at many places in the Poisson solver for implicit calculation of velocities.
 ********************************************************************************************************************************************
 */
\brief   Function to set the coefficients used for solving the implicit equations of U, V and W
The function assigns values to the variables \ref hx, \ref hy, etc.
These coefficients are repeatedly used at many places in the Poisson solver for implicit calculation of velocities.
\ brief Function to set the coefficients used for solving the implicit equations of U V and W The function assigns values to the variables \ ref hx \ ref hy etc . These coefficients are repeatedly used at many places in the Poisson solver for implicit calculation of velocities .
void hydro::setCoefficients() {
    hx = mesh.dXi;
    hz = mesh.dZt;
    hz2hx2 = pow(mesh.dZt, 2.0)*pow(mesh.dXi, 2.0);
#ifdef PLANAR
    hx2 = pow(mesh.dXi, 2.0);
    hz2 = pow(mesh.dZt, 2.0);
#else
    hy = mesh.dEt;
    hx2hy2 = pow(mesh.dXi, 2.0)*pow(mesh.dEt, 2.0);
    hy2hz2 = pow(mesh.dEt, 2.0)*pow(mesh.dZt, 2.0);
    hx2hy2hz2 = pow(mesh.dXi, 2.0)*pow(mesh.dEt, 2.0)*pow(mesh.dZt, 2.0);
#endif
}
void hydro :: setCoefficients ( ) { hx = mesh . dXi ; hz = mesh . dZt ; hz2hx2 = pow ( mesh . dZt , 2.0 ) * pow ( mesh . dXi , 2.0 ) ; #ifdef PLANAR hx2 = pow ( mesh . dXi , 2.0 ) ; hz2 = pow ( mesh . dZt , 2.0 ) ; #else hy = mesh . dEt ; hx2hy2 = pow ( mesh . dXi , 2.0 ) * pow ( mesh . dEt , 2.0 ) ; hy2hz2 = pow ( mesh . dEt , 2.0 ) * pow ( mesh . dZt , 2.0 ) ; hx2hy2hz2 = pow ( mesh . dXi , 2.0 ) * pow ( mesh . dEt , 2.0 ) * pow ( mesh . dZt , 2.0 ) ; #endif }
\brief   Function to set the coefficients used for solving the implicit equations of U, V and W
          The function assigns values to the variables \ref hx, \ref hy, etc.
\ brief Function to set the coefficients used for solving the implicit equations of U V and W The function assigns values to the variables \ ref hx \ ref hy etc .