Allow iteration over a set of atoms given by a target list (component name or index list) More...
#include <AtomIterator.h>
Collaboration diagram for AtomIterator:Public Member Functions | |
| AtomIterator (PhysicalModel *pml, std::string targetList) | |
| constructor More... | |
| void | begin () |
| place iterator on first atom More... | |
| Atom * | currentAtom () |
| return current atom More... | |
| bool | end () |
| return true if iterator is over the last atom More... | |
| void | next () |
| if iteration is not finished, advance to next atom More... | |
| void | operator++ () |
| redefinition of ++ operator, advance iterator to next atom More... | |
| ~AtomIterator ()=default | |
| destructor More... | |
Allow iteration over a set of atoms given by a target list (component name or index list)
| AtomIterator::AtomIterator | ( | PhysicalModel * | pml, |
| std::string | targetList | ||
| ) |
constructor
References a, PhysicalModel::getAtom(), PhysicalModel::getComponentByName(), TargetList::getIndexedTarget(), TargetList::getNamedTarget(), StructuralComponent::getNumberOfStructures(), TargetList::getNumberOfTargets(), StructuralComponent::getStructure(), and TargetList::indexedTargets().
Here is the call graph for this function:
|
default |
destructor
| void AtomIterator::begin | ( | ) |
place iterator on first atom
Referenced by MonitorDisplacement::calculate(), MonitorDistanceX::calculate(), MonitorDistanceY::calculate(), MonitorDistanceZ::calculate(), MonitorGeometricDeviation::calculate(), MonitorNormDisplacement::calculate(), MonitorPointFinalSetDistance::calculate(), MonitorPointSetDistance::calculate(), MonitorPointToTriangleMeshDistanceFinal::calculate(), MonitorPosition::calculate(), MonitorRen::calculate(), Reference::getDistanceToTriangularMesh(), Reference::getNearest(), and Monitor::Monitor().
Here is the caller graph for this function:| Atom * AtomIterator::currentAtom | ( | ) |
return current atom
Referenced by MonitorDisplacement::calculate(), MonitorDistanceX::calculate(), MonitorDistanceY::calculate(), MonitorDistanceZ::calculate(), MonitorGeometricDeviation::calculate(), MonitorNormDisplacement::calculate(), MonitorPointFinalSetDistance::calculate(), MonitorPointSetDistance::calculate(), MonitorPointToTriangleMeshDistanceFinal::calculate(), MonitorPosition::calculate(), MonitorRen::calculate(), Reference::getDistanceToTriangularMesh(), Reference::getNearest(), and Monitor::Monitor().
Here is the caller graph for this function:| bool AtomIterator::end | ( | ) |
return true if iterator is over the last atom
Referenced by MonitorDisplacement::calculate(), MonitorDistanceX::calculate(), MonitorDistanceY::calculate(), MonitorDistanceZ::calculate(), MonitorGeometricDeviation::calculate(), MonitorNormDisplacement::calculate(), MonitorPointFinalSetDistance::calculate(), MonitorPointSetDistance::calculate(), MonitorPointToTriangleMeshDistanceFinal::calculate(), MonitorPosition::calculate(), MonitorRen::calculate(), Reference::getDistanceToTriangularMesh(), Reference::getNearest(), Monitor::Monitor(), next(), and operator++().
Here is the caller graph for this function:| void AtomIterator::next | ( | ) |
if iteration is not finished, advance to next atom
References end().
Referenced by MonitorDisplacement::calculate(), MonitorDistanceX::calculate(), MonitorDistanceY::calculate(), MonitorDistanceZ::calculate(), MonitorGeometricDeviation::calculate(), MonitorNormDisplacement::calculate(), MonitorPointFinalSetDistance::calculate(), MonitorPointSetDistance::calculate(), MonitorPointToTriangleMeshDistanceFinal::calculate(), MonitorPosition::calculate(), MonitorRen::calculate(), Reference::getDistanceToTriangularMesh(), Reference::getNearest(), and Monitor::Monitor().
Here is the call graph for this function:
Here is the caller graph for this function:| void AtomIterator::operator++ | ( | ) |
redefinition of ++ operator, advance iterator to next atom
References end().
Here is the call graph for this function: