-
Notifications
You must be signed in to change notification settings - Fork 230
Description
I tried to visualize a 3D simulation using amrvis (the default tool). It works fine for positive charge, but when I select "rho_electron", it shows nothing (except for the box), like below:
For positive charge, i.e., aluminium in this case, it works fine:
The thing is if I define the charge of e- to positive, i.e., instead of
ele.charge = -q_e
, use
ele.charge = q_e
then amrvis3d works again for rho_electron (at least the shape is correct, but the charge is opposite), as below:
So it appears that the problem is amrvis3d cannot plot materials with negative charge. For 2D cases, amrvis2d has no problem in showing negative charge materials.
Does anyone encounter problem in 3D visualization of electron density? Please tell me if there's any solution to that.