#include "moab/MOABConfig.h"
#include "moab/ProgOptions.hpp"
#include "netcdf.h"
#include <cmath>
#include <iomanip>
#include <Eigen/Sparse>
Go to the source code of this file.
Macros | |
#define | ERR_NC(e) |
#define | GET_DIM1(ncdim, name, val) |
#define | GET_VAR1(name, id, dims) |
#define | GET_1D_INT_VAR1(name, id, vals) |
#define | GET_1D_DBL_VAR1(name, id, vals) |
#define | GET_DIM2(ncdim, name, val) |
#define | GET_VAR2(name, id, dims) |
#define | GET_1D_INT_VAR2(name, id, vals) |
#define | GET_1D_DBL_VAR2(name, id, vals) |
#define | GET_2D_DBL_VAR1(name, id, vals) |
#define | GET_2D_DBL_VAR2(name, id, vals) |
Typedefs | |
typedef Eigen::Map< Eigen::VectorXd > | EigenV |
Functions | |
void | diff_vect (const char *var_name, int n) |
void | diff_2d_vect (const char *var_name, int n) |
int | main (int argc, char *argv[]) |
Variables | |
int | ncFile1 |
int | ncFile2 |
#define ERR_NC | ( | e | ) |
Definition at line 27 of file compareMaps.cpp.
#define GET_1D_DBL_VAR1 | ( | name, | |
id, | |||
vals | |||
) |
Definition at line 97 of file compareMaps.cpp.
#define GET_1D_DBL_VAR2 | ( | name, | |
id, | |||
vals | |||
) |
Definition at line 180 of file compareMaps.cpp.
#define GET_1D_INT_VAR1 | ( | name, | |
id, | |||
vals | |||
) |
Definition at line 76 of file compareMaps.cpp.
#define GET_1D_INT_VAR2 | ( | name, | |
id, | |||
vals | |||
) |
Definition at line 159 of file compareMaps.cpp.
#define GET_2D_DBL_VAR1 | ( | name, | |
id, | |||
vals | |||
) |
Definition at line 202 of file compareMaps.cpp.
#define GET_2D_DBL_VAR2 | ( | name, | |
id, | |||
vals | |||
) |
Definition at line 229 of file compareMaps.cpp.
#define GET_DIM1 | ( | ncdim, | |
name, | |||
val | |||
) |
Definition at line 38 of file compareMaps.cpp.
#define GET_DIM2 | ( | ncdim, | |
name, | |||
val | |||
) |
Definition at line 121 of file compareMaps.cpp.
#define GET_VAR1 | ( | name, | |
id, | |||
dims | |||
) |
Definition at line 56 of file compareMaps.cpp.
#define GET_VAR2 | ( | name, | |
id, | |||
dims | |||
) |
Definition at line 139 of file compareMaps.cpp.
typedef Eigen::Map< Eigen::VectorXd > EigenV |
Definition at line 256 of file compareMaps.cpp.
void diff_2d_vect | ( | const char * | var_name, |
int | n | ||
) |
Definition at line 279 of file compareMaps.cpp.
References GET_2D_DBL_VAR1, and GET_2D_DBL_VAR2.
Referenced by main().
void diff_vect | ( | const char * | var_name, |
int | n | ||
) |
Definition at line 258 of file compareMaps.cpp.
References GET_1D_DBL_VAR1, and GET_1D_DBL_VAR2.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 291 of file compareMaps.cpp.
References ProgOptions::addOpt(), diff_2d_vect(), diff_vect(), ERR_NC, fail(), GET_1D_DBL_VAR1, GET_1D_DBL_VAR2, GET_1D_INT_VAR1, GET_1D_INT_VAR2, GET_DIM1, GET_DIM2, ncFile1, ncFile2, and ProgOptions::parseCommandLine().
int ncFile1 |
Definition at line 36 of file compareMaps.cpp.
Referenced by main().
int ncFile2 |
Definition at line 119 of file compareMaps.cpp.
Referenced by main().