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

RightSideGeneral Class Reference

#include <solver.hpp>

Inheritance diagram for RightSideGeneral:

Inheritance graph
[legend]
Collaboration diagram for RightSideGeneral:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class of general rightside which can be used in smoluchowki problems.

Definition at line 306 of file solver.hpp.

Public Member Functions

 RightSideGeneral (unsigned _N, unsigned _M, const double *_arr)
 Initialize general rightside.
void Set (unsigned _N, unsigned _M, const double *_arr)
 Set new righside.
double operator() (unsigned xi, unsigned ti) const
 Get value of rightside in point (xi * h, ti * tau) where h,tau is steps of grids on particles and time.


Constructor & Destructor Documentation

RightSideGeneral::RightSideGeneral unsigned  _N,
unsigned  _M,
const double *  _arr
 

Initialize general rightside.

Parameters:
_N size of uniform particles grid
_M size of uniform time grid
_arr double vector of size (N+1)x(M+1) of values rightsize on grid on [0;H]x[0;T]: rightside(xi * h,ti * tau)=arr[(N + 1) * ti + xi]
Note:
_arr saved without copy so don't change it while computations

Definition at line 170 of file solver.cpp.


Member Function Documentation

void RightSideGeneral::Set unsigned  _N,
unsigned  _M,
const double *  _arr
 

Set new righside.

Definition at line 174 of file solver.cpp.

double RightSideGeneral::operator() unsigned  xi,
unsigned  ti
const [virtual]
 

Get value of rightside in point (xi * h, ti * tau) where h,tau is steps of grids on particles and time.

Implements SmoluchowskiSolver::RightSide.

Definition at line 181 of file solver.cpp.


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