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
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.