In reynolds_stress_13 there is an operator precedence bug computing the N term.
Once validated against MATLAB implementation, correct to
n = get_coles_wake(1.0, pi_coles) + pi_coles * (wc_plus - wc_minus) / (2.0 * d_pi);
because without hte final set of brackets, this presently gives the wrong answer.
In reynolds_stress_13 there is an operator precedence bug computing the
N
term.Once validated against MATLAB implementation, correct to
n = get_coles_wake(1.0, pi_coles) + pi_coles * (wc_plus - wc_minus) / (2.0 * d_pi);
because without hte final set of brackets, this presently gives the wrong answer.