Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

SmoluchowskiNonLinearOperator Class Reference

#include <operator.hpp>

Inheritance diagram for SmoluchowskiNonLinearOperator:

Inheritance graph
[legend]
Collaboration diagram for SmoluchowskiNonLinearOperator:

Collaboration graph
[legend]
List of all members.

Detailed Description

Nonlinear smoluchowski operator.

Let Lk be defined in SmoluchowskiCalc, then SmoluchowskiNonLinearOperator.Apply(g)(x) = -1 * (0.5 * L1[g,g](x) - g(x) * L5[g](x) + L4[g](x) - g(x) / x * L3[y](x)) where L3[y] is L3 applying to function f(y)=y.

Definition at line 217 of file operator.hpp.

Public Member Functions

 SmoluchowskiNonLinearOperator (SmoluchowskiCalc &_base)
 Initialize smoluchowski operator by choose SmoluchowskiCalc realization.
 ~SmoluchowskiNonLinearOperator ()
 The destructor.
void Apply (const double *g, double *res)
 Apply operator.
SmoluchowskiCalcGetSmolCalc ()
 Get used SmoluchowskiCalc object.
double Get_h () const
 Get the step of uniform grid.

Protected Attributes

unsigned N
double H
double h
SmoluchowskiCalcsmol_base
double * tmp_l


Constructor & Destructor Documentation

SmoluchowskiNonLinearOperator::SmoluchowskiNonLinearOperator SmoluchowskiCalc _base  ) 
 

Initialize smoluchowski operator by choose SmoluchowskiCalc realization.

Definition at line 405 of file operator.cpp.

SmoluchowskiNonLinearOperator::~SmoluchowskiNonLinearOperator  ) 
 

The destructor.

Definition at line 410 of file operator.cpp.


Member Function Documentation

void SmoluchowskiNonLinearOperator::Apply const double *  g,
double *  res
[virtual]
 

Apply operator.

Applying smoluchowski operator to function g and result return in res

Parameters:
g double vector values of function g of size of uniform grid (N+1)
res double vector values of function g of size of uniform grid (N+1)

Implements SmoluchowskiOperator.

Definition at line 413 of file operator.cpp.

References SmoluchowskiCalc::calc_L1(), SmoluchowskiCalc::calc_L3(), SmoluchowskiCalc::calc_L4(), and SmoluchowskiCalc::calc_L5().

SmoluchowskiCalc& SmoluchowskiOperator::GetSmolCalc  )  [inherited]
 

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().

double SmoluchowskiOperator::Get_h  )  const [inherited]
 

Get the step of uniform grid.

Definition at line 200 of file operator.hpp.

References SmoluchowskiOperator::h.

Referenced by SmoluchowskiSolver::inverse_problem().


Member Data Documentation

unsigned SmoluchowskiOperator::N [protected, inherited]
 

Definition at line 188 of file operator.hpp.

Referenced by SmoluchowskiOperator::SmoluchowskiOperator().

double SmoluchowskiOperator::H [protected, inherited]
 

Definition at line 189 of file operator.hpp.

Referenced by SmoluchowskiOperator::SmoluchowskiOperator().

double SmoluchowskiOperator::h [protected, inherited]
 

Definition at line 189 of file operator.hpp.

Referenced by SmoluchowskiOperator::Get_h(), and SmoluchowskiOperator::SmoluchowskiOperator().

SmoluchowskiCalc& SmoluchowskiOperator::smol_base [protected, inherited]
 

Definition at line 190 of file operator.hpp.

Referenced by SmoluchowskiOperator::GetSmolCalc(), and SmoluchowskiOperator::SmoluchowskiOperator().

double* SmoluchowskiOperator::tmp_l [protected, inherited]
 

Definition at line 191 of file operator.hpp.

Referenced by SmoluchowskiOperator::SmoluchowskiOperator(), and SmoluchowskiOperator::~SmoluchowskiOperator().


The documentation for this class was generated from the following files:
Generated on Sun May 25 01:58:12 2025 for SmoluchowskiSolver by Doxygen