Jet  v1.3.3
fcc_lattice_point_generator.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Doyub Kim
2 //
3 // I am making my contributions/submissions to this project solely in my
4 // personal capacity and am not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef INCLUDE_JET_FCC_LATTICE_POINT_GENERATOR_H_
8 #define INCLUDE_JET_FCC_LATTICE_POINT_GENERATOR_H_
9 
10 #include <jet/point_generator3.h>
11 
12 namespace jet {
13 
21  public:
30  const BoundingBox3D& boundingBox,
31  double spacing,
32  const std::function<bool(const Vector3D&)>& callback) const override;
33 };
34 
36 typedef std::shared_ptr<FccLatticePointGenerator> FccLatticePointGeneratorPtr;
37 
38 } // namespace jet
39 
40 #endif // INCLUDE_JET_FCC_LATTICE_POINT_GENERATOR_H_
jet::FccLatticePointGenerator::forEachPoint
void forEachPoint(const BoundingBox3D &boundingBox, double spacing, const std::function< bool(const Vector3D &)> &callback) const override
Invokes callback function for each FCC-lattice points inside boundingBox.
jet::FccLatticePointGeneratorPtr
std::shared_ptr< FccLatticePointGenerator > FccLatticePointGeneratorPtr
Shared pointer type for the FccLatticePointGenerator.
Definition: fcc_lattice_point_generator.h:36
jet::FccLatticePointGenerator
Face-centered lattice points generator.
Definition: fcc_lattice_point_generator.h:20
jet::BoundingBox< T, 3 >
3-D axis-aligned bounding box class.
Definition: bounding_box3.h:41
jet::PointGenerator3
Abstract base class for 3-D point generator.
Definition: point_generator3.h:25
jet
Definition: advection_solver2.h:18
point_generator3.h
jet::Vector< T, 3 >
3-D vector class.
Definition: vector3.h:25