#include <bvp.h>
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 |
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.
MathTL::EllipticBVP< DIM >::EllipticBVP | ( | const Function< DIM > * | a, |
const Function< DIM > * | q, | ||
const Function< DIM > * | f | ||
) |
constructor with given (scalar) coefficients
virtual MathTL::EllipticBVP< DIM >::~EllipticBVP | ( | ) | [inline, virtual] |
virtual destructor
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 >.
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 >.
virtual const double MathTL::EllipticBVP< DIM >::f | ( | const Point< DIM > & | x | ) | const [inline, virtual] |
right-hand side f
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 >.
void MathTL::EllipticBVP< DIM >::set_f | ( | const Function< DIM > * | f | ) |
set the right-hand side to another function