FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
double * prescribed_values_
Definition: BCNodeSet.hpp:25
void deleteMemory()
Definition: BCNodeSet.cpp:30
int numNodes_
Definition: BCNodeSet.hpp:21
int * offsetsIntoField_
Definition: BCNodeSet.hpp:24
GlobalID * nodeIDs_
Definition: BCNodeSet.hpp:22