Skip to content

Commit 4f16999

Browse files
committed
Add mixed bulkDG parFV test: linear GRM benchmark
1 parent 8bae33c commit 4f16999

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/ColumnModel1D.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,17 @@ TEST_CASE("Column_1D as pseudo-LRMP (GRM with single FV cell) numerical Benchmar
120120
cadet::test::column::testReferenceBenchmark(modelFilePath, refFilePath, "001", absTol, relTol, *discDGFV, true);
121121
}
122122

123+
TEST_CASE("Column_1D as GRM numerical Benchmark1 with parameter sensitivities for linear case with bulk DG and par FV discretization", "[Column_1D],[DGFV],[Simulation],[Reference],[Sensitivity],[testCI]")
124+
{
125+
const std::string& modelFilePath = std::string("/data/model_COL1D_GRM_dynLin_1comp_benchmark1.json");
126+
const std::string& refFilePath = std::string("/data/ref_GRM_dynLin_1comp_sensbenchmark1_cDG_P3Z8_GSM_parP3parZ1.h5");
127+
const std::vector<double> absTol = { 5e-9 };
128+
const std::vector<double> relTol = { 1.0 };
129+
130+
auto discDGFV = cadet::test::column::createDGFVParams(0, 3, 8, 0, 0, 5);
131+
cadet::test::column::testReferenceBenchmark(modelFilePath, refFilePath, "001", absTol, relTol, *discDGFV, false);
132+
}
133+
123134
TEST_CASE("Column_1D as GRM numerical Benchmark2 with parameter sensitivities for linear case", "[Column_1D],[DG],[DG1D],[Simulation],[Reference],[Sensitivity],[CI_sens18]")
124135
{
125136
std::string modelFilePath = std::string("/data/model_COL1D_GRM_dynLin_1comp_sensbenchmark2.json");

0 commit comments

Comments
 (0)