filippi-claudia/champ

remove static def of MELEC, MCENT, MBASIS, MCTYPE

Closed this issue · 1 comments

MELEC, MCENT, MBASIS, MCTYPE are still statically defined in m_vmc.f90. The values are (hopefully) not used but there are some checks that prevents the simple removal of these variables. The check needs to be replaced for the code to compile without the static definition of these varialbles.

So we should change

integer, parameter :: MELEC = 32, MBASIS = 500, MCENT = 20

to

integer :: MELEC, MBASIS, MCENT

(or simply eliminate these variables) and change all the checks that will fail du to the change

With the latest commit MELEC, MDET, MCENT, MBASIS, MCTYPE, MCENT3, and MCTYP3X are removed from the code, and are replaced by corresponding runtime variables.