24#ifndef OLB_LINE_LATTICE_3D_H
25#define OLB_LINE_LATTICE_3D_H
44 int computeMaxLatticeDistance()
const;
46 void constructCuboid(
int maxLatticeDistance);
48 void setToResolution(
int resolution);
Decomposition of a physical volume into a set of disjoint cuboids.
Parametrization of a line3D lattice (i.e. a line lattice).
const Line3D< T > _line3D
LineLattice3D(CuboidDecomposition< T, 3 > &geometry, Line3D< T > line3D)
Constructor for automatic discretization.
LineLattice3D(const LineLattice3D &)=default
T _h
Distance between discrete lattice points.
int _n
Number of lattice points in the direction of _u.
Vector< T, 3 > getPhysR(const int &n) const
Transform 1d lattice coordinates to their physical 3d location.
Vector< T, 3 > getVectorU() const
Vector< T, 3 > _origin
Origin vector of the lattice.
Vector< T, 3 > _u
Direction vector of the lattice, normalized to grid width _h.
const Line3D< T > & getLine3D() const
Vector< T, 3 > getPhysOrigin() const
Top level namespace for all of OpenLB.
Definition of a analytical line embedded in 3D space.
efficient implementation of a vector class