atlas::field::FieldCreator class

Base class for creating new fields based on Parametrisation.

Example to create field[100][3] of default type double:

FieldImpl* field = Field::create(
     Config
       ("creator","ArraySpec")             // ArraySpec FieldCreator
       ("shape",array::make_shape(100,3))  // Rank 2 field with indexing [100][3]
     );

Derived classes

class FieldCreatorArraySpec
Field creator using array::ArrayShape parametrisation.
class FieldCreatorIFS
Field creator using IFS parametrisation.

Constructors, destructors, conversion operators

FieldCreator()
~FieldCreator() virtual

Public functions

auto createField(const eckit::Parametrisation&) const -> FieldImpl* pure virtual