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

Functor for storing nodes in the octree. More...

#include <octreelocalizert.h>

+ Inheritance diagram for oofem::InsertNode:
+ Collaboration diagram for oofem::InsertNode:

Public Member Functions

 InsertNode (Domain *d)
 Constuctor. More...
 
 ~InsertNode ()
 Destructor. More...
 
bool evaluate (int &nodeNr, OctantRecT< int > *cell)
 Evaluates the position of a node. More...
 
void registerInsertion (int &nodeNr, LocalInsertionData< int >LIdata)
 Stores LocalInsertionData on the member. More...
 
std::list< LocalInsertionData< int > > * giveInsertionList (int &nodeNr)
 Returns list of LocalInsertionData stored on the member. More...
 

Protected Attributes

Domaindomain
 

Additional Inherited Members

- Protected Types inherited from oofem::SL_Insertion_Functor< int >
typedef std::list< int >::iterator listIteratorType
 

Detailed Description

Functor for storing nodes in the octree.

Author
David Krybus

Definition at line 530 of file octreelocalizert.h.

Constructor & Destructor Documentation

oofem::InsertNode::InsertNode ( Domain d)
inline

Constuctor.

Definition at line 537 of file octreelocalizert.h.

oofem::InsertNode::~InsertNode ( )
inline

Destructor.

Definition at line 541 of file octreelocalizert.h.

Member Function Documentation

bool oofem::InsertNode::evaluate ( int &  nodeNr,
OctantRecT< int > *  cell 
)
inlinevirtual

Evaluates the position of a node.

Parameters
nodeNrNumber of the node in the domain
cellOctant cell to be tested
Returns
true if the node is contained in the cell, false otherwise

Implements oofem::SL_Insertion_Functor< int >.

Definition at line 549 of file octreelocalizert.h.

References oofem::FloatArray::at(), oofem::OctantRecT< T >::containsPoint(), oofem::Node::giveCoordinate(), and oofem::Domain::giveNode().

std :: list< LocalInsertionData< int > >* oofem::InsertNode::giveInsertionList ( int &  member)
inlinevirtual

Returns list of LocalInsertionData stored on the member.

Implements oofem::SL_Insertion_Functor< int >.

Definition at line 565 of file octreelocalizert.h.

void oofem::InsertNode::registerInsertion ( int &  member,
LocalInsertionData< int >  LIdata 
)
inlinevirtual

Stores LocalInsertionData on the member.

Implements oofem::SL_Insertion_Functor< int >.

Definition at line 563 of file octreelocalizert.h.

Member Data Documentation

Domain* oofem::InsertNode::domain
protected

Definition at line 533 of file octreelocalizert.h.


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

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