You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
5.6 KiB
HTML
132 lines
5.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
<!--Converted with LaTeX2HTML 2012 (1.2)
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
* with significant contributions from:
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Subroutine init</TITLE>
|
|
<META NAME="description" CONTENT="Subroutine init">
|
|
<META NAME="keywords" CONTENT="userhtml">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
|
|
|
<LINK REL="next" HREF="node17.html">
|
|
<LINK REL="previous" HREF="node15.html">
|
|
<LINK REL="up" HREF="node15.html">
|
|
<LINK REL="next" HREF="node17.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html275"
|
|
HREF="node17.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html271"
|
|
HREF="node15.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html265"
|
|
HREF="node15.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html273"
|
|
HREF="node2.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html276"
|
|
HREF="node17.html">Subroutine set</A>
|
|
<B> Up:</B> <A NAME="tex2html272"
|
|
HREF="node15.html">User Interface</A>
|
|
<B> Previous:</B> <A NAME="tex2html266"
|
|
HREF="node15.html">User Interface</A>
|
|
<B> <A NAME="tex2html274"
|
|
HREF="node2.html">Contents</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H2><A NAME="SECTION00081000000000000000"></A><A NAME="sec:precinit"></A>
|
|
<BR>
|
|
Subroutine init
|
|
</H2><FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<DIV ALIGN="CENTER"><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"><code>call p%init(ptype,info)</code>
|
|
</FONT></FONT></FONT></DIV><FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">
|
|
This routine allocates and initializes the preconditioner
|
|
<code>p</code>, according to the preconditioner type chosen by the user.
|
|
</FONT></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"><B>Arguments</B></FONT> </FONT></FONT></FONT>
|
|
<P></P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT><TABLE CELLPADDING=3>
|
|
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"><code>ptype</code> </FONT></FONT></FONT></TD>
|
|
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"> <code>character(len=*), intent(in)</code>.</FONT></FONT></FONT></TD>
|
|
</TR>
|
|
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">
|
|
</FONT></FONT></FONT></TD>
|
|
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"> The type of preconditioner. Its values are specified
|
|
in Table <A HREF="#tab:precinit">1</A>.</FONT></FONT></FONT></TD>
|
|
</TR>
|
|
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">
|
|
</FONT></FONT></FONT></TD>
|
|
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"> Note that the strings are case insensitive.</FONT></FONT></FONT></TD>
|
|
</TR>
|
|
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">
|
|
<code>info</code> </FONT></FONT></FONT></TD>
|
|
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"> <code>integer, intent(out)</code>.</FONT></FONT></FONT></TD>
|
|
</TR>
|
|
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">
|
|
</FONT></FONT></FONT></TD>
|
|
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"> Error code. If no error, 0 is returned. See Section <A HREF="node25.html#sec:errors">8</A> for details.</FONT></FONT></FONT></TD>
|
|
</TR>
|
|
</TABLE><FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">For compatibility with the previous versions of MLD2P4, this routine can be also invoked
|
|
as follows:
|
|
</FONT></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<DIV ALIGN="CENTER"><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1"><code>call mld_precinit(p,ptype,info)</code>
|
|
</FONT></FONT></FONT></DIV><FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
|
<P>
|
|
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT><HR>
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html275"
|
|
HREF="node17.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html271"
|
|
HREF="node15.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html265"
|
|
HREF="node15.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html273"
|
|
HREF="node2.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html276"
|
|
HREF="node17.html">Subroutine set</A>
|
|
<B> Up:</B> <A NAME="tex2html272"
|
|
HREF="node15.html">User Interface</A>
|
|
<B> Previous:</B> <A NAME="tex2html266"
|
|
HREF="node15.html">User Interface</A>
|
|
<B> <A NAME="tex2html274"
|
|
HREF="node2.html">Contents</A></B>
|
|
<!--End of Navigation Panel-->
|
|
|
|
</BODY>
|
|
</HTML>
|