|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Phase-0 regression tests for CFV Variational Reconstruction. More...
#include "doctest.h"#include "CFV/VariationalReconstruction.hpp"#include <array>#include <cmath>#include <iostream>#include <iomanip>#include <functional>#include <nlohmann/json.hpp>#include <map>#include <string>#include <vector>#include "CFV/VariationalReconstruction_LimiterProcedure.hxx"Go to the source code of this file.
Classes | |
| struct | PeriodicTestCase |
| struct | LimiterTestCase |
Macros | |
| #define | DOCTEST_CONFIG_IMPLEMENT |
| #define | POLY_TEST(testName, method, polyFunc, polyDeg) |
Typedefs | |
| using | tVR = CFV::VariationalReconstruction< g_dim > |
| using | ScalarFunc = std::function< DNDS::real(const tPoint &)> |
Enumerations | |
| enum class | RecMethod { GaussGreen , VFV_P1_HQM , VFV_P2_HQM , VFV_P3_HQM , VFV_P1_Default , VFV_P2_Default , VFV_P3_Default } |
Functions | |
| int | main (int argc, char **argv) |
| TEST_CASE ("Periodic reconstruction convergence series") | |
| TEST_CASE ("VFV P2 HQM converges on IV10 base mesh") | |
| TEST_CASE ("Limiter procedure: reconstruction + smooth indicator + WBAP limiter") | |
Phase-0 regression tests for CFV Variational Reconstruction.
Parameterized over [mesh+function, reconstruction_method].
All iterative VR uses Jacobi iteration (SORInstead=false) so that golden values are deterministic across MPI partitionings (np=1,2,4).
Error metric: L1 pointwise error at 6th-degree quadrature points, divided by domain volume (so the dimension matches the field function).
Meshes:
Golden values captured from commit c774b89 on dev/harry_refac1.
Definition in file test_Reconstruction.cpp.
| #define DOCTEST_CONFIG_IMPLEMENT |
Definition at line 21 of file test_Reconstruction.cpp.
| #define POLY_TEST | ( | testName, | |
| method, | |||
| polyFunc, | |||
| polyDeg | |||
| ) |
Definition at line 435 of file test_Reconstruction.cpp.
| using ScalarFunc = std::function<DNDS::real(const tPoint &)> |
Definition at line 213 of file test_Reconstruction.cpp.
| using tVR = CFV::VariationalReconstruction<g_dim> |
Definition at line 41 of file test_Reconstruction.cpp.
|
strong |
| Enumerator | |
|---|---|
| GaussGreen | |
| VFV_P1_HQM | |
| VFV_P2_HQM | |
| VFV_P3_HQM | |
| VFV_P1_Default | |
| VFV_P2_Default | |
| VFV_P3_Default | |
Definition at line 120 of file test_Reconstruction.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| TEST_CASE | ( | "Limiter procedure: reconstruction + smooth indicator + WBAP limiter" | ) |
| TEST_CASE | ( | "Periodic reconstruction convergence series" | ) |
| TEST_CASE | ( | "VFV P2 HQM converges on IV10 base mesh" | ) |