<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="generator" content="HTML Tidy for Mac OS X (vers 1st July 2004), see www.w3.org" />
    <title>Materials Algorithms Project</title>
    <meta name="author" content="Harry Bhadeshia" />
    <meta name="keywords" content="MAP, Materials Algorithms Project, fortran, materials science, metallurgy, computer programs, software" />
    <meta name="description" content="Home Page for the Materials Algorithms Project Website - software for use in the modelling of materials, in the context of materials science and metallurgy." />
    <link rel="stylesheet" type="text/css" href="http://www.msm.cam.ac.uk/phase-trans/camstyle.css" />
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#003399" alink="#CC0000" vlink="#CC3333">
    <table align="center" width="100%" cellpadding="2" cellspacing="2">
        <tr>
            <td><img src="http://www.msm.cam.ac.uk/map/maplogo1.gif" alt="MAP Logo" align="left" width="110" height="55" /></td>
            <td align="center">
                <h1>Materials Algorithms Project<br />
                <font color="red">Functions Library</font></h1>
            </td>
            <td>
                <p><a href="http://www.cam.ac.uk/"><img src="http://www.msm.cam.ac.uk/phase-trans/Univ.jpg" alt="[A logo showing the University of Cambridge Crest]" border="0" /></a></p>
            </td>
        </tr>
    </table>
    <hr />
    <h2><!-- ####1 INSERT ROUTINE TYPE AND NAME ON LINE BELOW: -->
     Function MAP_LIB_NAME</h2><!-- Links to anchors in document -->
    <ol>
        <li><a href="#prov">Provenance of code.</a></li>
        <li><a href="#purp">Purpose of code.</a></li>
        <li><a href="#spec">Specification.</a></li>
        <li><a href="#desc">Description of function's operation.</a></li>
        <li><a href="#refer">References.</a></li>
        <li><a href="#param">Parameter descriptions.</a></li>
        <li><a href="#error">Error indicators.</a></li>
        <li><a href="#accur">Accuracy estimate.</a></li>
        <li><a href="#further">Any additional information.</a></li>
        <li><a href="#exam">Example of code</a></li>
        <li><a href="#auxil">Auxiliary routines required.</a></li>
        <li><a href="#keyw">Keywords.</a></li>
        <li><a href="#down">Download source code.</a></li>
        <li><a href="#links">Links.</a></li>
    </ol>
    <hr />
    <!-- Provenance of code -->
    <h3><a name="prov" id="prov">Provenance of Source Code</a></h3>
    <p><!-- ####2 INSERT NAME OF AUTHORS ON LINE BELOW: -->
     H.K.D.H. Bhadeshia and A.N. Other,<br />
    <!-- ####3 INSERT THE ADDRESS ON THE LINES BELOW: -->
     Phase Transformations Group,<br />
    Department of Materials Science and Metallurgy,<br />
    University of Cambridge,<br />
    Cambridge CB2 3QZ, U.K.<br /></p><!-- ####4 REPLACE ****** BY E-MAIL ADDRESS OF AUTHOR, IF DESIRED, ON LINE BELOW: -->
    <p>E-mail: <a href="mailto:******">******</a></p><!-- ####4 OTHERWISE DELETE THE LINE ABOVE -->
    <p><!-- ####5 INSERT MONTH AND YEAR OF INCLUSION OF CODE IN MAP: -->
     Added to MAP: November 1999.</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#purp">Next</a></font></p><!-- Purpose of code -->
    <h3><a name="purp" id="purp">Purpose</a></h3>
    <p><!-- ####6 INSERT PURPOSE OF CODE ON LINE BELOW: -->
     Purpose of code - a brief statement outlining the broad purpose of the code (1-2 sentences long).</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#spec">Next</a> | <a href="#prov">Prev</a></font></p><!-- Specification -->
    <h3><a name="spec" id="spec">Specification</a></h3>
    <table>
        <!-- ####7 REPLACE ****** WITH COMPUTER LANGUAGE OF CODE (FORTRAN/C/C++ etc) -->
        <tr>
            <td>Language:</td>
            <td>****** <!-- ####8 REPLACE ****** WITH THE FORM OF CODE (Source code/Executable file etc) --></td>
        </tr>
        <tr>
            <td>Product form:</td>
            <td>******</td>
        </tr>
    </table><br />
    <pre>
<!-- ####9 INSERT SPECIFICATION OF ROUTINE AND VARIABLES ON LINES BELOW -->
FUNCTION NAME(VAR1, VAR2, VAR3, etc.)

DOUBLE PRECISION VAR1, VAR2, etc
INTEGER VAR3, VAR4, etc
</pre>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#desc">Next</a> | <a href="#purp">Prev</a></font></p><!-- Description of function -->
    <h3><a name="desc" id="desc">Description</a></h3>
    <p><!-- ####10 INSERT PARAGRAPH 1 DESCRIBING ROUTINE -->
     Paragraph 1 describing operation of function.</p>
    <p><!-- ####11 INSERT PARAGRAPH 2 DESCRIBING ROUTINE -->
     Paragraph 2 describing operation of function.</p>
    <center>
        <!-- ####12 INSERT AN IMAGE FILE SHOWING EQUATION EVALUATED -->
        <img src="../equations/functions/name-eq1.jpg" alt="Equation x of reference y." height="206" width="286" />
    </center>
    <p><!-- ####13 INSERT PARAGRAPH 3 DESCRIBING ROUTINE -->
     Paragraph 3 describing operation of function.</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#refer">Next</a> | <a href="#spec">Prev</a></font></p><!-- References -->
    <h3><a name="refer" id="refer">References</a></h3><!-- ####14 INSERT RELEVANT REFERENCES BELOW -->
    <ol>
        <li>Author(s), year, <em>Journal name</em>, <strong>Volume number</strong>, page number.</li>
        <li>S.U.M. Wong, 2001, <em>Journal of Future Events</em>, <strong>77</strong>, 144000.</li>
    </ol>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#param">Next</a> | <a href="#desc">Prev</a></font></p><!-- Parameter descriptions -->
    <h3><a name="param" id="param">Parameters</a></h3>
    <h4>Input parameters</h4><!-- ####15 INSERT THE NAMES, DESCRIPTIONS AND UNITS OF THE INPUTS -->
    <dl>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
    </dl>
    <h4>Output parameters</h4><!-- ####16 INSERT THE NAMES, DESCRIPTIONS AND UNITS OF THE OUTPUTS -->
    <dl>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
        <dt><strong>VARIABLE_NAME</strong> - type</dt>
        <dd>Description (units).</dd>
        <dd><br /></dd>
    </dl>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#error">Next</a> | <a href="#refer">Prev</a></font></p><!-- Description of error indicators -->
    <h3><a name="error" id="error">Error Indicators</a></h3>
    <p><!-- ####17 INSERT A DESCRIPTION OF ANY ERROR INDICATORS -->
     None.</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#accur">Next</a> | <a href="#param">Prev</a></font></p><!-- Accuracy estimate, where appropriate -->
    <h3><a name="accur" id="accur">Accuracy</a></h3>
    <p><!-- ####18 INSERT AN ESTIMATE OF THE ACCURACY OF THE RESULTS -->
     No information supplied.</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#further">Next</a> | <a href="#error">Prev</a></font></p><!-- Any further information -->
    <h3><a name="further" id="further">Further Comments</a></h3>
    <p><!-- ####19 INSERT ANY OTHER INFORMATION -->
     None.</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#exam">Next</a> | <a href="#accur">Prev</a></font></p><!-- Example of code operation -->
    <h3><a name="exam" id="exam">Example</a></h3>
    <h4>1. Program text</h4>
    <pre>
<!-- ####20 INSERT THE CODE OF THE EXAMPLE PROGRAM BELOW: -->
      FORTRAN CODE HERE
      STOP
      END


</pre>
    <h4>2. Program data</h4>
    <pre>
<!-- ####21 INSERT THE INPUT DATA USED IN THE EXAMPLE PROGRAM: -->
Input data line 1
Input data line 2


</pre>
    <h4>3. Program results</h4>
    <pre>
<!-- ####22 INSERT THE RESULTS OBTAINED FROM THE EXAMPLE PROGRAM: -->
First line of results
Second line of results
Third line of results


</pre>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#auxil">Next</a> | <a href="#further">Prev</a></font></p><!-- Additional routines required -->
    <h3><a name="auxil" id="auxil">Auxiliary Routines</a></h3>
    <p><!-- ####23 INSERT THE NAMES OF ANY OTHER ROUTINES CALLED BY THIS ROUTINE -->
     <a href="../../lib/filename.html">MAP_LIB1_NAME1</a><br />
    <a href="../../lib/filename.html">MAP_LIB2_NAME2</a><br /></p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#keyw">Next</a> | <a href="#exam">Prev</a></font></p><!-- Keywords -->
    <h3><a name="keyw" id="keyw">Keywords</a></h3>
    <p><!-- ####24 INSERT A LIST OF KEYWORDS WHICH DESCRIBE THIS ROUTINE -->
     keyword1, keyword2, keyword3, keyword4, etc</p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#down">Next</a> | <a href="#auxil">Prev</a></font></p><!-- Download source code -->
    <h3><a name="down" id="down">Download</a></h3>
    <p><strong><font size="+2"><!-- ####25 CHANGE 'name' ON LINE BELOW TO YOUR NAME FOR THE ROUTINE (SMALL LETTERS) -->
     <a href="../tar/name.tar">Download source code</a></font></strong></p>
    <p><font size="-1"><a href="#top">Top</a> | <a href="#keyw">Prev</a></font></p><!-- Address Info -->
 
</body>
</html>
