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

Description

A two-dimensional Bravais lattice with square unit cell.

Inheritance diagram for SquareLattice2D:

Public Member Functions

 SquareLattice2D (double length, double xi=0.0)
 
std::string className () const final
 
SquareLattice2Dclone () 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

◆ SquareLattice2D()

SquareLattice2D::SquareLattice2D ( double  length,
double  xi = 0.0 
)

Member Function Documentation

◆ className()

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

◆ clone()

SquareLattice2D* SquareLattice2D::clone ( ) const
overridevirtual

Implements Lattice2D.

◆ latticeAngle()

double SquareLattice2D::latticeAngle ( ) const
overridevirtual

Implements Lattice2D.

◆ length1()

double SquareLattice2D::length1 ( ) const
overridevirtual

Implements Lattice2D.

◆ length2()

double SquareLattice2D::length2 ( ) const
overridevirtual

Implements Lattice2D.

◆ parDefs()

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

◆ reciprocalBases()

ReciprocalBases Lattice2D::reciprocalBases ( ) const
inherited

◆ rotationAngle()

double Lattice2D::rotationAngle ( ) const
inherited

◆ setRotationEnabled()

void Lattice2D::setRotationEnabled ( bool  enabled)
inherited

◆ unitCellArea()

double SquareLattice2D::unitCellArea ( ) const
overridevirtual

Implements Lattice2D.

Member Data Documentation

◆ m_xi

double Lattice2D::m_xi
protectedinherited