FEI Package Browser (Single Doxygen Collection)  Version of the Day
BCNodeSet.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/BCNodeSet.hpp>
12 #include <cstdlib>
13 
14 //==============================================================================
16  : numNodes_(0),
17  nodeIDs_(NULL),
18  fieldID_(-1),
19  offsetsIntoField_(NULL),
20  prescribed_values_(NULL)
21 {
22 }
23 
24 //==============================================================================
26  deleteMemory();
27 }
28 
29 //==============================================================================
31  delete [] offsetsIntoField_;
32  delete [] prescribed_values_;
33 
34  delete [] nodeIDs_;
35 
36  numNodes_ = 0;
37 }
38 
BCNodeSet::nodeIDs_
GlobalID * nodeIDs_
Definition: BCNodeSet.hpp:22
fei_macros.hpp
BCNodeSet::numNodes_
int numNodes_
Definition: BCNodeSet.hpp:21
BCNodeSet::BCNodeSet
BCNodeSet()
Definition: BCNodeSet.cpp:15
BCNodeSet::~BCNodeSet
~BCNodeSet()
Definition: BCNodeSet.cpp:25
BCNodeSet::offsetsIntoField_
int * offsetsIntoField_
Definition: BCNodeSet.hpp:24
BCNodeSet::deleteMemory
void deleteMemory()
Definition: BCNodeSet.cpp:30
fei_defs.h
BCNodeSet::prescribed_values_
double * prescribed_values_
Definition: BCNodeSet.hpp:25
BCNodeSet.hpp