FEI
Version of the Day
Main Page
Related Pages
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
test_utils
BCNodeSet.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/BCNodeSet.hpp>
12
#include <cstdlib>
13
14
//==============================================================================
15
BCNodeSet::BCNodeSet()
16
: numNodes_(0),
17
nodeIDs_(NULL),
18
fieldID_(-1),
19
offsetsIntoField_(NULL),
20
prescribed_values_(NULL)
21
{
22
}
23
24
//==============================================================================
25
BCNodeSet::~BCNodeSet() {
26
deleteMemory();
27
}
28
29
//==============================================================================
30
void
BCNodeSet::deleteMemory() {
31
delete
[] offsetsIntoField_;
32
delete
[] prescribed_values_;
33
34
delete
[] nodeIDs_;
35
36
numNodes_ = 0;
37
}
38
Generated on Fri Sep 1 2023 07:58:41 for FEI by
1.8.5