class
#include <atlas/trans/ifs/VorDivToUVIFS.h>
VorDivToUVIFS
Base classes
- class VorDivToUVImpl
Constructors, destructors, conversion operators
-
VorDivToUVIFS(const FunctionSpace&,
const eckit::
Configuration& = util:: NoConfig()) -
VorDivToUVIFS(int truncation,
const eckit::
Configuration& = util:: NoConfig()) - ~VorDivToUVIFS() virtual
Public functions
- auto truncation() const -> int override
-
void execute(const int nb_coeff,
const int nb_fields,
const double vorticity[],
const double divergence[],
double U[],
double V[],
const eckit::
Configuration& = util:: NoConfig()) const override - Compute spectral wind (U/V) from spectral vorticity/divergence.
Function documentation
void atlas:: trans:: VorDivToUVIFS:: execute(const int nb_coeff,
const int nb_fields,
const double vorticity[],
const double divergence[],
double U[],
double V[],
const eckit:: Configuration& = util:: NoConfig()) const override
Compute spectral wind (U/V) from spectral vorticity/divergence.
Parameters | |
---|---|
nb_coeff | |
nb_fields | [in] Number of fields |
vorticity | [in] Spectral vorticity |
divergence | [in] Spectral divergence |
U | [out] Spectral wind U = u*cos(lat) |
V | [out] Spectral wind V = v*cos(lat) |
U = u*cos(lat) V = v*cos(lat)