atlas::interpolation::nonlinear::NonLinear class

NonLinear class applies non-linear corrections to an interpolation matrix, given a field with missing values. The interpolatation are re-weighted to factor those values out of the resulting field.

Derived classes

struct Missing

Public types

using Config = eckit::Parametrisation
using Matrix = eckit::linalg::SparseMatrix
using Scalar = eckit::linalg::Scalar
using Size = eckit::linalg::Size

Constructors, destructors, conversion operators

NonLinear() defaulted
ctor
~NonLinear() defaulted virtual
dtor

Public functions

auto applicable(const Field& f) const -> bool pure virtual
auto execute(Matrix& W, const Field& f) const -> bool pure virtual
Apply non-linear corrections to interpolation matrix.

Function documentation

bool atlas::interpolation::nonlinear::NonLinear::applicable(const Field& f) const pure virtual

Parameters
in field
Returns if NonLinear applies to field

@bried if NonLinear applies to field

bool atlas::interpolation::nonlinear::NonLinear::execute(Matrix& W, const Field& f) const pure virtual

Apply non-linear corrections to interpolation matrix.

Parameters
in/out interpolation matrix
in field with missing values information
Returns if W was modified