Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed Mar 4, 2021
1 parent bd02b3f commit 9b307a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/Si-SNAP-NN-LAMMPS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ After training is complete, you expect to find a folder called `Si-snap` with se
- `DescriptorParams.txt`: parameters to compute the descriptor in LAMMPS format
- `NN_weights.txt`: weight parameters of the model in LAMMPS format

The training takes about 20-30 minutes. If you cannot wait, please skip this step and use the existing files for the following steps.

## Atomistic simulation via ASE
PyXtal\_FF provides a built in `ASE` calculator. You can simply use it for some light weight calculations.
Expand Down
4 changes: 3 additions & 1 deletion examples/Si-SNAP-NN-LAMMPS/snap_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
os.system('wget ' + url + TrainData)
os.system('wget ' + url + TestData)

descriptor = {'Rc': 5.0,
descriptor = {'type': 'SNAP',
'weights': {'Si': 1.0},
'Rc': 5.0,
'parameters': {'lmax': 3},
'ncpu': 1,
}
Expand Down

0 comments on commit 9b307a4

Please sign in to comment.