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

Description

A two-dimensional Bravais lattice with no special symmetry.

Inheritance diagram for BasicLattice2D:

Public Member Functions

 BasicLattice2D (double length1, double length2, double angle, double xi)
 
std::string className () const final
 
BasicLattice2Dclone () 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

◆ BasicLattice2D()

BasicLattice2D::BasicLattice2D ( double  length1,
double  length2,
double  angle,
double  xi 
)

Member Function Documentation

◆ className()

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

◆ clone()

BasicLattice2D* BasicLattice2D::clone ( ) const
overridevirtual

Implements Lattice2D.

◆ latticeAngle()

double BasicLattice2D::latticeAngle ( ) const
overridevirtual

Implements Lattice2D.

◆ length1()

double BasicLattice2D::length1 ( ) const
overridevirtual

Implements Lattice2D.

◆ length2()

double BasicLattice2D::length2 ( ) const
overridevirtual

Implements Lattice2D.

◆ parDefs()

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

◆ reciprocalBases()

ReciprocalBases Lattice2D::reciprocalBases ( ) const
inherited

◆ rotationAngle()

double Lattice2D::rotationAngle ( ) const
inherited

◆ setRotationEnabled()

void Lattice2D::setRotationEnabled ( bool  enabled)
inherited

◆ unitCellArea()

double BasicLattice2D::unitCellArea ( ) const
overridevirtual

Implements Lattice2D.

Member Data Documentation

◆ m_xi

double Lattice2D::m_xi
protectedinherited