Skip to content

Commit

Permalink
SOF-7298: adjustments to soc template according to wode provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Apr 20, 2024
1 parent 2c3654b commit 5e7c8b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/espresso/pw_scf_soc.j2.in
Expand Up @@ -26,8 +26,8 @@
noncolin = .true.
lspinorb = .true.
{%- if nonCollinearMagnetization.isConstrainedMagnetization %}
constrained_magnetization = {{ nonCollinearMagnetization.constrainedMagnetization.type }}
{%- for item in nonCollinearMagnetization.constrainedMagnetization %}
constrained_magnetization = {{ nonCollinearMagnetization.constrainedMagnetization.constrainedMagnetizationType }}
{%- for item in nonCollinearMagnetization.constrainedMagnetization.values %}
angle1({{ item.index }}) = {{ item.angle1 }}
angle2({{ item.index }}) = {{ item.angle2 }} {% endfor -%}
lambda = {{ nonCollinearMagnetization.constrainedMagnetization.lambda }}
Expand Down
2 changes: 1 addition & 1 deletion src/js/data/templates.js

Large diffs are not rendered by default.

0 comments on commit 5e7c8b9

Please sign in to comment.