3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::NavierStokesTestL2Error< Scalar, ModelTraits, PrimaryVariables > Class Template Reference

Routines to calculate the discrete L2 error. More...

#include <test/freeflow/navierstokes/l2error.hh>

Description

template<class Scalar, class ModelTraits, class PrimaryVariables>
class Dumux::NavierStokesTestL2Error< Scalar, ModelTraits, PrimaryVariables >

Routines to calculate the discrete L2 error.

Static Public Member Functions

template<class Problem , class SolutionVector >
static auto calculateL2Error (const Problem &problem, const SolutionVector &curSol)
 Calculates the L2 error between the analytical solution and the numerical approximation. More...
 

Member Function Documentation

◆ calculateL2Error()

template<class Scalar , class ModelTraits , class PrimaryVariables >
template<class Problem , class SolutionVector >
static auto Dumux::NavierStokesTestL2Error< Scalar, ModelTraits, PrimaryVariables >::calculateL2Error ( const Problem &  problem,
const SolutionVector &  curSol 
)
inlinestatic

Calculates the L2 error between the analytical solution and the numerical approximation.

Parameters
problemThe object specifying the problem which ought to be simulated
curSolVector containing the current solution

The documentation for this class was generated from the following file: