#include <operator.hpp>
Inheritance diagram for SmoluchowskiLinearOperator:
Let Lk be defined in SmoluchowskiCalc and L3[y] is L3 applying to function f(y)=y. Let st be a distribution of particle in the moment of time t=0. Let a(x) = L5[st](x) + L3[y](x) / x, s(x) = 0.5 * L1[st,st](x) + L4[st](x) - a(x) * st(x). Then SmoluchowskiLinearOperator.Apply(g)(x) = a(x) * g(x) - L1[st,g](x) + st(x) * L5[g](x) - L4[g](x) and SmoluchowskiLinearOperator.ApplyAdjoint(g)(x) = a(x) * g(x) + L5[st * g](x) - L2[st,g](x) - L3[g](x).
Definition at line 237 of file operator.hpp.
Public Member Functions | |
SmoluchowskiLinearOperator (SmoluchowskiCalc &_base, const double *st) | |
Initialize smoluchowski operator. | |
~SmoluchowskiLinearOperator () | |
The destructor. | |
const double * | Get_c0 () const |
const double * | Get_a () const |
virtual void | Apply (const double *g, double *res) |
Apply operator. | |
virtual void | ApplyAdjoint (const double *g, double *res) |
Apply adjoint to linearized smoluchowski operator. | |
SmoluchowskiCalc & | GetSmolCalc () |
Get used SmoluchowskiCalc object. | |
double | Get_h () const |
Get the step of uniform grid. | |
Protected Attributes | |
unsigned | N |
double | H |
double | h |
SmoluchowskiCalc & | smol_base |
double * | tmp_l |
|
Initialize smoluchowski operator.
Definition at line 436 of file operator.cpp. References SmoluchowskiCalc::fix_f_arg(). |
|
The destructor.
Definition at line 450 of file operator.cpp. |
|
Definition at line 456 of file operator.cpp. |
|
Definition at line 461 of file operator.cpp. |
|
Apply operator. Applying smoluchowski operator to function g and result return in res
Implements SmoluchowskiOperator. Definition at line 480 of file operator.cpp. References SmoluchowskiCalc::calc_L1_fix_f(), SmoluchowskiCalc::calc_L4(), and SmoluchowskiCalc::calc_L5(). Referenced by SmoluchowskiSolver::forward_problem(). |
|
Apply adjoint to linearized smoluchowski operator. Applying adjoint to linearized smoluchowski operator to function g and result return in res
Definition at line 494 of file operator.cpp. References SmoluchowskiCalc::calc_L2_fix_f(), SmoluchowskiCalc::calc_L3(), and SmoluchowskiCalc::calc_L5(). Referenced by SmoluchowskiSolver::adjoint_problem(). |
|
Get used SmoluchowskiCalc object.
Definition at line 198 of file operator.hpp. References SmoluchowskiOperator::smol_base. Referenced by SmoluchowskiSolver::adjoint_problem(), SmoluchowskiSolver::forward_problem(), SmoluchowskiSolver::GetN(), and SmoluchowskiSolver::SmoluchowskiSolver(). |
|
Get the step of uniform grid.
Definition at line 200 of file operator.hpp. References SmoluchowskiOperator::h. Referenced by SmoluchowskiSolver::inverse_problem(). |
|
Definition at line 188 of file operator.hpp. Referenced by SmoluchowskiOperator::SmoluchowskiOperator(). |
|
Definition at line 189 of file operator.hpp. Referenced by SmoluchowskiOperator::SmoluchowskiOperator(). |
|
Definition at line 189 of file operator.hpp. Referenced by SmoluchowskiOperator::Get_h(), and SmoluchowskiOperator::SmoluchowskiOperator(). |
|
Definition at line 190 of file operator.hpp. Referenced by SmoluchowskiOperator::GetSmolCalc(), and SmoluchowskiOperator::SmoluchowskiOperator(). |
|
Definition at line 191 of file operator.hpp. Referenced by SmoluchowskiOperator::SmoluchowskiOperator(), and SmoluchowskiOperator::~SmoluchowskiOperator(). |