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

RightSideNoTime Class Reference

#include <solver.hpp>

Inheritance diagram for RightSideNoTime:

Inheritance graph
[legend]
Collaboration diagram for RightSideNoTime:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class of rightside without dependent of time which can be used in smoluchowki problems.

Definition at line 288 of file solver.hpp.

Public Member Functions

 RightSideNoTime (unsigned _N, const double *_arr)
 Initialize rightside without dependence of time by vector of particles dependence.
void Set (unsigned _N, 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

RightSideNoTime::RightSideNoTime unsigned  _N,
const double *  _arr
 

Initialize rightside without dependence of time by vector of particles dependence.

Parameters:
_N size of uniform particles grid
_arr double vector of size N+1 describes dependence righside by particles
Note:
_arr saved without copy so don't change it while computations

Definition at line 150 of file solver.cpp.


Member Function Documentation

void RightSideNoTime::Set unsigned  _N,
const double *  _arr
 

Set new righside.

Definition at line 154 of file solver.cpp.

double RightSideNoTime::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 160 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