OOFEM 3.0
Loading...
Searching...
No Matches
bctracker.h
Go to the documentation of this file.
1/*
2 *
3 * ##### ##### ###### ###### ### ###
4 * ## ## ## ## ## ## ## ### ##
5 * ## ## ## ## #### #### ## # ##
6 * ## ## ## ## ## ## ## ##
7 * ## ## ## ## ## ## ## ##
8 * ##### ##### ## ###### ## ##
9 *
10 *
11 * OOFEM : Object Oriented Finite Element Code
12 *
13 * Copyright (C) 1993 - 2025 Borek Patzak
14 *
15 *
16 *
17 * Czech Technical University, Faculty of Civil Engineering,
18 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19 *
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License as published by the Free Software Foundation; either
23 * version 2.1 of the License, or (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 * Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public
31 * License along with this library; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 */
34
35#ifndef bctracker_h
36#define bctracker_h
37
38#include <list>
39#include <vector>
40#ifdef _OPENMP
41#include <omp.h>
42#endif
43
44namespace oofem {
45class Domain;
46
55
56class BCTracker {
57 public:
59 struct Entry {
64
65 Entry (int bc, int bid) {bcNumber=bc; boundaryId = bid;}
66 };
67 typedef std::list<Entry> entryListType;
68
69 private:
71 std::vector<entryListType> elemList;
74 bool initialized=false;
75 #ifdef _OPENMP
76 omp_lock_t initLock;
77#endif
78
79 public:
80 BCTracker (Domain *d);
81
82 void initialize ();
83 const entryListType& getElementRecords (int elem);
84};
85
86} // end namespace oofem
87#endif
88
89
90
std::vector< entryListType > elemList
list keeping element entries
Definition bctracker.h:71
const entryListType & getElementRecords(int elem)
Definition bctracker.C:133
std::list< Entry > entryListType
Definition bctracker.h:67
BCTracker(Domain *d)
Definition bctracker.C:51
void initialize()
Definition bctracker.C:60
Domain * domain
Domain link.
Definition bctracker.h:73
Entry(int bc, int bid)
Definition bctracker.h:65
int bcNumber
bc number
Definition bctracker.h:61
int boundaryId
boundari ID if required
Definition bctracker.h:63

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011