Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Geometry::LatticeSpacingCalculator Class Reference

Small helper functor to calculate d-Values from a unit cell. More...

Public Member Functions

 LatticeSpacingCalculator (const UnitCell &cell)
 
double operator() (const V3D &hkl)
 

Private Attributes

UnitCell m_cell
 

Detailed Description

Small helper functor to calculate d-Values from a unit cell.

Definition at line 19 of file ReflectionGenerator.cpp.

Constructor & Destructor Documentation

◆ LatticeSpacingCalculator()

Mantid::Geometry::LatticeSpacingCalculator::LatticeSpacingCalculator ( const UnitCell cell)
inlineexplicit

Definition at line 21 of file ReflectionGenerator.cpp.

Member Function Documentation

◆ operator()()

double Mantid::Geometry::LatticeSpacingCalculator::operator() ( const V3D hkl)
inline

Definition at line 23 of file ReflectionGenerator.cpp.

References Mantid::Geometry::UnitCell::d(), and m_cell.

Member Data Documentation

◆ m_cell

UnitCell Mantid::Geometry::LatticeSpacingCalculator::m_cell
private

Definition at line 26 of file ReflectionGenerator.cpp.

Referenced by operator()().


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