User Tools

Site Tools


conv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
conv [2023/06/23 19:10] – [c016] oschuettconv [2023/11/14 10:49] (current) – [c012] oschuett
Line 71: Line 71:
 ===== c012 ===== ===== c012 =====
 ⚠️ ''Found WRITE statement with hardcoded unit in "${proc}"'' ⚠️ ''Found WRITE statement with hardcoded unit in "${proc}"''
 +
 +✅ Please don't writing to stdout directly, but instead use a [[dev:printkey]].
 +
 +
 +Printkeys allow the user to [[printkey|control]] the verbosity of the output.
  
 ---- ----
Line 120: Line 125:
    REAL(dp), DIMENSION(:), ALLOCATABLE :: my_alloc    REAL(dp), DIMENSION(:), ALLOCATABLE :: my_alloc
        
-   ! Allocatables of derived types get automatically initialized upon allocation.+   ! Allocatables of derived types get auto initialized upon allocation.
    TYPE(bar_type), ALLOCATABLE         :: my_derived_alloc    TYPE(bar_type), ALLOCATABLE         :: my_derived_alloc
 END TYPE foo_type END TYPE foo_type
- 
-TYPE bar_type 
-   INTEGER                             :: my_int     = -1 
-END TYPE bar_type 
 </code> </code>
  
conv.1687547446.txt.gz · Last modified: 2023/06/23 19:10 by oschuett