OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::ConnectivityTable Class Reference

Class representing connectivity table. More...

#include <connectivitytable.h>

+ Collaboration diagram for oofem::ConnectivityTable:

Public Member Functions

 ConnectivityTable (Domain *d)
 Constructor. More...
 
 ~ConnectivityTable ()
 Destructor. More...
 
void reset ()
 reset receiver to an initial state (will force table update, when needed next time) More...
 
void setDomain (Domain *ipDomain)
 
void instanciateConnectivityTable ()
 Builds connectivity table. More...
 
const IntArraygiveDofManConnectivityArray (int dofman)
 
void giveElementNeighbourList (IntArray &answer, IntArray &elemList)
 Returns list of neighboring elements to given elements (they are included too). More...
 
void giveNodeNeighbourList (IntArray &answer, IntArray &nodeList)
 Returns list of elements sharing given nodes. More...
 

Private Attributes

Domaindomain
 Pointer to domain to which receiver belongs to. More...
 
std::vector< IntArraynodalConnectivity
 Nodal connectivity table for domain. More...
 
int nodalConnectivityFlag
 Flag indicating assembled connectivity table for domain. More...
 

Detailed Description

Class representing connectivity table.

Usually attribute of domain. Provides selected connectivity information services for domain.

Its tasks are

  • Creating connectivity table - method InstanciateYourself.
  • Returning number of Elements belonging to node.
  • Returning j-th element belonging to node i.

Definition at line 55 of file connectivitytable.h.

Constructor & Destructor Documentation

oofem::ConnectivityTable::ConnectivityTable ( Domain d)
inline

Constructor.

Creates new Connectivity table belonging to given domain.

Definition at line 70 of file connectivitytable.h.

oofem::ConnectivityTable::~ConnectivityTable ( )
inline

Destructor.

Definition at line 72 of file connectivitytable.h.

Member Function Documentation

void oofem::ConnectivityTable::giveElementNeighbourList ( IntArray answer,
IntArray elemList 
)
void oofem::ConnectivityTable::reset ( )

reset receiver to an initial state (will force table update, when needed next time)

Definition at line 44 of file connectivitytable.C.

References nodalConnectivityFlag.

Referenced by oofem::Domain::commitTransactions().

void oofem::ConnectivityTable::setDomain ( Domain ipDomain)
inline

Definition at line 76 of file connectivitytable.h.

Member Data Documentation

Domain* oofem::ConnectivityTable::domain
private

Pointer to domain to which receiver belongs to.

Definition at line 59 of file connectivitytable.h.

Referenced by giveElementNeighbourList(), and instanciateConnectivityTable().

std::vector< IntArray > oofem::ConnectivityTable::nodalConnectivity
private

Nodal connectivity table for domain.

Definition at line 62 of file connectivitytable.h.

Referenced by giveDofManConnectivityArray(), giveElementNeighbourList(), giveNodeNeighbourList(), and instanciateConnectivityTable().

int oofem::ConnectivityTable::nodalConnectivityFlag
private

Flag indicating assembled connectivity table for domain.

Definition at line 64 of file connectivitytable.h.

Referenced by giveDofManConnectivityArray(), giveElementNeighbourList(), giveNodeNeighbourList(), instanciateConnectivityTable(), and reset().


The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:34 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011