FEI Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test_utils
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
//==============================================================================
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::deleteMemory
void deleteMemory()
Definition:
CRSet.cpp:32
CRSet::penValues_
double * penValues_
Definition:
CRSet.hpp:61
CRSet::nodeIDs_
GlobalID ** nodeIDs_
Definition:
CRSet.hpp:55
CRSet::weights_
double * weights_
Definition:
CRSet.hpp:59
fei_defs.h
CRSet::numNodes_
int numNodes_
Definition:
CRSet.hpp:40
CRSet::fieldIDs_
int * fieldIDs_
Definition:
CRSet.hpp:57
CRSet::values_
double * values_
Definition:
CRSet.hpp:60
CRSet.hpp
CRSet::~CRSet
~CRSet()
Definition:
CRSet.cpp:27
fei_macros.hpp
Generated on Fri Sep 1 2023 07:58:30 for FEI Package Browser (Single Doxygen Collection) by
1.8.5