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

Description

A two-dimensional Bravais lattice.

Inheritance diagram for Lattice2D:

Classes

struct  ReciprocalBases
 

Public Member Functions

 Lattice2D (const std::vector< double > &PValues)
 
 Lattice2D (double xi)
 
Lattice2Dclone () const override=0
 
virtual double latticeAngle () const =0
 
virtual double length1 () const =0
 
virtual double length2 () const =0
 
ReciprocalBases reciprocalBases () const
 
double rotationAngle () const
 
void setRotationEnabled (bool enabled)
 
virtual double unitCellArea () const =0
 

Protected Attributes

double m_xi
 

Constructor & Destructor Documentation

◆ Lattice2D() [1/2]

Lattice2D::Lattice2D ( const std::vector< double > &  PValues)

◆ Lattice2D() [2/2]

Lattice2D::Lattice2D ( double  xi)
explicit

Member Function Documentation

◆ clone()

Lattice2D* Lattice2D::clone ( ) const
overridepure virtual

◆ latticeAngle()

virtual double Lattice2D::latticeAngle ( ) const
pure virtual

◆ length1()

virtual double Lattice2D::length1 ( ) const
pure virtual

◆ length2()

virtual double Lattice2D::length2 ( ) const
pure virtual

◆ reciprocalBases()

ReciprocalBases Lattice2D::reciprocalBases ( ) const

◆ rotationAngle()

double Lattice2D::rotationAngle ( ) const

◆ setRotationEnabled()

void Lattice2D::setRotationEnabled ( bool  enabled)

◆ unitCellArea()

virtual double Lattice2D::unitCellArea ( ) const
pure virtual

Member Data Documentation

◆ m_xi

double Lattice2D::m_xi
protected