![]() |
Stellarator-Tools
|
Utility to check the difference between two wout files. More...
#include <iostream>#include <vector>#include <netcdf.h>#include <algorithm>#include "vmec_test_commandline_parser.hpp"Functions | |
| std::vector< double > | wout_quantity (const std::string wout_file, const std::string name) |
| Load a quantity from a wout file. | |
| int | main (int argc, const char *argv[]) |
| Main test program. | |
Utility to check the difference between two wout 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 > wout_quantity | ( | const std::string | wout_file, |
| const std::string | name | ||
| ) |
Load a quantity from a wout file.
Quantites are loaded into a flat vector for rapid comparison.
| [in] | wout_file | Wout file name. |
| [in] | name | Name of the wout file quantity. |