2
« on: January 25, 2018, 15:23 »
Hi,
I tried to analyse .nc file of my run according to 'mulliken-analysis.py' document given on page Atomic Scale Capacitance, but have some problems.
Actually, I did it before by an older version of VNL, I guess 2015. Now I try by 2017 version and get an error message like;
Traceback (most recent call last):
File "ANALYSIS_mulliken.py", line 26, in <module>
initial_population = realVectorToNumpy(builder.neutralAtomicOccupations())
File "zipdir/NL/ComputerScienceUtilities/Functions.py", line 34, in realVectorToNumpy
TypeError: in method 'realVectorToNumpy', argument 1 of type 'RealVector const &'[/size]
Relevant part of the script is;
"# Get the atomic occupations from the zero-bias config
calculator = configuration_list[0].calculator()
builder = calculator._builder()(configuration_list[0], calculator)
initial_population = realVectorToNumpy(builder.neutralAtomicOccupations())"
Can you please help, how can I fixed it?