netxsimdg
Loading...
Searching...
No Matches
DevGrid_example.cpp File Reference
#include <doctest/doctest.h>
#include "include/DevGrid.hpp"
#include "include/DevGridIO.hpp"
#include "include/IStructure.hpp"
#include <fstream>
Include dependency graph for DevGrid_example.cpp:

Go to the source code of this file.

Functions

 Nextsim::TEST_CASE ("Write out a ModelState-based DevGrid restart file")
 
 Nextsim::TEST_CASE ("Read the ModelState example file, if it exists")
 

Variables

const std::string filename = "example.nc"
 
const std::string stateFilename = "modelState.nc"
 

Detailed Description

Date
Jan 7, 2022
Author
Tim Spain timot.nosp@m.hy.s.nosp@m.pain@.nosp@m.ners.nosp@m.c.no

Definition in file DevGrid_example.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

Definition at line 8 of file DevGrid_example.cpp.

Function Documentation

◆ TEST_CASE() [1/2]

Nextsim::TEST_CASE ( "Read the ModelState example file,
if it exists"  )

Definition at line 66 of file DevGrid_example.cpp.

◆ TEST_CASE() [2/2]

Nextsim::TEST_CASE ( "Write out a ModelState-based DevGrid restart file" )

Definition at line 22 of file DevGrid_example.cpp.

Variable Documentation

◆ filename

const std::string filename = "example.nc"

Definition at line 17 of file DevGrid_example.cpp.

◆ stateFilename

const std::string stateFilename = "modelState.nc"

Definition at line 18 of file DevGrid_example.cpp.