12 | | #!div style="align:'left'; width: 400px; border: 0px solid; float:right" |
13 | | [[Image(rules_indent_general.png, 400px, right, margin-right=2, margin-top=0, border=0)]]\\ |
14 | | Indention example with highlighted whitespaces. Click to enlarge. |
| 11 | #!div style="align:'left'; width: 450px; border: 0px solid; float:right" |
| 12 | [[Image(rules_indent_general.png, 450px, right, margin-right=2, margin-top=0, border=0)]]\\ |
| 13 | Fig. 1 Indention example with highlighted whitespaces. Click to enlarge. |
21 | | * '''1 whitespace''' between individual strings |
22 | | * '''1 whitespace''' after ''',''' |
23 | | * '''1 whitespace''' before '''::''' \\(at minimum, see Sect. [#align Alignment]) |
24 | | * '''2 whitespace''' after ''':''' |
25 | | |
| 25 | * '''1 blank line''' between enclosed instructions, assignments, clauses, statements, etc. |
| 26 | * "&" minimum at 80, max at 120 |
48 | 56 | * Files always start with a doxygen-readable comment line including the FORTRAN file name. |
49 | 57 | * This is followed by the license section. If your code originates from another model, please clarify the license and permissions for this code to enter the PALM model system. It might be necessary in that case to add some more information to this header. |
50 | 58 | * The revisions section will later include short notes of the changes applied to a specific svn revision of this file. The {{{$Id$}}} string is required so that svn knows to generate the respective time stamp for a revision (see existing SOURCE files). |
51 | 59 | * Finally, involved authors are included, followed by a description of the purpose and functions of the module. If necessary, TODOs, notes and known bugs can be added. The "!>" indicate doxygen-readable comment lines, the "@" marks doxygen variables. |
52 | | {{{ |
53 | | !> @file new_module_mod.f90 |
54 | | !-----------------------------------------------------------------------------! |
55 | | ! This file is part of the PALM model system. |
56 | | ! |
57 | | ! PALM is free software: you can redistribute it and/or modify it under the |
58 | | ! terms of the GNU General Public License as published by the Free Software |
59 | | ! Foundation, either version 3 of the License, or (at your option) any later |
60 | | ! version. |
61 | | ! |
62 | | ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
63 | | ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
64 | | ! A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
65 | | ! |
66 | | ! You should have received a copy of the GNU General Public License along with |
67 | | ! PALM. If not, see <http://www.gnu.org/licenses/>. |
68 | | ! |
69 | | ! Copyright 2018-2018 Leibniz Universitaet Hannover, <your institution> |
70 | | !-----------------------------------------------------------------------------! |
71 | | ! |
72 | | ! Current revisions: |
73 | | ! ----------------- |
74 | | ! Initial revision |
75 | | ! |
76 | | ! Former revisions: |
77 | | ! ----------------- |
78 | | ! $Id$ |
79 | | ! |
80 | | ! Authors: |
81 | | ! -------- |
82 | | !> @author <Author 1> (<Affiliation>) |
83 | | !> @author <Author 2> (<Affiliation>) |
84 | | ! |
85 | | ! |
86 | | ! Description: |
87 | | ! ------------ |
88 | | !> <Description of the new module> |
89 | | !> |
90 | | !> |
91 | | !> @todo <Enter things that remain to be done> |
92 | | !> @note <Enter notes on the module> |
93 | | !> @bug <Enter known bugs here> |
94 | | !------------------------------------------------------------------------------! |
95 | | }}} |