SymSparseLinSolver.hGo to the documentation of this file.00001 // File: ~/system_of_eqn/linearSOE/LawSolver/SymSparseLinSolver.h 00002 // 00003 // Written: Jun Peng (junpeng@stanford.edu) 00004 // Prof. Kincho H. Law 00005 // Stanford University 00006 // Created: 12/98 00007 // Revision: A 00008 // 00009 // Description: This file contains the class definition for 00010 // SymSparseinSolver. It solves the SymSparseLinSOEobject by calling 00011 // some "C" functions. The solver used here is generalized sparse 00012 // solver. The user can choose three different ordering schema. 00013 // 00014 // What: "@(#) SymSparseLinSolver.h, revA" 00015 00016 00017 #ifndef SymSparseLinSolver_h 00018 #define SymSparseLinSolver_h 00019 00020 #include <LinearSOESolver.h> 00021 00022 00023 class SymSparseLinSOE; 00024 00025 class SymSparseLinSolver : public LinearSOESolver 00026 { 00027 public: 00028 SymSparseLinSolver(); 00029 ~SymSparseLinSolver(); 00030 00031 int solve(void); 00032 int setSize(void); 00033 00034 int setLinearSOE(SymSparseLinSOE &theSOE); 00035 00036 int sendSelf(int cTag, Channel &theChannel); 00037 int recvSelf(int cTag, 00038 Channel &theChannel, 00039 FEM_ObjectBroker &theBroker); 00040 protected: 00041 00042 private: 00043 00044 SymSparseLinSOE *theSOE; 00045 00046 }; 00047 00048 #endif 00049 |