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

#include <subdivision.h>

+ Inheritance diagram for oofem::Subdivision::RS_Triangle:
+ Collaboration diagram for oofem::Subdivision::RS_Triangle:

Public Member Functions

 RS_Triangle (int number, Subdivision::RS_Mesh *mesh, int parent, IntArray &nodes)
 
int evaluateLongestEdge ()
 
void bisect (std::queue< int > &subdivqueue, std::list< int > &sharedIrregularsQueue)
 
void generate (std::list< int > &sharedEdgesQueue)
 
void update_neighbours ()
 
double giveDensity ()
 
bool isNeighborOf (Subdivision::RS_Element *elem)
 
void giveSideNodes (int iside, IntArray &snodes)
 
int giveEdgeIndex (int iNode, int jNode)
 
virtual void importConnectivity (ConnectivityTable *ct)
 
void drawGeometry ()
 
void numberSharedEdges (int iNode, IntArray &connNodes)
 
void makeSharedEdges ()
 
- Public Member Functions inherited from oofem::Subdivision::RS_Element
 RS_Element (int number, Subdivision::RS_Mesh *m, int parent, IntArray &nodes)
 
virtual ~RS_Element ()
 
bool hasIrregulars ()
 Returns true if element has some irregular nodes. More...
 
bool isTerminal ()
 Returns true if receiver is terminal (not further subdivided) More...
 
int giveIrregular (int iedge)
 
void setIrregular (int iedge, int ir)
 
virtual double giveRequiredDensity ()
 
const IntArraygiveChildren ()
 
const IntArraygiveNeighbors ()
 
int giveNeighbor (int iside)
 
void setNeighbor (int iside, int nb)
 
bool containsNode (int _node)
 
int giveParent ()
 
int giveTopParent ()
 
bool giveQueueFlag ()
 
void setQueueFlag (bool _qf)
 
void buildTopLevelNodeConnectivity (Subdivision::RS_Node *node)
 
const IntArraygiveNodes ()
 
int giveNode (int i)
 
int giveNumber ()
 
void setNumber (int newNum)
 
int giveLeIndex ()
 Returns the longest edge index of the receiver. More...
 
void setLeIndex (int _n)
 Sets the longest edge index. More...
 
int giveGlobalNumber ()
 
void setGlobalNumber (int gn)
 
const IntArraygiveSharedEdges ()
 
int giveSharedEdge (int iedge)
 
void setSharedEdge (int iedge, int num)
 
elementParallelMode giveParallelMode () const
 
void setParallelMode (elementParallelMode _mode)
 

Additional Inherited Members

- Protected Attributes inherited from oofem::Subdivision::RS_Element
int number
 
IntArray nodes
 
IntArray neghbours_base_elements
 
IntArray irregular_nodes
 
IntArray children
 
int parent
 
int leIndex
 
RS_Meshmesh
 
bool queue_flag
 
int globalNumber
 
elementParallelMode parallel_mode
 
IntArray shared_edges
 

Detailed Description

Definition at line 255 of file subdivision.h.

Constructor & Destructor Documentation

Member Function Documentation

void oofem::Subdivision::RS_Triangle::bisect ( std::queue< int > &  subdivqueue,
std::list< int > &  sharedIrregularsQueue 
)
virtual

Reimplemented from oofem::Subdivision::RS_Element.

Definition at line 661 of file subdivision.C.

References oofem::FloatArray::add(), oofem::Subdivision::RS_Mesh::addNode(), oofem::IntArray::at(), oofem::DofManager_shared, oofem::Subdivision::RS_Node::drawGeometry(), oofem::Subdivision::RS_Node::giveCoordinates(), oofem::Subdivision::giveDomain(), oofem::Subdivision::RS_Mesh::giveEdge(), oofem::Subdivision::RS_Element::giveEdgeIndex(), oofem::Domain::giveElement(), oofem::Subdivision::RS_Mesh::giveElement(), oofem::Subdivision::RS_Node::giveGlobalNumber(), oofem::Subdivision::RS_Mesh::giveNode(), oofem::Subdivision::RS_Element::giveNumber(), oofem::Subdivision::RS_Mesh::giveNumberOfNodes(), oofem::Subdivision::RS_SharedEdge::givePartitions(), oofem::Subdivision::RS_Element::giveQueueFlag(), oofem::Subdivision::giveRank(), oofem::Subdivision::RS_Node::giveRequiredDensity(), oofem::IntArray::giveSize(), oofem::Subdivision::RS_Mesh::giveSubdivision(), oofem::Subdivision::RS_Element::giveTopParent(), oofem::Subdivision::RS_Element::irregular_nodes, oofem::Subdivision::RS_Node::isBoundary(), oofem::Subdivision::RS_Element::leIndex, oofem::Subdivision::RS_Element::mesh, oofem::Subdivision::RS_Element::neghbours_base_elements, oofem::Subdivision::RS_Element::nodes, oofem::Subdivision::RS_Element::number, OOFEM_ERROR, OOFEM_LOG_INFO, oofem::Subdivision::RS_Node::setBoundary(), oofem::Subdivision::RS_IrregularNode::setEdgeNodes(), oofem::Subdivision::RS_Element::setIrregular(), oofem::Subdivision::RS_Node::setParallelMode(), oofem::Subdivision::RS_Node::setPartitions(), oofem::Subdivision::RS_Element::setQueueFlag(), oofem::Subdivision::RS_Element::shared_edges, and oofem::FloatArray::times().

int oofem::Subdivision::RS_Triangle::evaluateLongestEdge ( )
virtual
double oofem::Subdivision::RS_Triangle::giveDensity ( )
virtual
int oofem::Subdivision::RS_Triangle::giveEdgeIndex ( int  iNode,
int  jNode 
)
virtual
void oofem::Subdivision::RS_Triangle::giveSideNodes ( int  iside,
IntArray snodes 
)
virtual
bool oofem::Subdivision::RS_Triangle::isNeighborOf ( Subdivision::RS_Element elem)
virtual
void oofem::Subdivision::RS_Triangle::makeSharedEdges ( )
inlinevirtual

Implements oofem::Subdivision::RS_Element.

Definition at line 273 of file subdivision.h.

Referenced by generate().


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:42 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011