FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
snl_fei_Broker_LinSysCore.cpp
1 /*--------------------------------------------------------------------*/
2 /* Copyright 2005 Sandia Corporation. */
3 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
4 /* non-exclusive license for use of this work by or on behalf */
5 /* of the U.S. Government. Export of this program may require */
6 /* a license from the United States Government. */
7 /*--------------------------------------------------------------------*/
8 
9 #include <fei_macros.hpp>
10 
11 #include <snl_fei_Broker_LinSysCore.hpp>
12 
13 #undef fei_file
14 #define fei_file "snl_fei_Broker_LinSysCore.cpp"
15 #include <fei_ErrMacros.hpp>
16 
17 //----------------------------------------------------------------------------
21  bool blockMatrix)
22  : linsyscore_(lsc),
23  matrixGraph_(matrixGraph),
24  reducer_(reducer),
25  lookup_(NULL),
26  setGlobalOffsets_(false),
27  numLocalEqns_(0),
28  setMatrixStructure_(false),
29  blockMatrix_(blockMatrix)
30 {
31  int dummyID = -1;
32  lsc->setNumRHSVectors(1, &dummyID);
33 }
34 
35 //----------------------------------------------------------------------------
37 {
38  delete lookup_;
39 }
40 
virtual int setNumRHSVectors(int numRHSs, const int *rhsIDs)=0
Broker_LinSysCore(fei::SharedPtr< LinearSystemCore > lsc, fei::SharedPtr< fei::MatrixGraph > matrixGraph, fei::SharedPtr< fei::Reducer > reducer, bool blockMatrix)