Skip to content

Commit

Permalink
Animation
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Jan 24, 2023
1 parent 0e2577e commit 3b82cb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions QMC.org
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@

$$ \int_{-\infty}^\infty P(x)\,dx = 1. $$

# and $dP(x)$ satisfies:

# $$ dP(x) = \int_{0}^x P(y)\,dy . $$

Similarly, we can view the energy of a system, $E$, as the expected value of the local energy with respect to
a probability density $P(\mathbf{r})$ defined in $3N$ dimensions:
Expand All @@ -115,6 +112,11 @@
energy computed over these configurations:

$$ E \approx \frac{1}{N_{\rm MC}} \sum_{i=1}^{N_{\rm MC}} E_L(\mathbf{r}_i) \,. $$

Here is an animation of the local energy in the N_{2} molecule along
a QMC trajectory:

[[./n2.gif]]

* Numerical evaluation of the energy of the hydrogen atom

Expand Down
2 changes: 1 addition & 1 deletion docs/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ else
emacs --batch --load ../docs/config.el $INPUT -f org-html-export-to-html
fi

cp ../*png .
cp ../*png ../*.gif .
mv ../QMC.html index.html


Expand Down
Binary file added n2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b82cb1

Please sign in to comment.