Skip to content

Commit

Permalink
SOF-7189: incorporate MD context provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Jan 3, 2024
1 parent d12a3a4 commit 488cb90
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions assets/espresso/cp.j2.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
outdir = {% raw %}'{{ JOB_WORK_DIR }}/outdir'{% endraw %}
prefix = 'cp'
pseudo_dir = {% raw %}'{{ JOB_WORK_DIR }}/pseudo'{% endraw %}
nstep = 100
nstep = {{ md.nstep }}
iprint = 1
dt = 5.0
dt = {{ md.dt }}
/
&SYSTEM
ibrav = {{ input.IBRAV }}
Expand All @@ -24,12 +24,12 @@
&ELECTRONS
electron_dynamics = 'verlet'
electron_velocities = 'zero'
emass = 300.0
emass = {{ md.emass }}
/
&IONS
ion_dynamics = 'verlet'
ion_velocities = 'zero'
tempw = 300
tempw = {{ md.tempw }}
/
&CELL
/
Expand Down
8 changes: 4 additions & 4 deletions assets/espresso/cp_wf.j2.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
outdir = {% raw %}'{{ JOB_WORK_DIR }}/outdir'{% endraw %}
prefix = 'cp_wf'
pseudo_dir = {% raw %}'{{ JOB_WORK_DIR }}/pseudo'{% endraw %}
nstep = 100
nstep = {{ md.nstep }}
iprint = 1
dt = 5.0
dt = {{ md.dt }}
/
&SYSTEM
ibrav = {{ input.IBRAV }}
Expand All @@ -24,12 +24,12 @@
&ELECTRONS
electron_dynamics = 'verlet'
electron_velocities = 'zero'
emass = 300.0
emass = {{ md.emass }}
/
&IONS
ion_dynamics = 'verlet'
ion_velocities = 'zero'
tempw = 300
tempw = {{ md.tempw }}
/
&CELL
/
Expand Down
2 changes: 1 addition & 1 deletion src/js/data/templates.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions templates/espresso/cp.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
contextProviders:
- name: QEPWXInputDataManager
- name: PlanewaveCutoffDataManager
- name: MolDynContextProvider
applicationName: espresso
executableName: cp.x

Expand All @@ -11,5 +12,6 @@
contextProviders:
- name: QEPWXInputDataManager
- name: PlanewaveCutoffDataManager
- name: MolDynContextProvider
applicationName: espresso
executableName: cp.x

0 comments on commit 488cb90

Please sign in to comment.