Learn practical skills, build real-world projects, and advance your career
Updated 2 years ago
Ewald summation
# share by jovian
import numpy
from numpy.linalg import norm
from scipy.special import erfc
from math import cos, sin, exp, pi, sqrt
from itertools import product
import jovian
jovian.commit()
[jovian] Updating notebook "sabg0430/ewaldsum-f4c50" on https://jovian.ai/
[jovian] Committed successfully! https://jovian.ai/sabg0430/ewaldsum-f4c50
Define
- Aim : Calculate potential energy of ion() within unit cell. (periodic boundary condition)
- charge density
The total potential are separated into two different but related potentials.