Saturday, 18 January 2020

Named If statements in VASP code

I have heard about IF, ELSE and ENDIF conditions in FORTRAN code. But what is "Named IF statement"?

I recently come across this and wondered is there any such statements in VASP Code.

In fact, there named IF statements are used in the following 6 files in 7 different positions.

elinear_response.F
elpol.F
ilinear_response.F
lr_helper.F
pead.F
wannier.F

Those IF statements can be obtained by using

grep -i ":if" *.F


No comments:

Post a Comment