OOFEM 3.0
Loading...
Searching...
No Matches
oofem::InsertNode Class Reference

#include <octreelocalizertutil.h>

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

Public Member Functions

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

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 67 of file octreelocalizertutil.h.

Constructor & Destructor Documentation

◆ InsertNode()

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

Constuctor.

Definition at line 74 of file octreelocalizertutil.h.

References domain.

◆ ~InsertNode()

oofem::InsertNode::~InsertNode ( )
inline

Destructor.

Definition at line 78 of file octreelocalizertutil.h.

Member Function Documentation

◆ evaluate()

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

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 86 of file octreelocalizertutil.h.

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

◆ giveInsertionList()

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

Returns list of LocalInsertionData stored on the member.

Implements oofem::SL_Insertion_Functor< int >.

Definition at line 102 of file octreelocalizertutil.h.

◆ registerInsertion()

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

Stores LocalInsertionData on the member.

Implements oofem::SL_Insertion_Functor< int >.

Definition at line 100 of file octreelocalizertutil.h.

Member Data Documentation

◆ domain

Domain* oofem::InsertNode::domain
protected

Definition at line 70 of file octreelocalizertutil.h.

Referenced by InsertNode().


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

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