FEI Version of the Day
Loading...
Searching...
No Matches
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//==============================================================================
15BCNodeSet::BCNodeSet()
16 : numNodes_(0),
17 nodeIDs_(NULL),
18 fieldID_(-1),
19 offsetsIntoField_(NULL),
20 prescribed_values_(NULL)
21{
22}
23
24//==============================================================================
25BCNodeSet::~BCNodeSet() {
26 deleteMemory();
27}
28
29//==============================================================================
30void BCNodeSet::deleteMemory() {
31 delete [] offsetsIntoField_;
32 delete [] prescribed_values_;
33
34 delete [] nodeIDs_;
35
36 numNodes_ = 0;
37}
38