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
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
//==============================================================================
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
BCNodeSet.hpp
BCNodeSet::prescribed_values_
double * prescribed_values_
Definition:
BCNodeSet.hpp:25
BCNodeSet::BCNodeSet
BCNodeSet()
Definition:
BCNodeSet.cpp:15
BCNodeSet::deleteMemory
void deleteMemory()
Definition:
BCNodeSet.cpp:30
fei_defs.h
BCNodeSet::numNodes_
int numNodes_
Definition:
BCNodeSet.hpp:21
BCNodeSet::offsetsIntoField_
int * offsetsIntoField_
Definition:
BCNodeSet.hpp:24
BCNodeSet::~BCNodeSet
~BCNodeSet()
Definition:
BCNodeSet.cpp:25
BCNodeSet::nodeIDs_
GlobalID * nodeIDs_
Definition:
BCNodeSet.hpp:22
fei_macros.hpp
Generated on Fri Sep 1 2023 07:58:30 for FEI Package Browser (Single Doxygen Collection) by
1.8.5