netxsimdg
|
#include <doctest/doctest.h>
#include "include/Configurator.hpp"
#include "include/ConfiguredModule.hpp"
#include "include/NZLevels.hpp"
#include "include/ParaGridIO.hpp"
#include "include/ParametricGrid.hpp"
#include "include/gridNames.hpp"
#include "include/IStructureModule.hpp"
#include <cmath>
#include <filesystem>
#include <fstream>
#include <sstream>
#include <ncAtt.h>
#include <ncFile.h>
#include <ncGroup.h>
#include <ncVar.h>
Go to the source code of this file.
Macros | |
#define | DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN |
#define | TO_STR(s) |
#define | TO_STRI(s) |
#define | TEST_FILE_SOURCE . |
Functions | |
Nextsim::TEST_SUITE_BEGIN ("ParaGrid") | |
Nextsim::TEST_CASE ("Write and read a ModelState-based ParaGrid restart file") | |
Nextsim::TEST_CASE ("Write a diagnostic ParaGrid file") | |
Nextsim::TEST_CASE ("Test array ordering") | |
Nextsim::TEST_SUITE_END () | |
Variables | |
const std::string | filename = "paraGrid_test.nc" |
const std::string | diagFile = "paraGrid_diag.nc" |
size_t | Nextsim::c = 0 |
Definition in file ParaGrid_test.cpp.
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN |
Definition at line 8 of file ParaGrid_test.cpp.
#define TEST_FILE_SOURCE . |
Definition at line 328 of file ParaGrid_test.cpp.
#define TO_STR | ( | s | ) |
Definition at line 325 of file ParaGrid_test.cpp.
#define TO_STRI | ( | s | ) |
Definition at line 326 of file ParaGrid_test.cpp.
Nextsim::TEST_CASE | ( | "Test array ordering" | ) |
Definition at line 331 of file ParaGrid_test.cpp.
Nextsim::TEST_CASE | ( | "Write a diagnostic ParaGrid file" | ) |
Definition at line 187 of file ParaGrid_test.cpp.
Nextsim::TEST_CASE | ( | "Write and read a ModelState-based ParaGrid restart file" | ) |
Definition at line 41 of file ParaGrid_test.cpp.
size_t Nextsim::c = 0 |
Definition at line 38 of file ParaGrid_test.cpp.
const std::string diagFile = "paraGrid_diag.nc" |
Definition at line 30 of file ParaGrid_test.cpp.
const std::string filename = "paraGrid_test.nc" |
Definition at line 29 of file ParaGrid_test.cpp.