Changes between Version 21 and Version 22 of doc/app/userint
- Timestamp:
- Nov 23, 2018 11:50:05 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/userint
v21 v22 2 2 [[TracNav(doc/userint/toc)]] 3 3 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! \\\\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 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.\\\\ 6 6 However, 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.\\\\ … … 33 33 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.\\\\ 34 34 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.\\\\ 35 The 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.36 37 35 38 36 Click on any icon below to get to the respective part of the documentation.\\\\