NPT_F with surfaces

Florian Schiffmann flosch... at
Sun Jan 26 10:49:33 UTC 2014


what Marcella says is correct in an ideal world. In reality there are 
numerics,... if it happens that your cell changes or you want to be on the 
save side, you might want to set the cell gradient in the nonperiodic 
direction to a perfect 0.
This can be done in the cell_opt_utils.F at the end of the subroutine 
simply set gradient(n)=0.0_dp (n=1 for x, n=3 for y, n=6 for z as np 
Recompile and your cell is fixed in that direction. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the CP2K-user mailing list