atlas::trans::VorDivToUVImpl class

Derived classes

class VorDivToUVIFS
class VorDivToUVLocal

Constructors, destructors, conversion operators

~VorDivToUVImpl() pure virtual

Public functions

auto truncation() const -> int pure virtual
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 pure virtual
Compute spectral wind (U/V) from spectral vorticity/divergence.

Function documentation

void atlas::trans::VorDivToUVImpl::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 pure virtual

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)