User Tools

Site Tools


exercises:common:chg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
exercises:common:chg [2022/10/18 15:01] jglanexercises:common:chg [2022/10/31 17:35] jglan
Line 6: Line 6:
  
 It requires three single-point calculations of system AB, A, and B to print the [[https://manual.cp2k.org/cp2k-2022_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/E_DENSITY_CUBE.html|electron density]] or [[https://manual.cp2k.org/cp2k-2022_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/TOT_DENSITY_CUBE.html|total density]]. It requires three single-point calculations of system AB, A, and B to print the [[https://manual.cp2k.org/cp2k-2022_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/E_DENSITY_CUBE.html|electron density]] or [[https://manual.cp2k.org/cp2k-2022_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/TOT_DENSITY_CUBE.html|total density]].
 +
 +One can use [[https://www.cp2k.org/tools:cubecruncher | Cubecruncher]] to manipulate the CUBE files.
 +
 +<code>
 +cubecruncher.x -i AB.cube   -subtract A.cube -o AB_A.cube
 +cubecruncher.x -i AB_A.cube -subtract B.cube -o chg_dif.cube
 +
 +</code>
exercises/common/chg.txt · Last modified: 2023/12/04 13:49 by fnunes