How to add external field using READ_FROM_CUBE subsection ?

Matt W mattwa... at
Mon Nov 20 11:16:56 UTC 2017


you need to provide a valid cube file called '*pot.cube*' in the working 

If you write out a cube file using STRIDE 1 (for instance V_HARTREE_CUBE) 
you can see the format - there are specifications on the web, too. The 
number of grid points needs to correctly match the highest resolution grid 
you are using.

At the moment it is up to you to provide a correctly formatted file.


On Monday, November 20, 2017 at 8:20:10 AM UTC, jts2... at wrote:
> Hello, every developer and researcher, 
> I want to add some external potential to my system, but what I have is the 
> discrete value distributed in the space, so I have to use 
> the READ_FROM_CUBE subsection. But the manual about this keyword is so 
> unspecific and there is no example about this topic.
> Can anyone give some suggestions ? I will appreciate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the CP2K-user mailing list