Changes between Version 6 and Version 7 of doc/app/userint


Ignore:
Timestamp:
Sep 14, 2010 9:02:23 AM (14 years ago)
Author:
suehring
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/userint

    v6 v7  
    2727}}}
    2828\\\\
    29 The communication (handling of variables) with the model occurs via the global variables, which are defined within the individual {{{FORTRAN}}} - modules of PALM. The appropriate modules (they are all in the source code file {{{modules.f90}}}) must be declared by means of {{{USE}}} statements in the user-defined routines in order to be able to work with the variables contained in them. As in the example, this is already done with the module {{{control_parameters}}}. This yields access to most of the existing parameters for steering the model. Furthermore, the module user appears in the example above. This is a user-defined module (it can be found in file {{{user_module.f90}}}) and can be used for communication between the user-defined routines. In this module own variables can be declared as desired. It is not used (and should not be used!) outside of the user code.
    30 
    31 A very typical request of users is the calculation and output of quantities which are not part of PALM's standard output. Several routines in the basic user interface are already designed and prepared for calculating and output of such quantities (see [wiki:chapter_354 chapter 3.5.4]).
    32 
    33 As already mentioned, the contents of the files {{{user_***.f90}}} can be used as a basis for extensions. However these files should not be manipulated directly. Instead, a copy should be used.
    34 
     29The communication (handling of variables) with the model occurs via the global variables, which are defined within the individual {{{FORTRAN}}} - modules of PALM. The appropriate modules (they are all in the source code file {{{modules.f90}}}) must be declared by means of {{{USE}}} statements in the user-defined routines in order to be able to work with the variables contained in them. As in the example, this is already done with the module {{{control_parameters}}}. This yields access to most of the existing parameters for steering the model. Furthermore, the module user appears in the example above. This is a user-defined module (it can be found in file {{{user_module.f90}}}) and can be used for communication between the user-defined routines. In this module own variables can be declared as desired. It is not used (and should not be used!) outside of the user code.\\\\
     30A very typical request of users is the calculation and output of quantities which are not part of PALM's standard output. Several routines in the basic user interface are already designed and prepared for calculating and output of such quantities (see [wiki:chapter_354 chapter 3.5.4]).\\\\
     31As already mentioned, the contents of the files {{{user_***.f90}}} can be used as a basis for extensions. However these files should not be manipulated directly. Instead, a copy should be used.\\\\
    3532The following sections describe, which interfaces for user-defined code exist in the model, how user parameters can be defined for steering this code and how it is translated and linked to the model.