11 #ifndef OOPS_ASSIMILATION_ROTMAT_H_
12 #define OOPS_ASSIMILATION_ROTMAT_H_
22 void rotmat(
const double &
a,
const double & b,
23 double & c,
double & s) {
27 }
else if (
a == 0.0) {
30 }
else if (std::abs(b) > std::abs(
a)) {
32 s = 1.0/sqrt(1.0 + temp*temp);
36 c = 1.0/sqrt(1.0 + temp*temp);
The namespace for the main oops code.
void rotmat(const double &a, const double &b, double &c, double &s)