Changes between Version 22 and Version 23 of doc/app/userint


Ignore:
Timestamp:
Nov 23, 2018 12:06:25 PM (6 years ago)
Author:
scharf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/userint

    v22 v23  
    22[[TracNav(doc/userint/toc)]]
    33
    4 Programming user-defined code extensions usually requires exact knowledge of the internal structure of PALM. The latest publication and the technical documentation are usually not sufficient and must be supplemented by a rigorous study of the model's source code. Programming experiences with {{{FORTRAN95}}} and if necessary experiences with the parallelization tool {{{MPI}}} are absolutely necessary! \\\\
    5 Changes of the standard model code by the user should be avoided whenever possible and are reserved to the developer group of {{{PALM}}}. The corrections, revisions and extensions of the model accomplished by this group are published in the technical/numerical documentation and the accordingly updated source files are accessible to the users.\\\\
     4Programming user-defined code extensions usually requires exact knowledge of the internal structure of PALM. The latest publication and the technical documentation are usually not sufficient and must be supplemented by a rigorous study of the model's source code. Programming experiences with Fortran and if necessary experiences with the parallelization tool MPI are absolutely necessary. \\\\
     5Changes of the standard model code by the user should be avoided whenever possible and are reserved to the developer group of PALM. The corrections, revisions and extensions of the model accomplished by this group are published in the technical/numerical documentation and the accordingly updated source files are accessible to the users.\\\\
    66However, the user frequently may feel the need to make extensions of the model code for his/her own simulations. For this purpose, a set of interfaces is available, which can be used to add user-defined code to the model. This chapter describes the programming of such user-defined code extensions.\\\\
    77The integration of user-defined code occurs in the form of subroutine calls, which are made at a set of places in the model code, by default. These subroutines have pre-defined names, which must not be changed by the user. Their basic versions are a component of the standard model code and can be found in the source code files {{{user_***.f90}}}. The basic versions accomplish nearly no actions, thus they are pure templates, which can be extended by the user as required. Actions which are already accomplished in these basic versions by default should not be changed. Here is an example of such a basic version (file {{{user_init.f90}}}): \\\\