FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fei_LibraryWrapper.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 #include "fei_LibraryWrapper.hpp"
11 #include "fei_LinearSystemCore.hpp"
12 #include "fei_FiniteElementData.hpp"
13 #include <cstdlib>
14 
15 LibraryWrapper::LibraryWrapper(fei::SharedPtr<LinearSystemCore> lsc)
16  : haveLinearSystemCore_(true),
17  haveFiniteElementData_(false),
18  lsc_(lsc),
19  feData_()
20 {
21 }
22 
23 LibraryWrapper::LibraryWrapper(fei::SharedPtr<FiniteElementData> feData)
24  : haveLinearSystemCore_(false),
25  haveFiniteElementData_(true),
26  lsc_(NULL),
27  feData_(feData)
28 {
29 }
30 
31 LibraryWrapper::~LibraryWrapper()
32 {
33 }
34