#include <sturm_bvp.h>
Public Member Functions | |
virtual | ~SimpleSturmBVP () |
virtual double | p (const double t) const =0 |
virtual double | p_prime (const double t) const =0 |
virtual double | q (const double t) const =0 |
virtual double | g (const double t) const =0 |
virtual bool | bc_left () const =0 |
virtual bool | bc_right () const =0 |
double | alpha0 () const |
left boundary condition coefficient 0 (inherited) | |
double | alpha1 () const |
left boundary condition coefficient 1 (inherited) | |
double | beta0 () const |
right boundary condition coefficient 0 (inherited) | |
double | beta1 () const |
right boundary condition coefficient 1 (inherited) |
Simplified class for Sturm b.v.p.'s on [0,1] which uses only homogeneous b.c.'s of the first (Dirichlet) or second (Neumann) kind.
MathTL::SimpleSturmBVP::~SimpleSturmBVP | ( | ) | [inline, virtual] |
virtual destructor
virtual bool MathTL::SimpleSturmBVP::bc_left | ( | ) | const [pure virtual] |
Dirichlet boundary conditions at 0
Implemented in TestProblem2.
virtual bool MathTL::SimpleSturmBVP::bc_right | ( | ) | const [pure virtual] |
Dirichlet boundary conditions at 1
Implemented in TestProblem2.
virtual double MathTL::SimpleSturmBVP::g | ( | const double | t | ) | const [pure virtual] |
virtual double MathTL::SimpleSturmBVP::p | ( | const double | t | ) | const [pure virtual] |
virtual double MathTL::SimpleSturmBVP::p_prime | ( | const double | t | ) | const [pure virtual] |
first derivative of the diffusion coefficient
Implements MathTL::SturmBVP.
Implemented in TestProblem2.
virtual double MathTL::SimpleSturmBVP::q | ( | const double | t | ) | const [pure virtual] |