SABER
qg4DVar.cc
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 #include "oops/qg/instantiateQgChangeVarFactory.h"
12 #include "oops/qg/instantiateQgLocalizationFactory.h"
13 #include "oops/qg/QgTraits.h"
14 #include "oops/runs/Run.h"
15 #include "oops/runs/Variational.h"
19 
20 int main(int argc, char ** argv) {
21  oops::Run run(argc, argv);
22  qg::instantiateQgChangeVarFactory();
23  qg::instantiateQgLocalizationFactory();
24  saber::instantiateCovarFactory<qg::QgTraits>();
25  saber::instantiateLocalizationFactory<qg::QgTraits>();
26  saber::instantiateVariableChangeFactory<qg::QgTraits>();
27  oops::Variational<qg::QgTraits, qg::QgObsTraits> var;
28  return run.execute(var);
29 }
instantiateLocalizationFactory.h
main
int main(int argc, char **argv)
Definition: qg4DVar.cc:20
instantiateVariableChangeFactory.h
instantiateCovarFactory.h