Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
NodalBurgerError Class Reference

#include <utility.hh>

Collaboration diagram for NodalBurgerError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NodalBurgerError (concepts::Formula< Real > &initCondition, linDG3D::FvdgSpace &spc)
 Constructor.
void operator() (const concepts::Vector< Real > &sol, concepts::Array< Real > &error, Real time)
 Application operator.

Private Attributes

concepts::Formula< Real > & initCondition_
concepts::Real3d normal_
 The normal vector of the Burger flux.
linDG3D::FvdgSpacespc_
 The scanner of the space belonging to the solution vector.

Detailed Description

Definition at line 122 of file utility.hh.


Constructor & Destructor Documentation

NodalBurgerError::NodalBurgerError ( concepts::Formula< Real > &  initCondition,
linDG3D::FvdgSpace spc 
) [inline]

Constructor.

Definition at line 131 of file utility.hh.


Member Function Documentation

void NodalBurgerError::operator() ( const concepts::Vector< Real > &  sol,
concepts::Array< Real > &  error,
Real  time 
)

Application operator.

Takes a solution vector belonging to the space spc and calculates a pointwise error on the mesh's nodes in the following way: The solution in each node is followed backwards in time using characteristics to obtain a virtual initial condition. The error is calculated comparing this virtual initial condition to the one that was originally specified in initCondition.

Parameters:
solSolution vector
errorError vector (nodal)
timePhysical time in simulation

Member Data Documentation

Definition at line 124 of file utility.hh.

The normal vector of the Burger flux.

Definition at line 128 of file utility.hh.

The scanner of the space belonging to the solution vector.

Definition at line 126 of file utility.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)