OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class keeps track of applied boundary conditions on individual entities. More...
#include <bctracker.h>
Classes | |
struct | Entry |
Helper class storing a sigle record for component (element, node, etc) More... | |
Public Types | |
typedef std::list< Entry > | entryListType |
Public Member Functions | |
BCTracker (Domain *d) | |
void | initialize () |
const entryListType & | getElementRecords (int elem) |
Private Attributes | |
std::vector< entryListType > | elemList |
list keeping element entries More... | |
Domain * | domain |
Domain link. More... | |
This class keeps track of applied boundary conditions on individual entities.
Some of the BCs can be applied via sets, in this case its BC and associated set that keeps track which element or node is subjected to it. In some applications, however, one needs the list of BCs applied on the component. Cration and management of this relation is the task of this class. Note: only element list is managed at present
Definition at line 53 of file bctracker.h.
typedef std::list<Entry> oofem::BCTracker::entryListType |
Definition at line 64 of file bctracker.h.
oofem::BCTracker::BCTracker | ( | Domain * | d | ) |
Definition at line 48 of file bctracker.C.
References domain.
const BCTracker::entryListType & oofem::BCTracker::getElementRecords | ( | int | elem | ) |
Definition at line 100 of file bctracker.C.
References elemList, and initialize().
Referenced by oofem::BeamBaseElement::computeLocalForceLoadVector(), and oofem::Beam3d::giveInternalForcesVectorAtPoint().
void oofem::BCTracker::initialize | ( | ) |
Definition at line 54 of file bctracker.C.
References oofem::IntArray::at(), domain, elemList, oofem::Domain::giveBc(), oofem::Domain::giveNumberOfBoundaryConditions(), oofem::Domain::giveNumberOfElements(), oofem::Domain::giveSet(), oofem::GeneralBoundaryCondition::giveSetNumber(), and oofem::IntArray::giveSize().
Referenced by getElementRecords().
|
private |
Domain link.
Definition at line 70 of file bctracker.h.
Referenced by BCTracker(), and initialize().
|
private |
list keeping element entries
Definition at line 68 of file bctracker.h.
Referenced by getElementRecords(), and initialize().