#include <fstream>
#include <string>
#include <map>
#include "../Grid/Grid.h"
#include "../Matrix/Matrix.h"
#include "../DiffusionCoefficient/DiffusionCoefficient.h"
#include "../Parameters/Parameters.h"
#include "MatrixSolver.h"
Go to the source code of this file.
Classes | |
class | PSD |
Phase Space Density class. More... | |
Functions | |
void | steady_state (Matrix1D< double > &f, double tau, double Kp, int nx, Matrix1D< double > &CL, double f_bnd_out=1, double f_bnd_in=0) |
Compute steady state solution for 1D diffusion. |
Makes operations with PSD (like, diffusion).
Definition in file PSD.h.
void steady_state | ( | Matrix1D< double > & | f, | |
double | tau, | |||
double | Kp, | |||
int | nx, | |||
Matrix1D< double > & | L, | |||
double | f_bnd_out, | |||
double | f_bnd_in | |||
) |
Compute steady state solution for 1D diffusion.
Compute steady state solution for 1D diffusion.
&f | - function | |
tau | - life time | |
Kp | - Kp index value | |
nx | - number of points | |
&L | - grid | |
f_bnd_out | - the value on the outer boundary | |
f_bnd_in | - the value on the inner boundary |
Definition at line 1534 of file PSD.cpp.
References B(), VF::Df(), i, tridag(), and Matrix1D< T >::writeToFile().
Referenced by PSD::Load_initial_f().