hello,
how does an "enum" array work, as in below? I understand the exp() function.
enum(i)=enum(i)*exp(-0.8/24)
there's a simpler line elsewhere:
enum(i)=0
but i can't figure it out.
additionally, what is "format()" doing, what purpose does that darn 1007 serve, and what would this potentially affect in my code?:
1007 format(i4,1x,i4,1x,a3,1x,e12.6)
optionally, if there is anyone who knows C++, how would I translate these statements over? I will probably be able to figure it out when I know how they work, but there's usually good advice out there
thank you
how does an "enum" array work, as in below? I understand the exp() function.
enum(i)=enum(i)*exp(-0.8/24)
there's a simpler line elsewhere:
enum(i)=0
but i can't figure it out.
additionally, what is "format()" doing, what purpose does that darn 1007 serve, and what would this potentially affect in my code?:
1007 format(i4,1x,i4,1x,a3,1x,e12.6)
optionally, if there is anyone who knows C++, how would I translate these statements over? I will probably be able to figure it out when I know how they work, but there's usually good advice out there
thank you