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

cMpsReaderPetsc.h

00001 /* OOQP                                                               *
00002  * Authors: E. Michael Gertz, Stephen J. Wright                       *
00003  * (C) 2001 University of Chicago. See Copyright Notification in OOQP */
00004 
00005 /*
00006  * Edited by: Quan H. Nguyen 
00007  */
00008 #ifndef PETSCMPSREADER
00009 #define PETSCMPSREADER
00010 
00011 #include "cMpsReader.h"
00012 #include "petscmat.h"
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017   void PetscScatterDoubleStar  ( double dc[], Vec c, int * ierr );
00018   void PetscScatterBooleanStar ( char cc[], Vec c, int * ierr );
00019   void PetscSymMatrixFromTriple( int m,
00020                                  int irowQ[], int nnzQ, int jcolQ[],
00021                                  double dQ[], Mat Q, int * ierr );
00022   void PetscGenMatrixFromTriple( int m, int n,
00023                                  int irowA[], int nnzA, int jcolA[],
00024                                  double dA[], Mat A, int  * ierr );
00025   void CMpsReaderReadPetscQpGen( void * reader,
00026                                  Vec    templateXVec,
00027                                  Vec  c,     Mat Q,
00028                                  Vec  xlow,  Vec ixlow,
00029                                  Vec  xupp,  Vec ixupp,
00030                                  Vec    templateYVec,
00031                                  Mat  A,     Vec b,
00032                                  Vec    templateZVec,
00033                                  Mat  C,
00034                                  Vec  clow,  Vec iclow,
00035                                  Vec  cupp,  Vec icupp,
00036                                  int  * ierr );
00037 
00038 #ifdef __cplusplus
00039 };
00040 #endif
00041 
00042 #endif

Generated on Wed Mar 22 13:58:32 2006 for OOQP by doxygen 1.3.5