Blender V2.61 - r43446
|
#include <algorithm>
#include <cmath>
Go to the source code of this file.
Classes | |
struct | sEigenvalue |
Functions | |
void | Eigentred2 (sEigenvalue &eval) |
void | Eigencdiv (sEigenvalue &eval, float xr, float xi, float yr, float yi) |
void | Eigentql2 (sEigenvalue &eval) |
void | Eigenorthes (sEigenvalue &eval) |
void | Eigenhqr2 (sEigenvalue &eval) |
int | computeEigenvalues3x3 (float dout[3], float a[3][3]) |
Definition in file EIGENVALUE_HELPER.h.
int computeEigenvalues3x3 | ( | float | dout[3], |
float | a[3][3] | ||
) |
Definition at line 812 of file EIGENVALUE_HELPER.cpp.
References sEigenvalue::d, sEigenvalue::e, Eigenhqr2(), Eigenorthes(), Eigentql2(), Eigentred2(), sEigenvalue::H, i, sEigenvalue::issymmetric, sEigenvalue::n, sEigenvalue::ort, sqrt(), and sEigenvalue::V.
Referenced by WTURBULENCE::computeEigenvalues(), and WTURBULENCE::stepTurbulenceFull().
void Eigencdiv | ( | sEigenvalue & | eval, |
float | xr, | ||
float | xi, | ||
float | yr, | ||
float | yi | ||
) |
Definition at line 125 of file EIGENVALUE_HELPER.cpp.
References sEigenvalue::cdivi, sEigenvalue::cdivr, simple_enum_gen::d, and fabs().
Referenced by Eigenhqr2().
void Eigenhqr2 | ( | sEigenvalue & | eval | ) |
Definition at line 356 of file EIGENVALUE_HELPER.cpp.
References sEigenvalue::cdivi, sEigenvalue::cdivr, sEigenvalue::d, sEigenvalue::e, Eigencdiv(), eps, fabs(), sEigenvalue::H, i, max, min, sEigenvalue::n, norm(), p, pow(), sqrt(), sEigenvalue::V, and simple_enum_gen::w.
Referenced by computeEigenvalues3x3().
void Eigenorthes | ( | sEigenvalue & | eval | ) |
Definition at line 263 of file EIGENVALUE_HELPER.cpp.
References fabs(), g, sEigenvalue::H, i, sEigenvalue::n, sEigenvalue::ort, sqrt(), and sEigenvalue::V.
Referenced by computeEigenvalues3x3().
void Eigentql2 | ( | sEigenvalue & | eval | ) |
Definition at line 140 of file EIGENVALUE_HELPER.cpp.
References sEigenvalue::d, sEigenvalue::e, eps, fabs(), g, hypot(), i, max, sEigenvalue::n, p, pow(), and sEigenvalue::V.
Referenced by computeEigenvalues3x3().
void Eigentred2 | ( | sEigenvalue & | eval | ) |
Definition at line 8 of file EIGENVALUE_HELPER.cpp.
References sEigenvalue::d, sEigenvalue::e, fabs(), g, i, sEigenvalue::n, sqrt(), and sEigenvalue::V.
Referenced by computeEigenvalues3x3().