Commit 4eadb3a0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added clang-format switches.

parent 03a395ea
......@@ -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);
......
......@@ -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();
......
......@@ -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);
......
......@@ -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();
......
......@@ -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();
......
......@@ -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);
......
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment