Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
4eadb3a0
Commit
4eadb3a0
authored
Jun 11, 2017
by
Uwe Schulzweida
Browse files
Added clang-format switches.
parent
03a395ea
Changes
47
Hide whitespace changes
Inline
Side-by-side
src/Pinfo.cc
View file @
4eadb3a0
...
...
@@ -42,8 +42,10 @@ void *Pinfo(void *argument)
cdoInitialize
(
argument
);
// clang-format off
int
PINFO
=
cdoOperatorAdd
(
"pinfo"
,
0
,
0
,
NULL
);
int
PINFOV
=
cdoOperatorAdd
(
"pinfov"
,
0
,
0
,
NULL
);
// clang-format on
UNUSED
(
PINFO
);
...
...
src/Pressure.cc
View file @
4eadb3a0
...
...
@@ -52,9 +52,11 @@ void *Pressure(void *argument)
cdoInitialize
(
argument
);
// clang-format off
int
PRESSURE_FL
=
cdoOperatorAdd
(
"pressure_fl"
,
0
,
0
,
NULL
);
int
PRESSURE_HL
=
cdoOperatorAdd
(
"pressure_hl"
,
0
,
0
,
NULL
);
int
DELTAP
=
cdoOperatorAdd
(
"deltap"
,
0
,
0
,
NULL
);
// clang-format on
int
operatorID
=
cdoOperatorID
();
...
...
src/Remap.cc
View file @
4eadb3a0
...
...
@@ -761,6 +761,7 @@ void *Remap(void *argument)
cdoInitialize
(
argument
);
// clang-format off
cdoOperatorAdd
(
"remapcon"
,
REMAPCON
,
0
,
NULL
);
cdoOperatorAdd
(
"remapcon2"
,
REMAPCON2
,
0
,
NULL
);
cdoOperatorAdd
(
"remapbil"
,
REMAPBIL
,
0
,
NULL
);
...
...
@@ -779,6 +780,7 @@ void *Remap(void *argument)
cdoOperatorAdd
(
"remap"
,
REMAPXXX
,
0
,
NULL
);
cdoOperatorAdd
(
"remapycon"
,
REMAPYCON
,
0
,
NULL
);
cdoOperatorAdd
(
"genycon"
,
GENYCON
,
1
,
NULL
);
// clang-format on
int
operatorID
=
cdoOperatorID
();
int
operfunc
=
cdoOperatorF1
(
operatorID
);
...
...
src/Remapeta.cc
View file @
4eadb3a0
...
...
@@ -250,9 +250,11 @@ void *Remapeta(void *argument)
cdoInitialize
(
argument
);
// clang-format off
int
REMAPETA
=
cdoOperatorAdd
(
"remapeta"
,
0
,
0
,
"VCT file name"
);
int
REMAPETAS
=
cdoOperatorAdd
(
"remapeta_s"
,
0
,
0
,
"VCT file name"
);
int
REMAPETAZ
=
cdoOperatorAdd
(
"remapeta_z"
,
0
,
0
,
"VCT file name"
);
// clang-format on
int
operatorID
=
cdoOperatorID
();
...
...
src/Replacevalues.cc
View file @
4eadb3a0
...
...
@@ -43,9 +43,11 @@ void *Replacevalues(void *argument)
cdoInitialize
(
argument
);
int
SETVALS
=
cdoOperatorAdd
(
"setvals"
,
0
,
0
,
"I1,O1,...,In,On"
);
// clang-format off
int
SETVALS
=
cdoOperatorAdd
(
"setvals"
,
0
,
0
,
"I1,O1,...,In,On"
);
int
SETRTOC
=
cdoOperatorAdd
(
"setrtoc"
,
0
,
0
,
"range (min, max), value"
);
int
SETRTOC2
=
cdoOperatorAdd
(
"setrtoc2"
,
0
,
0
,
"range (min, max), value1, value2"
);
// clang-format on
int
operatorID
=
cdoOperatorID
();
...
...
src/Runstat.cc
View file @
4eadb3a0
...
...
@@ -59,6 +59,7 @@ void *Runstat(void *argument)
if
(
envval
==
1
)
runstat_nomiss
=
1
;
}
// clang-format off
cdoOperatorAdd
(
"runrange"
,
func_range
,
0
,
NULL
);
cdoOperatorAdd
(
"runmin"
,
func_min
,
0
,
NULL
);
cdoOperatorAdd
(
"runmax"
,
func_max
,
0
,
NULL
);
...
...
@@ -69,6 +70,7 @@ void *Runstat(void *argument)
cdoOperatorAdd
(
"runvar1"
,
func_var1
,
0
,
NULL
);
cdoOperatorAdd
(
"runstd"
,
func_std
,
0
,
NULL
);
cdoOperatorAdd
(
"runstd1"
,
func_std1
,
0
,
NULL
);
// clang-format on
int
operatorID
=
cdoOperatorID
();
int
operfunc
=
cdoOperatorF1
(
operatorID
);
...
...
src/Vargen.cc
View file @
4eadb3a0
...
...
@@ -40,23 +40,23 @@
#if defined(ENABLE_DATA)
static
const
double
etopo_scale
=
3
;
static
const
double
etopo_offset
=
11000
;
static
const
unsigned
short
etopo
[]
=
{
static
const
double
etopo_scale
=
3
;
static
const
double
etopo_offset
=
11000
;
static
const
unsigned
short
etopo
[]
=
{
#include "etopo.h"
};
};
static
const
double
temp_scale
=
500
;
static
const
double
temp_offset
=
-
220
;
static
const
unsigned
short
temp
[]
=
{
static
const
double
temp_scale
=
500
;
static
const
double
temp_offset
=
-
220
;
static
const
unsigned
short
temp
[]
=
{
#include "temp.h"
};
};
static
const
double
mask_scale
=
1
;
static
const
double
mask_offset
=
0
;
static
const
unsigned
short
mask
[]
=
{
static
const
double
mask_scale
=
1
;
static
const
double
mask_offset
=
0
;
static
const
unsigned
short
mask
[]
=
{
#include "mask.h"
};
};
#endif
/* some Constants for creating temperatur and pressure for the standard atmosphere */
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment