CubbyFlow::BccLatticePointGenerator Class Referencefinal

Body-centered lattice points generator. More...

#include <Core/PointGenerator/BccLatticePointGenerator.hpp>

Inheritance diagram for CubbyFlow::BccLatticePointGenerator:
CubbyFlow::PointGenerator3

Public Member Functions

void ForEachPoint (const BoundingBox3D &boundingBox, double spacing, const std::function< bool(const Vector3D &)> &callback) const override
 Invokes callback function for each BCC-lattice points inside boundingBox. More...
 
- Public Member Functions inherited from CubbyFlow::PointGenerator3
 PointGenerator3 ()=default
 Default constructor. More...
 
 PointGenerator3 (const PointGenerator3 &)=default
 Default copy constructor. More...
 
 PointGenerator3 (PointGenerator3 &&) noexcept=default
 Default move constructor. More...
 
virtual ~PointGenerator3 ()=default
 Default virtual destructor. More...
 
PointGenerator3operator= (const PointGenerator3 &)=default
 Default copy assignment operator. More...
 
PointGenerator3operator= (PointGenerator3 &&) noexcept=default
 Default move assignment operator. More...
 
void Generate (const BoundingBox3D &boundingBox, double spacing, Array1< Vector3D > *points) const
 

Detailed Description

Member Function Documentation

◆ ForEachPoint()

void CubbyFlow::BccLatticePointGenerator::ForEachPoint ( const BoundingBox3D boundingBox,
double  spacing,
const std::function< bool(const Vector3D &)> &  callback 
) const
overridevirtual

Invokes callback function for each BCC-lattice points inside boundingBox.

This function iterates every BCC-lattice points inside boundingBox where spacing is the size of the unit cell of BCC structure.

Implements CubbyFlow::PointGenerator3.


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