|
|
PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _L1_error_continuity |
| | L1 error of the continuity equation (scalar field).
|
| |
| Kokkos::Array< PHX::MDField< scalar_type, panzer::Cell, panzer::Point >, num_space_dim > | _L1_error_momentum |
| | L1 error of the momentum equations (vector field). More...
|
| |
|
PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _L1_error_energy |
| | L1 error of the energy equation (scalar field).
|
| |
|
PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _L2_error_continuity |
| | L2 error of the continuity equation (scalar field).
|
| |
|
Kokkos::Array< PHX::MDField< scalar_type, panzer::Cell, panzer::Point >, num_space_dim > | _L2_error_momentum |
| | L2 error of the momentum equations (vector field).
|
| |
|
PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _L2_error_energy |
| | L2 error of the energy equation (scalar field).
|
| |
|
PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _volume |
| | Cell volume at each integration point (used for weighting).
|
| |
template<class EvalType, class Traits, int NumSpaceDim>
class VertexCFD::ClosureModel::ConductionErrorNorms< EvalType, Traits, NumSpaceDim >
Compute error norms between exact and numerical conduction solutions.
This evaluator computes the L1 and L2 error norms for the continuity, momentum, and energy equations of a conduction problem. The errors are evaluated at each integration point of the workset and stored in MDFields that can be inspected by downstream diagnostics or unit tests.
- Template Parameters
-
| EvalType | Type providing the scalar type (e.g., Residual, Jacobian). |
| Traits | PHX traits class defining the evaluation data type. |
| NumSpaceDim | Spatial dimension of the problem (e.g., 2 or 3). |
template<class EvalType , class Traits , int NumSpaceDim>
Evaluate the error norm fields over the workset.
This method is called by the PHX framework during the evaluation phase. It launches a Kokkos parallel kernel that computes the L1 and L2 errors for each cell, integration point, and spatial component.
- Parameters
-
| [in] | workset | Evaluation data containing cell topology and integration point information. |