Author Topic: Density histograms  (Read 303 times)


  • Newbie
  • *
  • Posts: 10
    • View Profile
Density histograms
« on: January 25, 2021, 12:59:16 PM »
Dear Dubbeldam,

I am trying to use the function: "ComputeDensityHistograms".

However, I couldn't find any output file from it. Could you tell me how could I use this function properly?

Besides, this function doesn't need to set commands such as "WriteDensityHistogramEvery" or "DensityHistogramSize", which is like the other histograms commands,  since I didn't find any in this section of manual, am I correct?

Thanks a lot!
Kind regards

David Dubbeldam

  • Full Member
  • ***
  • Posts: 141
    • View Profile
Re: Density histograms
« Reply #1 on: February 12, 2021, 11:07:08 AM »
I do not think there is a such a function. Always check the output file whether it corresponds to your input.
There is a setting "ComputeEnergyHistogram" or "ComputeDensityProfile3DVTKGrid".


  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Density histograms
« Reply #2 on: February 17, 2021, 05:46:06 PM »
I have also tried to use this function without sucess.  This function is listed in the RASPA manual on page 30:

ComputeDensityHistograms [yesjno]
Sets whether or not to compute a density histogram for the current system. For example, during
adsorption it keeps track of the amount of molecules.

Is there a way to obtain this information without using VTK?