OOPS
variables_f.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2019 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 OOPS_BASE_VARIABLES_F_H_
9
#define OOPS_BASE_VARIABLES_F_H_
10
11
#include <string>
12
13
#include "
oops/base/Variables.h
"
14
15
// ------------------------------------------------------------------------------
16
// These functions provide tools for interfacing Fortran and C++ string objects
17
// ------------------------------------------------------------------------------
18
19
namespace
oops
{
20
21
extern
"C"
{
22
void
variables_push_back_f
(
oops::Variables
&,
const
char
*);
23
size_t
variables_size_f
(
const
oops::Variables
&);
24
void
variables_getvariablelength_f
(
const
oops::Variables
&,
const
size_t
&,
size_t
&);
25
void
variables_getvariable_f
(
const
oops::Variables
&,
const
size_t
&,
size_t
&,
26
const
size_t
&,
char
*);
27
bool
variables_has_f
(
const
oops::Variables
& vars,
const
char
*);
28
}
29
30
}
// namespace oops
31
32
#endif // OOPS_BASE_VARIABLES_F_H_
oops
The namespace for the main oops code.
Definition:
ErrorCovarianceL95.cc:22
oops::variables_push_back_f
void variables_push_back_f(oops::Variables &vars, const char *vname)
Definition:
variables_f.cc:20
oops::variables_getvariable_f
void variables_getvariable_f(const oops::Variables &vars, const size_t &jj, size_t &lcvarname, const size_t &lfvarname, char *cvarname)
Definition:
variables_f.cc:37
oops::variables_size_f
size_t variables_size_f(const oops::Variables &vars)
Definition:
variables_f.cc:25
oops::variables_getvariablelength_f
void variables_getvariablelength_f(const oops::Variables &vars, const size_t &jj, size_t &lcvarname)
Definition:
variables_f.cc:30
oops::variables_has_f
bool variables_has_f(const oops::Variables &vars, const char *vname)
Definition:
variables_f.cc:55
oops::Variables
Definition:
oops/base/Variables.h:23
Variables.h
fv3-bundle
oops
src
oops
base
variables_f.h
Generated on Sun Oct 25 2020 12:42:59 for OOPS by
1.8.18