FEI
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
test_utils
CRSet.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_defs.h>
11
#include <test_utils/CRSet.hpp>
12
#include <cstdlib>
13
14
//==============================================================================
15
CRSet::CRSet
()
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
//==============================================================================
27
CRSet::~CRSet
() {
28
deleteMemory();
29
}
30
31
//==============================================================================
32
void
CRSet::deleteMemory() {
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::CRSet
CRSet()
Definition:
CRSet.cpp:15
CRSet::numNodes_
int numNodes_
Definition:
CRSet.hpp:40
CRSet::~CRSet
~CRSet()
Definition:
CRSet.cpp:27
Generated by
1.8.5