Skip to content

Creating "transition density oribital" #1161

Answered by aradi
germanbarcenas asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I've modified our old cubemanip script, so that it can handle also positions. You find the modified version at https://github.com/aradi/dftbplus/blob/cubemanip/tools/misc/cubemanip, the updated version will become part of the official distribution at some point. You can use the functions posx(), posy() and posz() to get the grid positions. For example, using

cubemanip '(($1) * posx() * ($2))**2 + (($1) * posy() * ($2))**2 + (($1) * posz() * ($2))**2' wp-1-1-4-real.cube wp-1-1-5-real.cube > test.cube

I obtained for the H2O HOMO-LUMO (from the Waveplot recipes example) the attached figure with an isovalue of 1e-3. This should correspond to the quantity you wish to plot (I hope).

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@charlymedrano7
Comment options

Answer selected by germanbarcenas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants