Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP PlasmaScreen improv. & ground config data for atomic ions #724

Merged
merged 1 commit into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file modified .circleci/config.yml
100755 → 100644
Empty file.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified .travis.yml
100755 → 100644
Empty file.
Empty file modified ChangeLog
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified Makefile.in
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified UtilList
100755 → 100644
Empty file.
Empty file modified blas/Makefile.in
100755 → 100644
Empty file.
Empty file modified blas/dasum.f
100755 → 100644
Empty file.
Empty file modified blas/daxpy.f
100755 → 100644
Empty file.
Empty file modified blas/dcopy.f
100755 → 100644
Empty file.
Empty file modified blas/ddot.f
100755 → 100644
Empty file.
Empty file modified blas/dgemm.f
100755 → 100644
Empty file.
Empty file modified blas/dgemv.f
100755 → 100644
Empty file.
Empty file modified blas/dger.f
100755 → 100644
Empty file.
Empty file modified blas/dnrm2.f
100755 → 100644
Empty file.
Empty file modified blas/drot.f
100755 → 100644
Empty file.
Empty file modified blas/dscal.f
100755 → 100644
Empty file.
Empty file modified blas/dspmv.f
100755 → 100644
Empty file.
Empty file modified blas/dspr2.f
100755 → 100644
Empty file.
Empty file modified blas/dswap.f
100755 → 100644
Empty file.
Empty file modified blas/dtbsv.f
100755 → 100644
Empty file.
Empty file modified blas/dtrmm.f
100755 → 100644
Empty file.
Empty file modified blas/dtrmv.f
100755 → 100644
Empty file.
Empty file modified blas/dtrsm.f
100755 → 100644
Empty file.
Empty file modified blas/idamax.f
100755 → 100644
Empty file.
Empty file modified blas/lsame.f
100755 → 100644
Empty file.
Empty file modified blas/xerbla.f
100755 → 100644
Empty file.
Empty file modified ci/requirements-py27.yml
100755 → 100644
Empty file.
Empty file modified ci/requirements-py36-openmp.yml
100755 → 100644
Empty file.
Empty file modified ci/requirements-py36.yml
100755 → 100644
Empty file.
Empty file modified ci/requirements-py37.yml
100755 → 100644
Empty file.
Empty file modified config.guess
100755 → 100644
Empty file.
Empty file modified config.sub
100755 → 100644
Empty file.
Empty file modified configure.ac
100755 → 100644
Empty file.
Empty file modified coul/Makefile.in
100755 → 100644
Empty file.
Empty file modified coul/argam.f
100755 → 100644
Empty file.
Empty file modified coul/beslik.f
100755 → 100644
Empty file.
Empty file modified coul/besljn.f
100755 → 100644
Empty file.
Empty file modified coul/clogam.f
100755 → 100644
Empty file.
Empty file modified coul/cmultip.f
100755 → 100644
Empty file.
Empty file modified coul/coulcc.f
100755 → 100644
Empty file.
Empty file modified coul/coulrad.f
100755 → 100644
Empty file.
Empty file modified coul/cphamp.f
100755 → 100644
Empty file.
Empty file modified coul/d1mach.f
100755 → 100644
Empty file.
Empty file modified coul/dcoul.f
100755 → 100644
Empty file.
Empty file modified coul/dlogam.f
100755 → 100644
Empty file.
Empty file modified coul/eione.f
100755 → 100644
Empty file.
Empty file modified coul/expint.f
100755 → 100644
Empty file.
Empty file modified coul/f11.f
100755 → 100644
Empty file.
Empty file modified coul/mohrfin.f
100755 → 100644
Empty file.
Empty file modified coul/njintr.f
100755 → 100644
Empty file.
Empty file modified coul/njsym.f
100755 → 100644
Empty file.
Empty file modified coul/y5n.f
100755 → 100644
Empty file.
Empty file modified demo/FeL/Makefile
100755 → 100644
Empty file.
Empty file modified demo/FeL/fe.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/plot_abund.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/plot_rates.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/plot_spec.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/plot_trates.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/print_spec.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/save.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/spec.py
100755 → 100644
Empty file.
Empty file modified demo/FeL/totex.py
100755 → 100644
Empty file.
Empty file modified demo/Make.common
100755 → 100644
Empty file.
Empty file modified demo/Makefile
100755 → 100644
Empty file.
Empty file modified demo/NeL/Makefile
100755 → 100644
Empty file.
Empty file modified demo/NeL/ne.py
100755 → 100644
Empty file.
Empty file modified demo/NeL/ref/Ne03a.ce
100755 → 100644
Empty file.
Empty file modified demo/NeL/ref/Ne03a.en
100755 → 100644
Empty file.
Empty file modified demo/NeL/ref/Ne03a.rt
100755 → 100644
Empty file.
Empty file modified demo/NeL/ref/Ne03a.sp
100755 → 100644
Empty file.
Empty file modified demo/NeL/ref/Ne03a.tr
100755 → 100644
Empty file.
Empty file modified demo/NeL/ref/Ne03b.ham
100755 → 100644
Empty file.
Empty file modified demo/NeL/spec.py
100755 → 100644
Empty file.
Empty file modified demo/README
100755 → 100644
Empty file.
Empty file modified demo/aidr/Makefile
100755 → 100644
Empty file.
Empty file modified demo/aidr/ref/se.ai
100755 → 100644
Empty file.
Empty file modified demo/aidr/ref/se.lev
100755 → 100644
Empty file.
Empty file modified demo/aidr/se_ai.py
100755 → 100644
Empty file.
Empty file modified demo/aidr/se_ai.sf
100755 → 100644
Empty file.
Empty file modified demo/check.py
100755 → 100644
Empty file.
Empty file modified demo/excitation/Makefile
100755 → 100644
Empty file.
Empty file modified demo/excitation/fe17_excitation.py
100755 → 100644
Empty file.
Empty file modified demo/excitation/fe17_excitation.sf
100755 → 100644
Empty file.
Empty file modified demo/excitation/fe17_excitationM.py
100755 → 100644
Empty file.
Empty file modified demo/excitation/fe17_excitationM.sf
100755 → 100644
Empty file.
Empty file modified demo/excitation/ref/ne.ce
100755 → 100644
Empty file.
Empty file modified demo/excitation/ref/ne.ceM
100755 → 100644
Empty file.
Empty file modified demo/excitation/ref/ne.lev
100755 → 100644
Empty file.
Empty file modified demo/ionization/Makefile
100755 → 100644
Empty file.
Empty file modified demo/ionization/fe17_ionization.py
100755 → 100644
Empty file.
Empty file modified demo/ionization/fe17_ionization.sf
100755 → 100644
Empty file.
Empty file modified demo/ionization/ref/ne.ci
100755 → 100644
Empty file.
Empty file modified demo/ionization/ref/ne_f.lev
100755 → 100644
Empty file.
Empty file modified demo/pirr/Makefile
100755 → 100644
Empty file.
Empty file modified demo/pirr/fe24_pirr.py
100755 → 100644
Empty file.
Empty file modified demo/pirr/fe24_pirr.sf
100755 → 100644
Empty file.
Empty file modified demo/pirr/ref/li.lev
100755 → 100644
Empty file.
Empty file modified demo/pirr/ref/li.rr
100755 → 100644
Empty file.
Empty file modified demo/polariz/Makefile
100755 → 100644
Empty file.
Empty file modified demo/polariz/data.py
100755 → 100644
Empty file.
Empty file modified demo/polariz/pol.py
100755 → 100644
Empty file.
Empty file modified demo/polariz/ref/pol.txt
100755 → 100644
Empty file.
Empty file modified demo/polariz/ref/pop.txt
100755 → 100644
Empty file.
Empty file modified demo/polariz/ref/ta.ce
100755 → 100644
Empty file.
Empty file modified demo/polariz/ref/ta.en
100755 → 100644
Empty file.
Empty file modified demo/polariz/ref/ta.tr
100755 → 100644
Empty file.
Empty file modified demo/rmatrix/cs.py
100755 → 100644
Empty file.
Empty file modified demo/rmatrix/rmx.py
100755 → 100644
Empty file.
Empty file modified demo/structure/Makefile
100755 → 100644
Empty file.
Empty file modified demo/structure/fe17_structure.py
100755 → 100644
Empty file.
Empty file modified demo/structure/fe17_structure.sf
100755 → 100644
Empty file.
Empty file modified demo/structure/ref/ne.lev
100755 → 100644
Empty file.
Empty file modified demo/structure/ref/ne.tr
100755 → 100644
Empty file.
Empty file modified demo/tests/Makefile
100755 → 100644
Empty file.
Empty file modified demo/tests/diag_hamiltonian.py
100755 → 100644
Empty file.
Empty file modified demo/tests/maxwell_rate.py
100755 → 100644
Empty file.
Empty file modified demo/tests/ref/O.sp
100755 → 100644
Empty file.
Empty file modified demo/tests/ref/diagh_O_a.en
100755 → 100644
Empty file.
Empty file modified demo/tests/simple_crm.py
100755 → 100644
Empty file.
Empty file modified doc/Makefile
100755 → 100644
Empty file.
4 changes: 1 addition & 3 deletions doc/manual.tex
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2895,9 +2895,7 @@ \subsection{Functions}
Specify a plasma screening model. \var{z} is the number of free electrons per
ion in the plasma, \var{n} is the electron density in unit of
$10^{24}$~cm$^{-3}$. \var{t} is the electron temperature in eV. \var{m} is the
model choices. $m=0$ uses either the ion-sphere model (when $u=0$) or Stewart-Pyatt screening model (when $u>0$). $m=1$ uses a non-uniform ion-sphere
model where free electrons follow Fermi-Dirac distribution, in which case,
\var{t} is a required parameter.
model choices. $m=0$ uses either the ion-sphere model (when $u=0$) or Stewart-Pyatt screening model (when $u>0$). When using an ion-sphere model, $t=0$ indicates a uniform density model. $m=1$ uses Debye screening model, in which case, \var{t} is a required parameter.
in this model.
\end{fundesc}

Expand Down
Empty file modified doc/misc/gitcommit.md
100755 → 100644
Empty file.
Empty file modified doc/misc/jj2ls.md
100755 → 100644
Empty file.
Empty file modified doc/papers/aidr.dvi
100755 → 100644
Empty file.
Empty file modified doc/papers/aidr.ps
100755 → 100644
Empty file.
Empty file modified doc/papers/aidr.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/ebfield.pdf
100755 → 100644
Empty file.
Empty file modified doc/papers/ebfield.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/exc.eps
100755 → 100644
Empty file.
Empty file modified doc/papers/excitation.dvi
100755 → 100644
Empty file.
Empty file modified doc/papers/excitation.ps
100755 → 100644
Empty file.
Empty file modified doc/papers/excitation.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/facref.bib
100755 → 100644
Empty file.
Empty file modified doc/papers/ion.eps
100755 → 100644
Empty file.
Empty file modified doc/papers/ionization.dvi
100755 → 100644
Empty file.
Empty file modified doc/papers/ionization.ps
100755 → 100644
Empty file.
Empty file modified doc/papers/ionization.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/mcross.pdf
100755 → 100644
Empty file.
Empty file modified doc/papers/mcross.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/pirr.dvi
100755 → 100644
Empty file.
Empty file modified doc/papers/pirr.ps
100755 → 100644
Empty file.
Empty file modified doc/papers/pirr.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/rate.eps
100755 → 100644
Empty file.
Empty file modified doc/papers/str.eps
100755 → 100644
Empty file.
Empty file modified doc/papers/structure.dvi
100755 → 100644
Empty file.
Empty file modified doc/papers/structure.ps
100755 → 100644
Empty file.
Empty file modified doc/papers/structure.tex
100755 → 100644
Empty file.
Empty file modified doc/papers/tr.eps
100755 → 100644
Empty file.
Empty file modified faclib/Makefile.in
100755 → 100644
Empty file.
Empty file modified faclib/angular.c
100755 → 100644
Empty file.
Empty file modified faclib/angular.h
100755 → 100644
Empty file.
Empty file modified faclib/array.c
100755 → 100644
Empty file.
Empty file modified faclib/array.h
100755 → 100644
Empty file.
Empty file modified faclib/cf77.h
100755 → 100644
Empty file.
Empty file modified faclib/cfortran.doc
100755 → 100644
Empty file.
Empty file modified faclib/cfortran.h
100755 → 100644
Empty file.
Empty file modified faclib/cfp.c
100755 → 100644
Empty file.
Empty file modified faclib/cfp.h
100755 → 100644
Empty file.
Empty file modified faclib/config.c
100755 → 100644
Empty file.
Empty file modified faclib/config.h
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions faclib/consts.h
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ extern double AMU;
/* nucleus */
#define N_ELEMENTS 120
#define N_ELEMENTS1 (N_ELEMENTS+1)
#define N_ELEMENTS2 (N_ELEMENTS*(N_ELEMENTS+1)/2)
#define NISO 58
#define XFERMI0 (-10.0)
#define XFERMI1 (+35.0)
Expand Down
Empty file modified faclib/coulomb.c
100755 → 100644
Empty file.
Empty file modified faclib/coulomb.h
100755 → 100644
Empty file.
Empty file modified faclib/crm.c
100755 → 100644
Empty file.
Empty file modified faclib/crm.h
100755 → 100644
Empty file.
14 changes: 12 additions & 2 deletions faclib/dbase.c
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ static int _remove_closed = 0;
static int _ncombex[N_ELEMENTS1];
static char **_pcombex[N_ELEMENTS1];
static char _scombex[N_ELEMENTS1][2048];
static int _adj_ip = 1;

static int _ic_iai[100];
static int _ix_iai[100];
Expand Down Expand Up @@ -7803,7 +7804,7 @@ void CombineDBase(char *pref, int k0, int k1, int kic, int nexc0, int ic) {
int nexc, ncap, nt, nd, ix, ibx, ifx, ib, cn0, cn1, cn2;
int ia, *nm, *nklevs, *igk, *ifk, kk, kk1;
short ***nc;
double t0, dt, d0, dd, *egk;
double t0, dt, d0, dd, *egk, eip;
float ***pai;

ncap = 0;
Expand Down Expand Up @@ -7903,7 +7904,12 @@ void CombineDBase(char *pref, int k0, int k1, int kic, int nexc0, int ic) {
}
nlevs += h0.nlevels;
}

if (_adj_ip) {
eip = GetGroundIP(z, k);
if (eip > 0) {
e1 = e0 + eip/HARTREE_EV;
}
}
printf("check levels: %d %d %s %d\n", z, k, ifn, nlevs);
if (k < k1) {
de[k-k0] = de[k+1-k0]+ (e1p - e0);
Expand Down Expand Up @@ -8944,5 +8950,9 @@ void SetOptionDBase(char *s, char *sp, int ip, double dp) {
_remove_closed = ip;
return;
}
if (0 == strcmp(s, "dbase:adj_ip")) {
_adj_ip = ip;
return;
}
}

Empty file modified faclib/dbase.h
100755 → 100644
Empty file.
Loading