1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>ESILoadFactory</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="ESILoadFactory"><H1>ESILoadFactory</H1></A>
Creates an object for any ESI factory class. Generally does this by dynamicly loading the constructor.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscvec.h"
int ESILoadFactory(char *commname,void *comm,char *classname,void *&f)
</PRE>
Collective on MPI_Comm
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>commname </B></TD><TD>- name of parallel context; currently only "MPI" is supported
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../Sys/comm.html#comm">comm</A> </B></TD><TD>- communicator for parallel computing model, currently only MPI_Comm's are supported
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>name </B></TD><TD>- name of class the factory constructs, for example "esi::petsc::Vector"
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<DT><B>f </B> -the factory object
<br>
<P>
Notes: The name of the class is the name of the class the factory CONSTRUCTS, not the name
of the factory class
<P>
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/vec/impls/esi/ebvec1.c.html#ESILoadFactory">src/vec/impls/esi/ebvec1.c</A>
<BR><A HREF="./index.html">Index of all Vec routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/sles/examples/tutorials/ex26.c.html">src/sles/examples/tutorials/ex26.c.html</A><BR>
</BODY></HTML>
|