<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) --> <HTML> <HEAD> <TITLE>Method init</TITLE> <META NAME="description" CONTENT="Method init"> <META NAME="keywords" CONTENT="userhtml"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2018"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="userhtml.css"> <LINK REL="next" HREF="node20.html"> <LINK REL="previous" HREF="node18.html"> <LINK REL="up" HREF="node18.html"> <LINK REL="next" HREF="node20.html"> </HEAD> <BODY > <DIV CLASS="navigation"><!--Navigation Panel--> <A NAME="tex2html332" HREF="node20.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html328" HREF="node18.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html322" HREF="node18.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html330" HREF="node2.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <BR> <B> Next:</B> <A NAME="tex2html333" HREF="node20.html">Method set</A> <B> Up:</B> <A NAME="tex2html329" HREF="node18.html">User Interface</A> <B> Previous:</B> <A NAME="tex2html323" HREF="node18.html">User Interface</A> <B> <A NAME="tex2html331" HREF="node2.html">Contents</A></B> <BR> <BR></DIV> <!--End of Navigation Panel--> <H2><A NAME="SECTION00081000000000000000"></A><A NAME="sec:precinit"></A> <BR> Method init </H2><BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <DIV ALIGN="CENTER"><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"><code>call p%init(icontx,ptype,info)</code> </BIG></BIG></BIG></DIV><BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> This method allocates and initializes the preconditioner <code>p</code>, according to the preconditioner type chosen by the user. </BIG></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"><B>Arguments</B></BIG> </BIG></BIG></BIG> <P></P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG><TABLE CELLPADDING=3> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> <code>icontxt</code> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> <code>integer, intent(in)</code>.</BIG></BIG></BIG></TD> </TR> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> The communication context.</BIG></BIG></BIG></TD> </TR> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> <code>ptype</code> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> <code>character(len=*), intent(in)</code>.</BIG></BIG></BIG></TD> </TR> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> The type of preconditioner. Its values are specified in Table <A HREF="#tab:precinit">1</A>.</BIG></BIG></BIG></TD> </TR> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> Note that the strings are case insensitive.</BIG></BIG></BIG></TD> </TR> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> <code>info</code> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> <code>integer, intent(out)</code>.</BIG></BIG></BIG></TD> </TR> <TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> </BIG></BIG></BIG></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"> Error code. If no error, 0 is returned. See Section <A HREF="node34.html#sec:errors">8</A> for details.</BIG></BIG></BIG></TD> </TR> </TABLE><BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE">For compatibility with the previous versions of MLD2P4, this method can be also invoked as follows: </BIG></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <DIV ALIGN="CENTER"><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE"><code>call mld_precinit(p,ptype,info)</code> </BIG></BIG></BIG></DIV><BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <P> <BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG> <DIV CLASS="navigation"><HR> <!--Navigation Panel--> <A NAME="tex2html332" HREF="node20.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html328" HREF="node18.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html322" HREF="node18.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html330" HREF="node2.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <BR> <B> Next:</B> <A NAME="tex2html333" HREF="node20.html">Method set</A> <B> Up:</B> <A NAME="tex2html329" HREF="node18.html">User Interface</A> <B> Previous:</B> <A NAME="tex2html323" HREF="node18.html">User Interface</A> <B> <A NAME="tex2html331" HREF="node2.html">Contents</A></B> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>