MathTL
 All Classes Functions Variables Typedefs Enumerations
Public Member Functions | Protected Attributes
MathTL::EllipticBVP< DIM > Class Template Reference

#include <bvp.h>

Inheritance diagram for MathTL::EllipticBVP< DIM >:
MathTL::IdentityBVP< DIM > MathTL::PoissonBVP< DIM >

List of all members.

Public Member Functions

 EllipticBVP (const Function< DIM > *a, const Function< DIM > *q, const Function< DIM > *f)
virtual ~EllipticBVP ()
virtual const double a (const Point< DIM > &x) const
virtual const double q (const Point< DIM > &x) const
virtual const bool constant_coefficients () const =0
virtual const double f (const Point< DIM > &x) const
void set_f (const Function< DIM > *f)

Protected Attributes

const Function< DIM > * a_
 diffusion coefficient
const Function< DIM > * q_
 reaction coefficient
const Function< DIM > * f_
 right-hand side

Detailed Description

template<unsigned int DIM>
class MathTL::EllipticBVP< DIM >

Base class for a symmetric, second-order elliptic boundary value problem in divergence form over some domain Omega in R^d with boundary Gamma=dOmega

-div(a(x)grad u(x)) + q(x)u(x) = f(x) in Omega

with some boundary conditions (Dirichlet, Neumann, Robin). However, we only specify the parameters a, q and f in this class and postpone the boundary condition treatment to the discretization process. It will be implicitly assumed that the wavelet bases or frames used in a wavelet-Galerkin scheme fulfill the appropriate boundary conditions.


Constructor & Destructor Documentation

template<unsigned int DIM>
MathTL::EllipticBVP< DIM >::EllipticBVP ( const Function< DIM > *  a,
const Function< DIM > *  q,
const Function< DIM > *  f 
)

constructor with given (scalar) coefficients

template<unsigned int DIM>
virtual MathTL::EllipticBVP< DIM >::~EllipticBVP ( ) [inline, virtual]

virtual destructor


Member Function Documentation

template<unsigned int DIM>
virtual const double MathTL::EllipticBVP< DIM >::a ( const Point< DIM > &  x) const [inline, virtual]

diffusion coefficient a

Reimplemented in MathTL::IdentityBVP< DIM >, and MathTL::PoissonBVP< DIM >.

template<unsigned int DIM>
virtual const bool MathTL::EllipticBVP< DIM >::constant_coefficients ( ) const [pure virtual]

flag to indicate whether all coefficients are constants (speeds up quadrature a bit)

Implemented in MathTL::IdentityBVP< DIM >, and MathTL::PoissonBVP< DIM >.

template<unsigned int DIM>
virtual const double MathTL::EllipticBVP< DIM >::f ( const Point< DIM > &  x) const [inline, virtual]

right-hand side f

template<unsigned int DIM>
virtual const double MathTL::EllipticBVP< DIM >::q ( const Point< DIM > &  x) const [inline, virtual]

reaction coefficient q

Reimplemented in MathTL::IdentityBVP< DIM >, and MathTL::PoissonBVP< DIM >.

template<unsigned int DIM>
void MathTL::EllipticBVP< DIM >::set_f ( const Function< DIM > *  f)

set the right-hand side to another function


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations