FV3 Bundle
FortranGeoVals.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2017 UCAR
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  */
7 
8 #ifndef UFO_FORTRANGEOVALS_H_
9 #define UFO_FORTRANGEOVALS_H_
10 
11 #include "Fortran.h"
12 
13 namespace ufo {
14 
15 /// Interface to Fortran UFO GeoVals routines
16 /*!
17  * The core of the UFO GeoVals is coded in Fortran.
18  * Here we define the interfaces to the Fortran code.
19  */
20 
21 extern "C" {
22 
23  void ufo_geovals_setup_f90(F90goms &, const F90locs &, const eckit::Configuration * const *);
26  void ufo_geovals_copy_f90(const F90goms &, F90goms &);
27  void ufo_geovals_zero_f90(const F90goms &);
28  void ufo_geovals_abs_f90(const F90goms &);
29  void ufo_geovals_rms_f90(const F90goms &, double &);
30  void ufo_geovals_setup_random_f90(const F90goms &, const eckit::Configuration * const *,
31  const eckit::Configuration * const *);
32  void ufo_geovals_setup_allocone_f90(const F90goms &, const eckit::Configuration * const *,
33  const eckit::Configuration * const *);
35  const eckit::Configuration * const *);
36  void ufo_geovals_random_f90(const F90goms &);
37  void ufo_geovals_scalmult_f90(const F90goms &, const double &);
38  void ufo_geovals_assign_f90(const F90goms &, const F90goms &);
39  void ufo_geovals_add_f90(const F90goms &, const F90goms &);
40  void ufo_geovals_diff_f90(const F90goms &, const F90goms &);
41  void ufo_geovals_normalize_f90(const F90goms &, const F90goms &);
42  void ufo_geovals_dotprod_f90(const F90goms &, const F90goms &, double &);
43  void ufo_geovals_minmaxavg_f90(const F90goms &, int &, double &, double &, double &);
44  void ufo_geovals_maxloc_f90(const F90goms &, double &, int &, int &);
45  void ufo_geovals_read_file_f90(const F90goms &, const eckit::Configuration * const *,
46  const eckit::Configuration * const *);
47  void ufo_geovals_write_file_f90(const F90goms &, const eckit::Configuration * const *);
48 
49 
50 } // extern C
51 
52 } // namespace ufo
53 #endif // UFO_FORTRANGEOVALS_H_
void ufo_geovals_setup_f90(F90goms &, const F90locs &, const eckit::Configuration *const *)
Interface to Fortran UFO GeoVals routines.
void ufo_geovals_abs_f90(const F90goms &)
void ufo_geovals_setup_random_f90(const F90goms &, const eckit::Configuration *const *, const eckit::Configuration *const *)
void ufo_geovals_normalize_f90(const F90goms &, const F90goms &)
void ufo_geovals_minmaxavg_f90(const F90goms &, int &, double &, double &, double &)
void ufo_geovals_analytic_init_f90(F90goms &, const F90locs &, const eckit::Configuration *const *)
void ufo_geovals_setup_allocone_f90(const F90goms &, const eckit::Configuration *const *, const eckit::Configuration *const *)
void ufo_geovals_create_f90(F90goms &)
void ufo_geovals_add_f90(const F90goms &, const F90goms &)
void ufo_geovals_random_f90(const F90goms &)
void ufo_geovals_delete_f90(F90goms &)
void ufo_geovals_zero_f90(const F90goms &)
void ufo_geovals_dotprod_f90(const F90goms &, const F90goms &, double &)
void ufo_geovals_scalmult_f90(const F90goms &, const double &)
void ufo_geovals_assign_f90(const F90goms &, const F90goms &)
void ufo_geovals_diff_f90(const F90goms &, const F90goms &)
void ufo_geovals_rms_f90(const F90goms &, double &)
void ufo_geovals_read_file_f90(const F90goms &, const eckit::Configuration *const *, const eckit::Configuration *const *)
void ufo_geovals_copy_f90(const F90goms &, F90goms &)
void ufo_geovals_write_file_f90(const F90goms &, const eckit::Configuration *const *)
void ufo_geovals_maxloc_f90(const F90goms &, double &, int &, int &)