Evolving surface finite element method  v0.3.0-14-g3598512
Numerical experiments for my papers
Classes | Public Member Functions | Private Attributes | List of all members
Esfem::Io::L2H1_calculator Class Reference

Wrapper class for dune $L^2$- and $H^1$-norms. More...

#include <io_l2h1Calculator.h>

Classes

struct  Data
 Data members of L2H1_calculator More...
 

Public Member Functions

 L2H1_calculator (const Grid::Grid_and_time &)
 Get grid. More...
 
 ~L2H1_calculator ()
 Required by pointer to implementation technique.
 
double l2_err (const Grid::Scal_FEfun &, const Grid::Scal_FEfun &) const
 $L^2$-distance of two finite element functions
 
double l2_err (const Grid::Vec_FEfun &, const Grid::Vec_FEfun &) const
 $L^2$-distance of two finite element functions
 
double h1_err (const Grid::Scal_FEfun &, const Grid::Scal_FEfun &) const
 $H^1$-distance of two finite element functions
 
double h1_err (const Grid::Vec_FEfun &, const Grid::Vec_FEfun &) const
 $H^1$-distance of two finite element functions
 

Private Attributes

std::unique_ptr< Datad_ptr
 Pointer to data member.
 

Detailed Description

Wrapper class for dune $L^2$- and $H^1$-norms.

Definition at line 31 of file io_l2h1Calculator.h.

Constructor & Destructor Documentation

L2H1_calculator::L2H1_calculator ( const Grid::Grid_and_time &  gt)
explicit

Get grid.

Postcondition
Grid_and_time outlives this object.

Definition at line 101 of file io_l2h1Calculator.cpp.


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