-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an example, and options, to use lebedev grids in o3-averaging
- Loading branch information
Showing
14 changed files
with
129 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
examples/features/o3_averaging/lebedev_liquid_water/input.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<simulation verbosity='medium'> | ||
<output prefix='simulation'> | ||
<properties stride='1' filename='out'> [ step, time{picosecond}, conserved{electronvolt}, temperature{kelvin}, kinetic_md{electronvolt}, potential{electronvolt}, pressure_md{megapascal}, stress_md{megapascal} ] </properties> | ||
<trajectory filename='noo3_pots' stride='2' cell_units='angstrom' extra_type="o3grid_pots"> extras_component_raw(1) </trajectory> | ||
<trajectory filename='pos' stride='20' cell_units='angstrom'> positions{angstrom} </trajectory> | ||
<checkpoint stride='200'/> | ||
</output> | ||
<total_steps>1000</total_steps> | ||
<prng> | ||
<seed>31415</seed> | ||
</prng> | ||
<ffsocket name='driver-qtip4pf' mode='unix' pbc='false'> | ||
<address>h2o-base</address> | ||
</ffsocket> | ||
<ffrotations name='driver-noo3' mode='unix' pbc='false'> | ||
<address>h2o-noo3</address> | ||
<grid_order> 3 </grid_order> <grid_mode> lebedev </grid_mode> | ||
<inversion> True </inversion> | ||
</ffrotations> | ||
<system> | ||
<initialize nbeads='1'> | ||
<file mode='xyz'> water_216.xyz </file> | ||
<velocities mode='thermal' units='kelvin'> 300 </velocities> | ||
</initialize> | ||
<forces> | ||
<force forcefield='driver-qtip4pf'/> | ||
<force forcefield='driver-noo3' weight="1.0"/> | ||
</forces> | ||
<motion mode='dynamics'> | ||
<dynamics mode='nvt'> | ||
<timestep units='femtosecond'> 0.5 </timestep> | ||
<thermostat mode='langevin'> | ||
<tau units='femtosecond'> 100 </tau> | ||
</thermostat> | ||
</dynamics> | ||
</motion> | ||
<ensemble> | ||
<temperature units='kelvin'> 300 </temperature> | ||
</ensemble> | ||
</system> | ||
</simulation> |
18 changes: 18 additions & 0 deletions
18
examples/features/o3_averaging/lebedev_liquid_water/run.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ipi=i-pi | ||
driver1="i-pi-driver -m noo3-h2o -u -a h2o-noo3" | ||
driver2="i-pi-driver -m qtip4pf -u -a h2o-base" | ||
sleep_time=4 | ||
|
||
${ipi} input.xml > log.i-pi & | ||
echo "# i-PI is running" | ||
|
||
echo "# Waiting for ${sleep_time} (s) before executing driver" | ||
sleep ${sleep_time} | ||
|
||
${driver1} > /dev/null & | ||
${driver2} > /dev/null & | ||
echo "# Driver is running" | ||
|
||
wait | ||
|
||
echo "# Simulation complete" |
4 changes: 4 additions & 0 deletions
4
examples/features/o3_averaging/lebedev_liquid_water/test_settings.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Settings file for automatic test | ||
driver_model qtip4pf | ||
driver_model2 noo3-h2o | ||
nsteps 10 |
1 change: 1 addition & 0 deletions
1
examples/features/o3_averaging/lebedev_liquid_water/water_216.xyz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../init_files/water_216.xyz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters