Search found 2 matches

by chuard
Sun Oct 19, 2014 5:10 pm
Forum: Ground state
Topic: Arithmetic and/or user defined variables in the input file [SOLVED]
Replies: 2
Views: 3246

Re: Arithmetic and/or user defined variables in the input fi [SOLVED]

Yup... that is what I was looking for.

I was sure there must be an easy way to do this, but for some reason I just didn't realize you could put in zeros for the values I didn't want to change.

Thanks for the help!!
by chuard
Wed Oct 15, 2014 9:15 pm
Forum: Ground state
Topic: Arithmetic and/or user defined variables in the input file [SOLVED]
Replies: 2
Views: 3246

Arithmetic and/or user defined variables in the input file [SOLVED]

Hi All, I was just wondering if there is any way to declare a user variable and or do arithmetic with it from within the input file. Specifically, I am working on 2-d van der waals materials, and I often find myself setting up simulations to do several SCF runs with different layer-to-layer spacings...