Presentation is loading. Please wait.

Presentation is loading. Please wait.

Fortran 9x HTML version. New F90 features Free source form Modules User-defined data types and operators Generic user-defined procedures Interface blocks.

Similar presentations


Presentation on theme: "Fortran 9x HTML version. New F90 features Free source form Modules User-defined data types and operators Generic user-defined procedures Interface blocks."— Presentation transcript:

1 Fortran 9x HTML version

2 New F90 features Free source form Modules User-defined data types and operators Generic user-defined procedures Interface blocks Array operations Dynamic memory allocation Pointers Recursion

3 Improved F90 Features Expanded character set Improved facilities for computation Optional procedure arguments Additional I/O features Add. control constructs –CASE, CYCLE, EXIT, DO WHILE Add. intrinsic procedures Add. specification statements: –INTENT, OPTIONAL, POINTER, PUBLIC, PRIVATE, TARGET Additional way to specify attributes Explicit Scope and Association –CONTAINS, POINTER, TARGET

4 Obsolescent Features in F90 Alternate return (labels in an argument list) Arithmetic IF ASSIGN and assigned GO TO statements Assigned FORMAT specifier Branching to an END IF statement from outside its IF block H edit descriptor PAUSE statement Real and double precision DO control variables Shared DO termination

5 New F95 features FORALL statement and construct PURE user-defined procedures ELEMENTAL user-defined procedures CPU_TIME intrinsic subroutine NULL intrinsic function

6 Improved F95 Features Derived-type structure default initialization Pointer initialization Automatic deallocation of allocated arrays Enhanced intrinsic functions Enhanced WHERE construct Zero-length formats Comments allowed in namelist input

7 Deleted Features in F95 ASSIGN and assigned GO TO statements Assigned FORMAT specifier Branching to an END IF statement from outside H edit descriptor PAUSE statement Real and double precision DO control variables

8 Obsolescent Features in F95 Alternate returns Arithmetic IF Assumed-length character functions CHARACTER*(*) form of declaration –Use CHARACTER( LEN = * ) instead Computed GO TO statement –Use CASE construct instead DATA statements among executable statements Fixed source form Shared DO termination Statement functions –Use internal functions ( CONTAINS ) instead


Download ppt "Fortran 9x HTML version. New F90 features Free source form Modules User-defined data types and operators Generic user-defined procedures Interface blocks."

Similar presentations


Ads by Google