Ignore:
Timestamp:
Nov 11, 2008 9:09:24 AM (16 years ago)
Author:
raasch
Message:

manual updated for changes in the user interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/DOC/app/chapter_3.5.html

    r62 r212  
    16162.0</a> and the technical documentation are usually not
    1717sufficient
    18 and must be supplemented by the rigorous study of the source code of
    19 the model. Programming experiences with FORTRAN95 and if necessary
     18and must be supplemented by a rigorous study of the model's source code. Programming experiences with FORTRAN95 and if necessary
    2019experiences with the parallelization tool MPI are absolutely
    21 neccessary! </p>
     20necessary! </p>
    2221<p style="line-height: 100%;">Changes of the standard
    2322model code by the
     
    4342pre-defined names, which must not be changed by the user. Their basic
    4443versions are a component of the standard model
    45 code and they are all included in the source code file
    46 <tt><font style="font-size: 10pt;" size="2">user_interface.f90</font></tt><font style="font-size: 10pt;" size="2">.</font>
     44code and can be found in the source code files
     45<tt><font style="font-size: 10pt;" size="2">user_***.f90</font></tt><font style="font-size: 10pt;" size="2">.</font>
    4746<font color="#000000">The</font> basic versions
    4847accomplish nearly no
     
    5049user as required. Actions which are already accomplished in these
    5150basic versions by default should not be changed. Here is an example
    52 of such a basic version: </p>
     51of such a basic version (file <span style="font-family: Courier New,Courier,monospace;">user_init.f90</span>): </p>
    5352<p style="line-height: 100%;">&nbsp; </p>
    5453<pre style="line-height: 100%;"><font color="#000000"><font style="font-size: 10pt;" size="2">SUBROUTINE user_init</font></font><br><br><font color="#000000"><font style="font-size: 10pt;" size="2">!------------------------------------------------------------------------------</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">!</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">!</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">! Description:</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">! -----------</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">! Execution of user-defined initializing actions</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">!------------------------------------------------------------------------------</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">!</font></font><br><br><font color="#000000"> <font style="font-size: 10pt;" size="2">USE control_parameters</font></font><br><font color="#000000"> <font style="font-size: 10pt;" size="2">USE user</font></font><br><br><font color="#000000"> <font style="font-size: 10pt;" size="2">IMPLICIT NONE</font></font><br><br><font color="#000000"><font style="font-size: 10pt;" size="2">!</font></font><br><font color="#000000"><font style="font-size: 10pt;" size="2">!-- Here the user defined initializing actions follow:</font></font><br><br><br><font color="#000000"><font style="font-size: 10pt;" size="2">END SUBROUTINE user_init</font></font></pre><p style="line-height: 100%;">The communication (handling of
     
    6766appears in the example
    6867above. This is a
    69 user-defined module (it is located at
    70 the beginning of the file <tt><font style="font-size: 10pt;" size="2">user_interface.f90</font></tt>)
     68user-defined module (it can be found in file <tt><font style="font-size: 10pt;" size="2">user_module.f90</font></tt>)
    7169and can be used for communication between the user-defined routines. In
    7270this module own variables can be declared as desired. It
    73 is not used outside of the user code. </p>
     71is not used (and should not be used!) outside of the user code. </p>
    7472<p style="line-height: 100%;">A very typical request of
    7573users is the
     
    7977for calculating and output of such quantities (see <a href="chapter_3.5.4.html">3.5.4</a>).</p><p style="line-height: 100%;">As already mentioned, the
    8078contents of
    81 the file <tt><font style="font-size: 10pt;" size="2">user_interface.f90</font></tt>
    82 can be used as a basis for extensions. However the file should not be
    83 manipulated directly (it is anyway write protected by default), but it
    84 should be
    85 copied to another file. User write permits for this new file must be
    86 declared by means of the unix command <tt><font style="font-size: 10pt;" size="2">chmod</font></tt>.
     79the files <tt><font style="font-size: 10pt;" size="2">user_***.f90</font></tt>
     80can be used as a basis for extensions. However these files should not be
     81manipulated directly. Instead, a copy should be used.
    8782</p>
    8883<p style="line-height: 100%;">The following sections
Note: See TracChangeset for help on using the changeset viewer.