VERB4D
Diffusion_1D.h
Go to the documentation of this file.
1 
10 #ifndef DIFFUSION_1D_H_
11 #define DIFFUSION_1D_H_
12 
13 #include "Matrix.h"
14 #include "MatrixSolver.h"
15 
19 bool Diffusion_1D(
20  Matrix1D<double> &psd,
21  Matrix1D<double> x, int x_size,
22  double x_LBC, double x_UBC,
23  string x_LBC_type, string x_UBC_type,
25  Matrix1D<double> Sources, Matrix1D<double> Losses,
26  double dt);
27 
28 #endif /* DIFFUSION_1D_H_ */
Matrix 1D, 2D, 3D and 4D and operations with them.
Solves model matrices for diffusion calculations and has functionality for derivative approximations ...
A matrix of 1 dimensions that is immutable.
Definition: Matrix.h:49
bool Diffusion_1D(Matrix1D< double > &psd, Matrix1D< double > x, int x_size, double x_LBC, double x_UBC, string x_LBC_type, string x_UBC_type, Matrix1D< double > Dxx, Matrix1D< double > G, Matrix1D< double > Sources, Matrix1D< double > Losses, double dt)
Definition: Diffusion_1D.cpp:38