Main Page | Class Hierarchy | Class List | File List | Class Members

cfei_prometheus.h

00001 #ifndef _cfei_prometheus_h_ 00002 #define _cfei_prometheus_h_ 00003 00004 /* 00005 This header defines the prototype for the Prometheus-specific function that 00006 creates the LinSysCore struct pointer, which is used by FEI_create. 00007 */ 00008 00009 #include <mpi.h> 00010 00011 #include <base/Data.h> 00012 #include <base/LinearSystemCore.h> 00013 #include "Prometheus_LinSysCore.h" 00014 00015 #ifndef CFEI_LinSysCore_DEFINED 00016 #define CFEI_LinSysCore_DEFINED 00017 00018 /* 00019 First we define the LinSysCore struct which is kind of like an 00020 abstract type. ISIS_LinSysCore_create produces an instance of LinSysCore. 00021 */ 00022 00023 struct LinSysCore_struct { 00024 void* lsc_; 00025 }; 00026 typedef struct LinSysCore_struct LinSysCore; 00027 00028 #endif 00029 00030 #ifdef __cplusplus 00031 LinearSystemCore *Prometheus_base_create( MPI_Comm comm ); 00032 #endif 00033 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00039 int Prometheus_LinSysCore_create(LinSysCore** lsc, MPI_Comm comm); 00040 00041 #ifdef __cplusplus 00042 } 00043 00044 #endif /*_cfei_prometheus_h_*/ 00045 00046 #endif 00047

Generated on Fri May 21 14:17:52 2004 by doxygen 1.3.7