OOPS
WeightingFct.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2009-2016 ECMWF.
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
* In applying this licence, ECMWF does not waive the privileges and immunities
7
* granted to it by virtue of its status as an intergovernmental organisation nor
8
* does it submit to any jurisdiction.
9
*/
10
11
#ifndef OOPS_BASE_WEIGHTINGFCT_H_
12
#define OOPS_BASE_WEIGHTINGFCT_H_
13
14
#include <map>
15
16
#include "oops/util/DateTime.h"
17
18
namespace
util
{
19
class
Duration;
20
}
21
22
namespace
oops
{
23
24
// -----------------------------------------------------------------------------
25
26
/// Weighting Function
27
/*!
28
* Abstract base class for weighting functions for various filters.
29
*/
30
31
class
WeightingFct
{
32
public
:
33
virtual
~WeightingFct
() =
default
;
34
35
virtual
std::map< util::DateTime, double >
setWeights
(
const
util::DateTime &,
36
const
util::DateTime &,
37
const
util::Duration &) = 0;
38
};
39
40
// -----------------------------------------------------------------------------
41
42
}
// namespace oops
43
44
#endif // OOPS_BASE_WEIGHTINGFCT_H_
oops
The namespace for the main oops code.
Definition:
ErrorCovarianceL95.cc:22
oops::WeightingFct
Weighting Function.
Definition:
WeightingFct.h:31
oops::WeightingFct::setWeights
virtual std::map< util::DateTime, double > setWeights(const util::DateTime &, const util::DateTime &, const util::Duration &)=0
oops::WeightingFct::~WeightingFct
virtual ~WeightingFct()=default
util
Definition:
ObservationL95.h:32
fv3-bundle
oops
src
oops
base
WeightingFct.h
Generated on Sun Oct 25 2020 12:42:59 for OOPS by
1.8.18