OOPS
oops::PostBase< FLDS > Class Template Referenceabstract

Handles post-processing of model fields. More...

#include <PostBase.h>

Inheritance diagram for oops::PostBase< FLDS >:
Collaboration diagram for oops::PostBase< FLDS >:

Public Member Functions

 PostBase ()
 Constructors and basic operators. More...
 
 PostBase (const eckit::Configuration &conf)
 
 PostBase (const util::DateTime &start, const util::DateTime &finish, const util::Duration &freq=util::Duration(0))
 
virtual ~PostBase ()
 
void initialize (const FLDS &xx, const util::DateTime &end, const util::Duration &tstep)
 Setup. More...
 
void process (const FLDS &xx)
 Process state or increment. More...
 
void finalize (const FLDS &xx)
 Final. More...
 

Private Member Functions

virtual void doProcessing (const FLDS &)=0
 Actual processing. More...
 
virtual void doInitialize (const FLDS &, const util::DateTime &, const util::Duration &)
 
virtual void doFinalize (const FLDS &)
 

Private Attributes

PostTimer timer_
 

Detailed Description

template<typename FLDS>
class oops::PostBase< FLDS >

Handles post-processing of model fields.

PostBase is the base class for all state post processors, it is mostly used so that PostProcessor can hold a vector of such processors. By default processing is performed on every call.

Definition at line 33 of file PostBase.h.

Constructor & Destructor Documentation

◆ PostBase() [1/3]

template<typename FLDS >
oops::PostBase< FLDS >::PostBase ( )
inline

Constructors and basic operators.

Definition at line 36 of file PostBase.h.

◆ PostBase() [2/3]

template<typename FLDS >
oops::PostBase< FLDS >::PostBase ( const eckit::Configuration &  conf)
inlineexplicit

Definition at line 37 of file PostBase.h.

◆ PostBase() [3/3]

template<typename FLDS >
oops::PostBase< FLDS >::PostBase ( const util::DateTime &  start,
const util::DateTime &  finish,
const util::Duration &  freq = util::Duration(0) 
)
inline

Definition at line 38 of file PostBase.h.

◆ ~PostBase()

template<typename FLDS >
virtual oops::PostBase< FLDS >::~PostBase ( )
inlinevirtual

Definition at line 42 of file PostBase.h.

Member Function Documentation

◆ doFinalize()

template<typename FLDS >
virtual void oops::PostBase< FLDS >::doFinalize ( const FLDS &  )
inlineprivatevirtual

Reimplemented in oops::TrajectorySaver< MODEL >.

Definition at line 68 of file PostBase.h.

Here is the caller graph for this function:

◆ doInitialize()

template<typename FLDS >
virtual void oops::PostBase< FLDS >::doInitialize ( const FLDS &  ,
const util::DateTime &  ,
const util::Duration &   
)
inlineprivatevirtual

◆ doProcessing()

template<typename FLDS >
virtual void oops::PostBase< FLDS >::doProcessing ( const FLDS &  )
privatepure virtual

◆ finalize()

template<typename FLDS >
void oops::PostBase< FLDS >::finalize ( const FLDS &  xx)
inline

Final.

Definition at line 57 of file PostBase.h.

Here is the call graph for this function:

◆ initialize()

template<typename FLDS >
void oops::PostBase< FLDS >::initialize ( const FLDS &  xx,
const util::DateTime &  end,
const util::Duration &  tstep 
)
inline

Setup.

Definition at line 45 of file PostBase.h.

Here is the call graph for this function:

◆ process()

template<typename FLDS >
void oops::PostBase< FLDS >::process ( const FLDS &  xx)
inline

Process state or increment.

Definition at line 52 of file PostBase.h.

Here is the call graph for this function:

Member Data Documentation

◆ timer_

template<typename FLDS >
PostTimer oops::PostBase< FLDS >::timer_
private

Definition at line 62 of file PostBase.h.


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