DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
test_vr_correctness Namespace Reference

Classes

class  TestBoundaryCallback
 
class  TestConstantExactness
 
class  TestLinearFieldReconstruction
 
class  TestMatrixAccess
 
class  TestModelEvaluatorRHS
 
class  TestReconstructionConvergence
 
class  TestVRConstruction
 
class  TestVRDOFBuilding
 

Functions

 mpi ()
 
str _data_mesh_path (str name)
 
 periodic_vfv (mpi)
 
 gg_vfv (mpi)
 

Detailed Description

Correctness tests for CFV.VariationalReconstruction and CFV.ModelEvaluator
through the Python bindings.

Tests cover:
  - VR construction pipeline (metrics, base+weight, rec coeff)
  - Constant and linear polynomial exactness
  - Iterative reconstruction convergence
  - ModelEvaluator RHS evaluation produces finite results
  - ModelEvaluator DoReconstructionIter changes uRec

Uses the Uniform_3x3 periodic mesh (9 quads, [0,3]^2).

These tests use pytest assertions and are intended for automated CI.

Function Documentation

◆ _data_mesh_path()

str test_vr_correctness._data_mesh_path ( str  name)
protected

Definition at line 35 of file test_vr_correctness.py.

Here is the caller graph for this function:

◆ gg_vfv()

test_vr_correctness.gg_vfv (   mpi)
Build VariationalReconstruction_2 with Gauss-Green (subs2ndOrder=1).

Definition at line 88 of file test_vr_correctness.py.

Here is the call graph for this function:

◆ mpi()

test_vr_correctness.mpi ( )

Definition at line 29 of file test_vr_correctness.py.

◆ periodic_vfv()

test_vr_correctness.periodic_vfv (   mpi)
Build VariationalReconstruction_2 on Uniform_3x3 periodic mesh.

Definition at line 42 of file test_vr_correctness.py.

Here is the call graph for this function: