valib
Vortex Analysis LIBrary
corotation.h
1
5
#ifndef VA_COROTATION_H
6
#define VA_COROTATION_H
7
8
#include "corotation_common.h"
9
10
/***************************************************************************/
89
VA_DEVICE_FUN
void
valib_corotation
(VA_DEVICE_ADDR VA_REAL *A,
90
VA_DEVICE_ADDR VA_REAL *omega_RAVG)
91
{
92
// initialize vector of average corotation
93
valib_vec_zero3
(omega_RAVG);
94
95
// compute average corotation using the Fibonacci integration
96
valib_integrator_fibonacci
(&
valib_integrand_resvort
, A, omega_RAVG);
97
}
98
99
#endif // VA_COROTATION_H
valib_vec_zero3
VA_DEVICE_FUN void valib_vec_zero3(VA_REAL *v)
Definition:
linalg3.h:184
valib_integrand_resvort
VA_DEVICE_FUN void valib_integrand_resvort(VA_REAL *n, VA_REAL *weight, VA_DEVICE_ADDR VA_REAL *A, VA_DEVICE_ADDR VA_REAL *avgcorot)
Definition:
corotation_common.h:94
valib_corotation
VA_DEVICE_FUN void valib_corotation(VA_DEVICE_ADDR VA_REAL *A, VA_DEVICE_ADDR VA_REAL *omega_RAVG)
Average corotation (a.k.a. ) .
Definition:
corotation.h:89
valib_integrator_fibonacci
VA_DEVICE_FUN void valib_integrator_fibonacci(VA_DEVICE_ADDR void integrand(VA_REAL *n, VA_REAL *weight, VA_DEVICE_ADDR VA_REAL *A, VA_DEVICE_ADDR VA_REAL *result), VA_DEVICE_ADDR VA_REAL *A, VA_DEVICE_ADDR VA_REAL *result)
Definition:
spherical_integrators.h:20
include
corotation.h
Generated by
1.8.17