1 % This folder contains various scripts needed
for miscellaneous functions
2 % and tasks (equations, storing and loading data, etc.)
5 % B_Dip - calculate dipole magnetic field
6 % en2pc - convert energy to pc
7 % fast_interpolate - interpolates quickly
9 % load_plt - easily loads the contents of a .plt file
10 %
mu2pc - calculates p*c given Mu
11 % name_to_title - converts column name to the title
12 %
pc2mu - calculates Mu given p*c
13 %
pfunc - calculate momentum
14 % save_picture - stores the contents of a picture file
15 % save_plt - stores the contents of a .plt file
16 %
steady_state - finds steady-state solution given L*, diffusion
17 % coefficient, and tau
18 % subplot1 - an improved way to create subplots
21 % If description is blank, then
I have no idea what it does.
void steady_state(Matrix1D< double > &f, double tau, double Kp, int nx, Matrix1D< double > &L, double f_bnd_out, double f_bnd_in)
double mu2pc(double L, double mu, double alpha)
Convert μ to pc.
double pfunc(double K)
Computation of moumentum from Kinetic energy .
double pc2mu(double L, double pc, double alpha)
Convert pc to μ.
#define I(l, k)
Specified Index [l][k].
double Y(double alpha)
Y(α) function.
double Kfunc(double pc)
Computation of Kinetic energy from given momentum .