FV3 Bundle
qg::FieldsQG Class Reference

Class to represent a FieldSet for the QG model. More...

#include <FieldsQG.h>

Inheritance diagram for qg::FieldsQG:
[legend]
Collaboration diagram for qg::FieldsQG:
[legend]

Public Member Functions

 FieldsQG (const GeometryQG &, const oops::Variables &, const util::DateTime &)
 
 FieldsQG (const FieldsQG &, const GeometryQG &)
 
 FieldsQG (const FieldsQG &, const oops::Variables &)
 
 FieldsQG (const FieldsQG &, const bool)
 
 FieldsQG (const FieldsQG &)
 
 ~FieldsQG ()
 
void zero ()
 
void zero (const util::DateTime &)
 
FieldsQGoperator= (const FieldsQG &)
 
FieldsQGoperator+= (const FieldsQG &)
 
FieldsQGoperator-= (const FieldsQG &)
 
FieldsQGoperator*= (const double &)
 
void axpy (const double &, const FieldsQG &)
 
double dot_product_with (const FieldsQG &) const
 
void schur_product_with (const FieldsQG &)
 
void dirac (const eckit::Configuration &)
 
void random ()
 
void getValues (const LocationsQG &, const oops::Variables &, GomQG &) const
 
void getValuesTL (const LocationsQG &, const oops::Variables &, GomQG &) const
 
void getValuesAD (const LocationsQG &, const oops::Variables &, const GomQG &)
 
void changeResolution (const FieldsQG &)
 
void add (const FieldsQG &)
 
void diff (const FieldsQG &, const FieldsQG &)
 
void ug_coord (oops::UnstructuredGrid &, const int &) const
 
void field_to_ug (oops::UnstructuredGrid &, const int &) const
 
void field_from_ug (const oops::UnstructuredGrid &)
 
void read (const eckit::Configuration &)
 
void analytic_init (const eckit::Configuration &, const GeometryQG &)
 
void write (const eckit::Configuration &) const
 
double norm () const
 
boost::shared_ptr< const GeometryQGgeometry () const
 
const util::DateTime & time () const
 
util::DateTime & time ()
 
int & toFortran ()
 
const int & toFortran () const
 
bool isForModel (const bool &) const
 
oops::GridPoint getPoint (const GeometryQGIterator &) const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

F90flds keyFlds_
 
boost::shared_ptr< const GeometryQGgeom_
 
const VariablesQG vars_
 
util::DateTime time_
 

Detailed Description

Class to represent a FieldSet for the QG model.

Definition at line 46 of file FieldsQG.h.

Constructor & Destructor Documentation

◆ FieldsQG() [1/5]

qg::FieldsQG::FieldsQG ( const GeometryQG geom,
const oops::Variables vars,
const util::DateTime &  time 
)

Definition at line 32 of file FieldsQG.cc.

Here is the call graph for this function:

◆ FieldsQG() [2/5]

qg::FieldsQG::FieldsQG ( const FieldsQG other,
const GeometryQG geom 
)

Definition at line 57 of file FieldsQG.cc.

Here is the call graph for this function:

◆ FieldsQG() [3/5]

qg::FieldsQG::FieldsQG ( const FieldsQG other,
const oops::Variables vars 
)

Definition at line 64 of file FieldsQG.cc.

Here is the call graph for this function:

◆ FieldsQG() [4/5]

qg::FieldsQG::FieldsQG ( const FieldsQG other,
const bool  copy 
)

Definition at line 39 of file FieldsQG.cc.

Here is the call graph for this function:

◆ FieldsQG() [5/5]

qg::FieldsQG::FieldsQG ( const FieldsQG other)

Definition at line 50 of file FieldsQG.cc.

Here is the call graph for this function:

◆ ~FieldsQG()

qg::FieldsQG::~FieldsQG ( )

Definition at line 71 of file FieldsQG.cc.

Here is the call graph for this function:

Member Function Documentation

◆ add()

void qg::FieldsQG::add ( const FieldsQG rhs)

Definition at line 150 of file FieldsQG.cc.

Here is the call graph for this function:

◆ analytic_init()

void qg::FieldsQG::analytic_init ( const eckit::Configuration &  config,
const GeometryQG geom 
)

Definition at line 176 of file FieldsQG.cc.

Here is the call graph for this function:

◆ axpy()

void qg::FieldsQG::axpy ( const double &  zz,
const FieldsQG rhs 
)

Definition at line 105 of file FieldsQG.cc.

Here is the call graph for this function:

◆ changeResolution()

void qg::FieldsQG::changeResolution ( const FieldsQG other)

Definition at line 146 of file FieldsQG.cc.

Here is the call graph for this function:

◆ classname()

static const std::string qg::FieldsQG::classname ( )
inlinestatic

Definition at line 49 of file FieldsQG.h.

◆ diff()

void qg::FieldsQG::diff ( const FieldsQG x1,
const FieldsQG x2 
)

Definition at line 154 of file FieldsQG.cc.

Here is the call graph for this function:

◆ dirac()

void qg::FieldsQG::dirac ( const eckit::Configuration &  config)

Definition at line 123 of file FieldsQG.cc.

Here is the call graph for this function:

◆ dot_product_with()

double qg::FieldsQG::dot_product_with ( const FieldsQG fld2) const

Definition at line 109 of file FieldsQG.cc.

Here is the call graph for this function:

◆ field_from_ug()

void qg::FieldsQG::field_from_ug ( const oops::UnstructuredGrid ug)

Definition at line 166 of file FieldsQG.cc.

Here is the call graph for this function:

◆ field_to_ug()

void qg::FieldsQG::field_to_ug ( oops::UnstructuredGrid ug,
const int &  colocated 
) const

Definition at line 162 of file FieldsQG.cc.

Here is the call graph for this function:

◆ geometry()

boost::shared_ptr<const GeometryQG> qg::FieldsQG::geometry ( ) const
inline

Definition at line 91 of file FieldsQG.h.

◆ getPoint()

oops::GridPoint qg::FieldsQG::getPoint ( const GeometryQGIterator iter) const

Definition at line 225 of file FieldsQG.cc.

Here is the call graph for this function:

◆ getValues()

void qg::FieldsQG::getValues ( const LocationsQG locs,
const oops::Variables vars,
GomQG gom 
) const

Definition at line 128 of file FieldsQG.cc.

Here is the call graph for this function:

◆ getValuesAD()

void qg::FieldsQG::getValuesAD ( const LocationsQG locs,
const oops::Variables vars,
const GomQG gom 
)

Definition at line 140 of file FieldsQG.cc.

Here is the call graph for this function:

◆ getValuesTL()

void qg::FieldsQG::getValuesTL ( const LocationsQG locs,
const oops::Variables vars,
GomQG gom 
) const

Definition at line 134 of file FieldsQG.cc.

Here is the call graph for this function:

◆ isForModel()

bool qg::FieldsQG::isForModel ( const bool &  nonlinear) const

Definition at line 213 of file FieldsQG.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ norm()

double qg::FieldsQG::norm ( ) const

Definition at line 189 of file FieldsQG.cc.

Here is the call graph for this function:

◆ operator*=()

FieldsQG & qg::FieldsQG::operator*= ( const double &  zz)

Definition at line 91 of file FieldsQG.cc.

Here is the call graph for this function:

◆ operator+=()

FieldsQG & qg::FieldsQG::operator+= ( const FieldsQG rhs)

Definition at line 81 of file FieldsQG.cc.

Here is the call graph for this function:

◆ operator-=()

FieldsQG & qg::FieldsQG::operator-= ( const FieldsQG rhs)

Definition at line 86 of file FieldsQG.cc.

Here is the call graph for this function:

◆ operator=()

FieldsQG & qg::FieldsQG::operator= ( const FieldsQG rhs)

Definition at line 75 of file FieldsQG.cc.

Here is the call graph for this function:

◆ print()

void qg::FieldsQG::print ( std::ostream &  os) const
private

Definition at line 195 of file FieldsQG.cc.

Here is the call graph for this function:

◆ random()

void qg::FieldsQG::random ( )

Definition at line 119 of file FieldsQG.cc.

Here is the call graph for this function:

◆ read()

void qg::FieldsQG::read ( const eckit::Configuration &  config)

Definition at line 170 of file FieldsQG.cc.

Here is the call graph for this function:

◆ schur_product_with()

void qg::FieldsQG::schur_product_with ( const FieldsQG dx)

Definition at line 115 of file FieldsQG.cc.

Here is the call graph for this function:

◆ time() [1/2]

const util::DateTime& qg::FieldsQG::time ( ) const
inline

Definition at line 93 of file FieldsQG.h.

Here is the caller graph for this function:

◆ time() [2/2]

util::DateTime& qg::FieldsQG::time ( )
inline

Definition at line 94 of file FieldsQG.h.

◆ toFortran() [1/2]

int& qg::FieldsQG::toFortran ( )
inline

Definition at line 96 of file FieldsQG.h.

Here is the caller graph for this function:

◆ toFortran() [2/2]

const int& qg::FieldsQG::toFortran ( ) const
inline

Definition at line 97 of file FieldsQG.h.

◆ ug_coord()

void qg::FieldsQG::ug_coord ( oops::UnstructuredGrid ug,
const int &  colocated 
) const

Definition at line 158 of file FieldsQG.cc.

Here is the call graph for this function:

◆ write()

void qg::FieldsQG::write ( const eckit::Configuration &  config) const

Definition at line 183 of file FieldsQG.cc.

Here is the call graph for this function:

◆ zero() [1/2]

void qg::FieldsQG::zero ( )

Definition at line 96 of file FieldsQG.cc.

Here is the call graph for this function:

◆ zero() [2/2]

void qg::FieldsQG::zero ( const util::DateTime &  time)

Definition at line 100 of file FieldsQG.cc.

Here is the call graph for this function:

Member Data Documentation

◆ geom_

boost::shared_ptr<const GeometryQG> qg::FieldsQG::geom_
private

Definition at line 106 of file FieldsQG.h.

◆ keyFlds_

F90flds qg::FieldsQG::keyFlds_
private

Definition at line 105 of file FieldsQG.h.

◆ time_

util::DateTime qg::FieldsQG::time_
private

Definition at line 108 of file FieldsQG.h.

◆ vars_

const VariablesQG qg::FieldsQG::vars_
private

Definition at line 107 of file FieldsQG.h.


The documentation for this class was generated from the following files: