#include <solver.hpp>
Collaboration diagram for SmoluchowskiSolver:
Class containes method to solve forward linear and nonlinear problems, linear adjoint and inverse problems of source function reconstruction.
Definition at line 200 of file solver.hpp.
Public Member Functions | |
SmoluchowskiSolver (SmoluchowskiLinearOperator &_A) | |
Initialize solver of source function reconstruction problem by SmoluchowskiLinearOperator. | |
~SmoluchowskiSolver () | |
The destructor. | |
const double * | Get_s () const |
Get s(x) for details see description of SmoluchowskiLinearOperator. | |
unsigned | GetN () const |
Get size of uniform grid of particles. | |
void | inverse_problem (SourceFunction &v, const double *g_obs, double alpha, double dzeta, StopCriteria &stopcriteria, Callback *callback=0) |
Solve inverse problem of source function reconstruction. | |
Static Public Member Functions | |
static void | forward_problem (SmoluchowskiOperator &A, double T, unsigned M, const RightSide &rightside, double *res) |
Solve linear or nonlinear forward smoluchowski problem. | |
static void | adjoint_problem (SmoluchowskiLinearOperator &A, double T, unsigned M, double *res) |
Solve linear adjoint smoluchowski problem. | |
Classes | |
class | Callback |
Class of callback which can be used in inverse problem TODO: add callback to forward and adjoint problems. More... | |
class | RightSide |
Abstract class of rightside which can be used in smoluchowki problems TODO: remove this class. More... |
|
Initialize solver of source function reconstruction problem by SmoluchowskiLinearOperator.
Definition at line 307 of file solver.cpp. References SmoluchowskiCalc::GetN(), and SmoluchowskiOperator::GetSmolCalc(). |
|
The destructor.
Definition at line 315 of file solver.cpp. |
|
Get s(x) for details see description of SmoluchowskiLinearOperator.
Definition at line 337 of file solver.cpp. |
|
Get size of uniform grid of particles.
Definition at line 342 of file solver.cpp. References SmoluchowskiCalc::GetN(), and SmoluchowskiOperator::GetSmolCalc(). |
|
Solve inverse problem of source function reconstruction.
Definition at line 347 of file solver.cpp. References adjoint_problem(), forward_problem(), SmoluchowskiOperator::Get_h(), and SmoluchowskiCalc::GetN(). |
|
Solve linear or nonlinear forward smoluchowski problem. Let A be a linear or nonlinear smoluchowski operator. Method solve equation dg/dt + Ag = rightside with known g(t=0) by Euler method.
Definition at line 272 of file solver.cpp. References SmoluchowskiLinearOperator::Apply(), SmoluchowskiCalc::GetN(), and SmoluchowskiOperator::GetSmolCalc(). Referenced by inverse_problem(). |
|
Solve linear adjoint smoluchowski problem. Let A be a linear operator. Method solve equation -dq/dt + A^{*}q = 0, with known g(t=T) by Euler method.
Definition at line 291 of file solver.cpp. References SmoluchowskiLinearOperator::ApplyAdjoint(), SmoluchowskiCalc::GetN(), and SmoluchowskiOperator::GetSmolCalc(). Referenced by inverse_problem(). |