FEI
Version of the Day
Loading...
Searching...
No Matches
base
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
//----------------------------------------------------------------------------
18
snl_fei::Broker_LinSysCore::Broker_LinSysCore
(
fei::SharedPtr<LinearSystemCore>
lsc,
19
fei::SharedPtr<fei::MatrixGraph>
matrixGraph,
20
fei::SharedPtr<fei::Reducer>
reducer,
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
//----------------------------------------------------------------------------
36
snl_fei::Broker_LinSysCore::~Broker_LinSysCore
()
37
{
38
delete
lookup_;
39
}
40
fei::SharedPtr
Definition
fei_SharedPtr.hpp:65
snl_fei::Broker_LinSysCore::~Broker_LinSysCore
virtual ~Broker_LinSysCore()
Definition
snl_fei_Broker_LinSysCore.cpp:36
snl_fei::Broker_LinSysCore::Broker_LinSysCore
Broker_LinSysCore(fei::SharedPtr< LinearSystemCore > lsc, fei::SharedPtr< fei::MatrixGraph > matrixGraph, fei::SharedPtr< fei::Reducer > reducer, bool blockMatrix)
Definition
snl_fei_Broker_LinSysCore.cpp:18
Generated by
1.10.0