Public Member Functions

gridripper::amr1d::error::Sobolev1Error Class Reference

Calculates 1st Sobolev norm of the difference on two grids in the polar directions, assuming that the consecutive components are real and imarinary parts of the spectral representation of the field with respect to the spherical harmonics. More...

#include <Sobolev1Error.h>

Inheritance diagram for gridripper::amr1d::error::Sobolev1Error:
gridripper::amr1d::AMError

List of all members.

Public Member Functions

 Sobolev1Error (const PDE &pde, const string &arg) throw (IllegalArgumentException&)
void calcErrors (const PDE *pde, const Grad *d, const Grid &g, const Grid &g2, GReal_t t, double c, tvalarray< double > &errors) const

Detailed Description

Calculates 1st Sobolev norm of the difference on two grids in the polar directions, assuming that the consecutive components are real and imarinary parts of the spectral representation of the field with respect to the spherical harmonics.

It assumes that the independent components' vector begin with the spectral coefficients of the scalar field, and that the constraints' vector begins with the radial derivative of this field.


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