FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CRSet.cpp
Go to the documentation of this file.
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_defs.h>
11 #include <test_utils/CRSet.hpp>
12 #include <cstdlib>
13 
14 //==============================================================================
16  : crID_(-1),
17  numNodes_(0),
18  nodeIDs_(NULL),
19  fieldIDs_(NULL),
20  weights_(NULL),
21  values_(NULL),
22  penValues_(NULL)
23 {
24 }
25 
26 //==============================================================================
28  deleteMemory();
29 }
30 
31 //==============================================================================
33 
34  for(int j=0; j<1; j++) {
35  delete [] nodeIDs_[j];
36  }
37 
38  delete [] weights_;
39  delete [] values_;
40  delete [] penValues_;
41  delete [] fieldIDs_;
42  delete [] nodeIDs_;
43 
44  numNodes_ = 0;
45 }
46 
CRSet()
Definition: CRSet.cpp:15
void deleteMemory()
Definition: CRSet.cpp:32
double * penValues_
Definition: CRSet.hpp:61
GlobalID ** nodeIDs_
Definition: CRSet.hpp:55
double * weights_
Definition: CRSet.hpp:59
int numNodes_
Definition: CRSet.hpp:40
int * fieldIDs_
Definition: CRSet.hpp:57
double * values_
Definition: CRSet.hpp:60
~CRSet()
Definition: CRSet.cpp:27