Explaining Fortran Write Format
问题 I am a beginner of fortran90. Now I am trying to learn fortran code and I am not clear with the description of the write format write ( *, '(2x,i4,2x,g14.6,2x,14x,2x,g14.6)' ) 0, unew_norm, error Can anybody explain to me what does '(2x,i4,2x,g14.6,2x,14x,2x,g14.6)' stuff mean. It would be very nice to teach me the dummy things. Best 回答1: From this source: nX means that n spaces are added to the line; iw means that an integer (hence the i ) is printed in a field w spaces wide; gw.p is a