MumpsSolver.h

Go to the documentation of this file.
00001 /* ****************************************************************** **
00002 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00003 **          Pacific Earthquake Engineering Research Center            **
00004 **                                                                    **
00005 **                                                                    **
00006 ** (C) Copyright 1999, The Regents of the University of California    **
00007 ** All Rights Reserved.                                               **
00008 **                                                                    **
00009 ** Commercial use of this program without express permission of the   **
00010 ** University of California, Berkeley, is strictly prohibited.  See   **
00011 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00012 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00013 **                                                                    **
00014 ** Developed by:                                                      **
00015 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00016 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00017 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00018 **                                                                    **
00019 ** ****************************************************************** */
00020                                                                         
00021 // $Revision: 1.3 $
00022 // $Date: 2006/04/04 22:59:50 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsSolver.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef MumpsSolver_h
00027 #define MumpsSolver_h
00028 
00029 // Written: fmk 
00030 // Created: 02/06
00031 //
00032 // Description: This file contains the class definition for Mumps.
00033 // A Mumps object can be constructed to solve a MumpsSOE. It obtains 
00034 // the solution by making calls on the the Mumps library, which is based 
00035 // on public domain software developed during the Esprit IV European project 
00036 // PARASOL (1996-1999) by CERFACS, ENSEEIHT-IRIT and RAL. Since this first 
00037 // public domain version in 1999, the developments are supported by CERFACS, 
00038 // ENSEEIHT-IRIT, and INRIA Rhone-Alpes. 
00039 // Main contributors to MUMPS are Patrick Amestoy, Iain Duff, Abdou Guermouche,
00040 // Jacko Koster, Jean-Yves L'Excellent, and Stephane Pralet.
00041 
00042 // Up-to-date copies of the MUMPS package can be obtained from the Web pages 
00043 // http://www.enseeiht.fr/apo/MUMPS/ or http://graal.ens-lyon.fr/MUMPS
00044 
00045 // What: "@(#) Mumps.h, revA"
00046 
00047 #include <LinearSOESolver.h>
00048 extern "C" {
00049 #include <dmumps_c.h>
00050 }
00051 
00052 class MumpsSOE;
00053 
00054 class MumpsSolver : public LinearSOESolver
00055 {
00056   public:
00057   MumpsSolver();
00058   MumpsSolver(int ICNTL7);
00059               
00060   virtual ~MumpsSolver();
00061   
00062   int solve(void);
00063   int setSize(void);
00064   
00065   int sendSelf(int commitTag, Channel &theChannel);
00066   int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);    
00067 
00068   int setLinearSOE(MumpsSOE &theSOE);
00069 
00070  protected:
00071 
00072  private:
00073   DMUMPS_STRUC_C id;
00074   MumpsSOE *theMumpsSOE;
00075   bool init;
00076 };
00077 
00078 #endif
00079 

Generated on Mon Oct 23 15:05:28 2006 for OpenSees by doxygen 1.5.0