BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SquareLattice2D Class Reference

A two-dimensional Bravais lattice with square unit cell. More...

+ Inheritance diagram for SquareLattice2D:

Public Member Functions

 SquareLattice2D (double length, double xi=0.0)
 
void accept (INodeVisitor *visitor) const final
 
SquareLattice2Dclone () const
 
virtual double latticeAngle () const
 
virtual double length1 () const
 
virtual double length2 () const
 
ReciprocalBases reciprocalBases () const
 
double rotationAngle () const
 
void setRotationEnabled (bool enabled)
 
virtual double unitCellArea () const
 

Protected Member Functions

virtual void onChange ()
 

Protected Attributes

double m_xi
 

Detailed Description

A two-dimensional Bravais lattice with square unit cell.