-
Notifications
You must be signed in to change notification settings - Fork 56
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
The value of the population is very small? #625
Comments
I am not able to reproduce the problem described. please post the exact steps you use in the calculation. |
I am sorry for the lack of information. First, I calculated the basic atomic database of N03 and N04 by pfac.atom. I then computed the population data of N04 by pfac.spm. The Python code I ran is as follows. However, the obtained population value of the ground state in N04a_d00t00i2.sp is very small as shown below. Environment: import numpy
import pfac.atom
import pfac.fac
import pfac.spm
import subprocess
if __name__=="__main__":
atomic_number = 7
atomic_symbol = pfac.fac.ATOMICSYMBOL[atomic_number]
electron_number = 4
densities = 1e-10*numpy.logspace(1, 1, 1)
temperatures = 1e+00*numpy.logspace(1, 1, 1)
populations = len(temperatures)*[(1+atomic_number)*[1.0]]
directory01 = "database/{0:s}/".format(atomic_symbol)
directory02 = "database/{0:s}/".format(atomic_symbol)
subprocess.run("mkdir {0:s}".format(directory01), shell=True)
subprocess.run("mkdir {0:s}".format(directory02), shell=True)
pfac.atom.atomic_data(nele=[electron_number-1, electron_number], asym=atomic_symbol, dir=directory01)
pfac.spm.spectrum(neles=[electron_number], temp=temperatures, den=densities, population=populations, pref=atomic_symbol, dir0=directory01, dir1=directory02, nion=2, ai=1, ce=1, ci=1, rr=1, rrc=1)
|
i cannot reproduce the results with your script. the ground state population shows below in my run. can you do two things.
|
Thank you for your reply.
Two weeks ago I was using the latest version of the flexible atomic code.
|
The seg.fault. was recently introduced. the new update has the fix. |
Thank you for maintaining this nice code. To calculate the N04 population data, we have performed the following code. Although we could obtain the N04a_t00d0i2.sp file, the value of the population in the ground state was very small (~1.0e-5). How can we obtain realistic values for the population of the ground state?
The text was updated successfully, but these errors were encountered: