Tsunami Project Lab
Loading...
Searching...
No Matches
WavePropagation2d.test.cpp File Reference
#include "WavePropagation2d.h"
#include "WavePropagation1d.h"
#include "../solvers/FWave.h"
#include "../solvers/Roe.h"
#include <catch2/catch.hpp>
#include <cmath>
Include dependency graph for WavePropagation2d.test.cpp:

Functions

 TEST_CASE ("WavePropagation2d initialises memory and reports stride.", "[WaveProp2dInit]")
 
 TEST_CASE ("WavePropagation2d setters and getters round-trip via stride.", "[WaveProp2dRoundTrip]")
 
 TEST_CASE ("WavePropagation2d setGhostOutflow mirrors all four sides.", "[WaveProp2dGhostOutflow]")
 
 TEST_CASE ("WavePropagation2d setGhostReflection only negates the normal momentum.", "[WaveProp2dGhostReflection]")
 
 TEST_CASE ("WavePropagation2d setGhostBoundary applies per-side BCs independently.", "[WaveProp2dGhostMixed]")
 
 TEST_CASE ("WavePropagation2d with ny=1 reproduces a 1d dam break.", "[WaveProp2d1DConsistency]")
 
 TEST_CASE ("WavePropagation2d preserves four-fold symmetry of a circular dam break.", "[WaveProp2dSymmetry]")
 
 TEST_CASE ("WavePropagation2d lake-at-rest stays stationary with 2d bathymetry.", "[WaveProp2dLakeAtRest]")
 

Function Documentation

◆ TEST_CASE() [1/8]

TEST_CASE ( "WavePropagation2d initialises memory and reports stride." ,
"" [WaveProp2dInit] )

◆ TEST_CASE() [2/8]

TEST_CASE ( "WavePropagation2d lake-at-rest stays stationary with 2d bathymetry." ,
"" [WaveProp2dLakeAtRest] )

◆ TEST_CASE() [3/8]

TEST_CASE ( "WavePropagation2d preserves four-fold symmetry of a circular dam break." ,
"" [WaveProp2dSymmetry] )

◆ TEST_CASE() [4/8]

TEST_CASE ( "WavePropagation2d setGhostBoundary applies per-side BCs independently." ,
"" [WaveProp2dGhostMixed] )

◆ TEST_CASE() [5/8]

TEST_CASE ( "WavePropagation2d setGhostOutflow mirrors all four sides." ,
"" [WaveProp2dGhostOutflow] )

◆ TEST_CASE() [6/8]

TEST_CASE ( "WavePropagation2d setGhostReflection only negates the normal momentum." ,
"" [WaveProp2dGhostReflection] )

◆ TEST_CASE() [7/8]

TEST_CASE ( "WavePropagation2d setters and getters round-trip via stride." ,
"" [WaveProp2dRoundTrip] )

◆ TEST_CASE() [8/8]

TEST_CASE ( )