economia news e media viaggi informatica internet salute e benessere int rattenimento e spettacolo sport tempo libero istruzio ne e formazione arte cultura scienza

Il Sondaggio

Quale versione del fortran utilizzi?

Guarda i risultati

Fortran

Le novitΰ del fortran 2003

A cura di Giuseppe Ciaburro

Pubblicato il 01/05/2007

Un documento in pdf che espone in modo dettagliato le novitΰ del fortran 2003

Sommario

Introduction and overview of the new features …………………………………… 5

2 Data enhancements and object orientation ………………………………………… 6

2.1 Parameterized derived types ……………………………………………… 6

2.2 Procedure pointers ………………………………………………………… 7

2.3 Finalization………………………………………………………………… 8

2.4 Procedures bound by name to a type ……………………………………… 9

2.5 The PASS attribute………………………………………………………… 9

2.6 Procedures bound to a type as operators ………………………………… 10

2.7 Type extension …………………………………………………………… 10

2.8 Overriding a type-bound procedure ……………………………………… 11

2.9 Enumerations ……………………………………………………………… 12

2.10 ASSOCIATE construct …………………………………………………… 12

2.11 Polymorphic entities ……………………………………………………… 12

2.12 SELECT TYPE construct ………………………………………………… 13

2.13 Deferred bindings and abstract types……………………………………… 15

3 Miscellaneous enhancements ……………………………………………………… 16

3.1 Structure constructors……………………………………………………… 16

3.2 The allocate statement …………………………………………………… 16

3.3 Assignment to an allocatable array ……………………………………… 17

3.4 Transferring an allocation ………………………………………………… 17

3.5 More control of access from a module …………………………………… 18

3.6 Renaming operators on the USE statement ……………………………… 19

3.7 Pointer assignment ………………………………………………………… 19

3.8 Pointer INTENT …………………………………………………………… 19

3.9 The VOLATILE attribute ………………………………………………… 20

3.10 The IMPORT statement …………………………………………………… 20

3.11 Intrinsic modules ………………………………………………………… 20

3.12 Access to the computing environment …………………………………… 20

3.13 Support for international character sets …………………………………… 22

3.14 Lengths of names and statements ………………………………………… 23

3.15 Binary, octal and hex constants …………………………………………… 23

3.16 Array constructor syntax…………………………………………………… 23

3.17 Specification and initialization expressions ……………………………… 24

3.18 Complex constants ………………………………………………………… 24

3.19 Changes to intrinsic functions …………………………………………… 24

3.20 Controlling IEEE underflow ……………………………………………… 24

3.21 Another IEEE class value ………………………………………………… 25

4 Input/output enhancements ………………………………………………………… 25

4.1 Derived type input/output ………………………………………………… 25

4.2 Asynchronous input/output………………………………………………… 27

4.3 FLUSH statement ………………………………………………………… 28

4.4 IOMSG= specifier ………………………………………………………… 29

4.5 Stream access input/output………………………………………………… 29

4.6 ROUND= specifier………………………………………………………… 29

4.7 DECIMAL= specifier……………………………………………………… 29

4.8 SIGN= specifier …………………………………………………………… 30

4.9 Kind type parameters of integer specifiers………………………………… 30

4.10 Recursive input/output …………………………………………………… 30

4.11 Intrinsic function for newline character…………………………………… 30

4.12 Input and output of IEEE exceptional values……………………………… 30

4.13 Comma after a P edit descriptor…………………………………………… 31

2

5 Interoperability with C……………………………………………………………… 31

5.1 Introduction………………………………………………………………… 31

5.2 Interoperability of intrinsic types ………………………………………… 31

5.3 Interoperability with C pointers …………………………………………… 33

5.4 Interoperability of derived types ………………………………………… 34

5.5 Interoperability of variables ……………………………………………… 34

5.6 Interoperability of procedures …………………………………………… 35

5.7 Interoperability of global data …………………………………………… 35

5.8 Example of Fortran calling C……………………………………………… 36

5.9 Example of C calling Fortran……………………………………………… 37

6 References ………………………………………………………………………… 38


PER CONSULTARE IL MANUALE CLICCARE SUL LINK SEGUENTE:

http://www.kcl.ac.uk/kis/support/cit/fortran/john_reid_new_2003.pdf


Vuoi essere aggiornato sulle novitΰ della guida?

Feed RSS XML vostro feed RSS