BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
HexagonalLattice2D Class Reference

Description

A two-dimensional Bravais lattice with hexagonal symmetry.

Inheritance diagram for HexagonalLattice2D:

Public Member Functions

 HexagonalLattice2D (double length, double xi)
 
std::string className () const final
 
HexagonalLattice2Dclone () const override
 
double latticeAngle () const override
 
double length1 () const override
 
double length2 () const override
 
std::vector< ParaMeta > parDefs () const final
 
ReciprocalBases reciprocalBases () const
 
double rotationAngle () const
 
void setRotationEnabled (bool enabled)
 
double unitCellArea () const override
 

Protected Attributes

double m_xi
 

Constructor & Destructor Documentation

◆ HexagonalLattice2D()

HexagonalLattice2D::HexagonalLattice2D ( double  length,
double  xi 
)

Member Function Documentation

◆ className()

std::string HexagonalLattice2D::className ( ) const
final

◆ clone()

HexagonalLattice2D* HexagonalLattice2D::clone ( ) const
overridevirtual

Implements Lattice2D.

◆ latticeAngle()

double HexagonalLattice2D::latticeAngle ( ) const
overridevirtual

Implements Lattice2D.

◆ length1()

double HexagonalLattice2D::length1 ( ) const
overridevirtual

Implements Lattice2D.

◆ length2()

double HexagonalLattice2D::length2 ( ) const
overridevirtual

Implements Lattice2D.

◆ parDefs()

std::vector<ParaMeta> HexagonalLattice2D::parDefs ( ) const
final

◆ reciprocalBases()

ReciprocalBases Lattice2D::reciprocalBases ( ) const
inherited

◆ rotationAngle()

double Lattice2D::rotationAngle ( ) const
inherited

◆ setRotationEnabled()

void Lattice2D::setRotationEnabled ( bool  enabled)
inherited

◆ unitCellArea()

double HexagonalLattice2D::unitCellArea ( ) const
overridevirtual

Implements Lattice2D.

Member Data Documentation

◆ m_xi

double Lattice2D::m_xi
protectedinherited