ESILoadFactory

Creates an object for any ESI factory class. Generally does this by dynamicly loading the constructor.

Synopsis

#include "petscvec.h" 
int ESILoadFactory(char *commname,void *comm,char *classname,void *&f)
Collective on MPI_Comm

Input Parameters

commname - name of parallel context; currently only "MPI" is supported
comm - communicator for parallel computing model, currently only MPI_Comm's are supported
name - name of class the factory constructs, for example "esi::petsc::Vector"

Output Parameter

f -the factory object

Notes: The name of the class is the name of the class the factory CONSTRUCTS, not the name of the factory class

Level:intermediate
Location:
src/vec/impls/esi/ebvec1.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex26.c.html