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

Description

Selection rule (v*q)modulus!=0, defined by vector v(a,b,c) and modulus.

Inheritance diagram for SimpleSelectionRule:

Public Member Functions

 SimpleSelectionRule (int a, int b, int c, int modulus)
 
 ~SimpleSelectionRule () override=default
 
SimpleSelectionRuleclone () const override
 
bool coordinateSelected (const I3 &coordinate) const override
 

Constructor & Destructor Documentation

◆ SimpleSelectionRule()

SimpleSelectionRule::SimpleSelectionRule ( int  a,
int  b,
int  c,
int  modulus 
)

◆ ~SimpleSelectionRule()

SimpleSelectionRule::~SimpleSelectionRule ( )
overridedefault

Member Function Documentation

◆ clone()

SimpleSelectionRule* SimpleSelectionRule::clone ( ) const
overridevirtual

Implements ISelectionRule.

◆ coordinateSelected()

bool SimpleSelectionRule::coordinateSelected ( const I3 coordinate) const
overridevirtual

Implements ISelectionRule.