![]() |
Stellarator-Tools
|
Utility to check the difference between two netcdf files. More...
#include <cmath>#include <iostream>#include <vector>#include <netcdf.h>#include <algorithm>#include "netcdf_test_commandline_parser.hpp"Functions | |
| std::vector< double > | netcdf_quantity (const std::string netcdf_file, const std::string name) |
| Load a quantity from a netcdf file. | |
| int | main (int argc, const char *argv[]) |
| Main test program. | |
Utility to check the difference between two netcdf files.
| int main | ( | int | argc, |
| const char * | argv[] ) |
Main test program.
| [in] | argc | Number of commandline arguments. |
| [in] | argv | Array of arguments strings. |
| std::vector< double > netcdf_quantity | ( | const std::string | netcdf_file, |
| const std::string | name ) |
Load a quantity from a netcdf file.
Quantites are loaded into a flat vector for rapid comparison.
| [in] | netcdf_file | Netcdf file name. |
| [in] | name | Name of the netcdf file quantity. |