fortran - How to set to zero all variables at each call of subroutine? -



fortran - How to set to zero all variables at each call of subroutine? -

is there simple way initiate grouping of variables in fortran subroutines? data working each time when subroutine called. or solution utilize x = 0.0 variables?

yes, set value of variable utilize assignment (=).

you create derived type , user-defined assignment simplify syntax.

fortran subroutine

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -