atlas::functionspace::Spectral class

Base classes

class atlas::FunctionSpace

Constructors, destructors, conversion operators

Spectral()
Spectral(const FunctionSpace&)
Spectral(const eckit::Configuration&)
Spectral(const int truncation, const eckit::Configuration& = util::NoConfig())
operator bool() const

Public functions

auto valid() const -> bool
auto checksum(const FieldSet&) const -> std::string
auto checksum(const Field&) const -> std::string
void norm(const Field&, double& norm, int rank = 0) const
void norm(const Field&, double norm_per_level[], int rank = 0) const
void norm(const Field&, std::vector<double>& norm_per_level, int rank = 0) const
auto zonal_wavenumbers() const -> array::LocalView<const int, 1>
auto nb_spectral_coefficients() const -> idx_t
auto nb_spectral_coefficients_global() const -> idx_t
auto truncation() const -> int
auto levels() const -> idx_t
template<typename Functor>
void parallel_for(const Functor& f) const
template<typename Functor>
void parallel_for(const util::Config& config, const Functor& f) const
auto type() const -> std::string
auto footprint() const -> size_t
auto distribution() const -> std::string
auto createField(const eckit::Configuration&) const -> Field
auto createField(const Field&) const -> Field
auto createField(const Field&, const eckit::Configuration&) const -> Field
template<typename DATATYPE>
auto createField(const eckit::Configuration&) const -> Field
template<typename DATATYPE>
auto createField() const -> Field
void haloExchange(const FieldSet&, bool on_device = false) const
void haloExchange(const Field&, bool on_device = false) const
void adjointHaloExchange(const FieldSet&, bool on_device = false) const
void adjointHaloExchange(const Field&, bool on_device = false) const
void gather(const FieldSet&, FieldSet&) const
void gather(const Field&, Field&) const
auto gather() const -> const parallel::GatherScatter&
void scatter(const FieldSet&, FieldSet&) const
void scatter(const Field&, Field&) const
auto scatter() const -> const parallel::GatherScatter&
auto polygon(idx_t halo = 0) const -> const util::PartitionPolygon&
auto polygons() const -> const util::PartitionPolygons&
auto projection() const -> const Projection&
auto part() const -> idx_t
auto nb_parts() const -> idx_t
auto size() const -> idx_t
auto lonlat() const -> Field
auto ghost() const -> Field
auto global_index() const -> Field
auto remote_index() const -> Field
auto partition() const -> Field
auto mpi_comm() const -> std::string

Function documentation

std::string atlas::functionspace::Spectral::type() const

size_t atlas::functionspace::Spectral::footprint() const

std::string atlas::functionspace::Spectral::distribution() const

Field atlas::functionspace::Spectral::createField(const eckit::Configuration&) const

Field atlas::functionspace::Spectral::createField(const Field&) const

Field atlas::functionspace::Spectral::createField(const Field&, const eckit::Configuration&) const

template<typename DATATYPE>
Field atlas::functionspace::Spectral::createField(const eckit::Configuration&) const

template<typename DATATYPE>
Field atlas::functionspace::Spectral::createField() const

void atlas::functionspace::Spectral::haloExchange(const FieldSet&, bool on_device = false) const

void atlas::functionspace::Spectral::haloExchange(const Field&, bool on_device = false) const

void atlas::functionspace::Spectral::adjointHaloExchange(const FieldSet&, bool on_device = false) const

void atlas::functionspace::Spectral::adjointHaloExchange(const Field&, bool on_device = false) const

void atlas::functionspace::Spectral::gather(const FieldSet&, FieldSet&) const

void atlas::functionspace::Spectral::gather(const Field&, Field&) const

const parallel::GatherScatter& atlas::functionspace::Spectral::gather() const

void atlas::functionspace::Spectral::scatter(const FieldSet&, FieldSet&) const

void atlas::functionspace::Spectral::scatter(const Field&, Field&) const

const parallel::GatherScatter& atlas::functionspace::Spectral::scatter() const

const util::PartitionPolygon& atlas::functionspace::Spectral::polygon(idx_t halo = 0) const

const util::PartitionPolygons& atlas::functionspace::Spectral::polygons() const

const Projection& atlas::functionspace::Spectral::projection() const

idx_t atlas::functionspace::Spectral::part() const

idx_t atlas::functionspace::Spectral::nb_parts() const

idx_t atlas::functionspace::Spectral::size() const

Field atlas::functionspace::Spectral::lonlat() const

Field atlas::functionspace::Spectral::ghost() const

Field atlas::functionspace::Spectral::global_index() const

Field atlas::functionspace::Spectral::remote_index() const

Field atlas::functionspace::Spectral::partition() const

std::string atlas::functionspace::Spectral::mpi_comm() const