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

Description

A layer in a MultiLayer sample.

Inheritance diagram for Layer:

Public Member Functions

 Layer (Material material, double thickness=0)
 
 ~Layer () override
 
void addLayout (const ParticleLayout &layout)
 
std::string className () const final
 
Layerclone () const override
 
std::vector< const ParticleLayout * > layouts () const
 
const Materialmaterial () const override
 
std::vector< const INode * > nodeChildren () const override
 
size_t numberOfLayouts () const
 
unsigned int numberOfSlices () const
 
std::vector< ParaMeta > parDefs () const final
 
void setNumberOfSlices (unsigned int n_slices)
 
double thickness () const
 

Constructor & Destructor Documentation

◆ Layer()

Layer::Layer ( Material  material,
double  thickness = 0 
)

◆ ~Layer()

Layer::~Layer ( )
override

Member Function Documentation

◆ addLayout()

void Layer::addLayout ( const ParticleLayout layout)

◆ className()

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

◆ clone()

Layer* Layer::clone ( ) const
override

◆ layouts()

std::vector<const ParticleLayout*> Layer::layouts ( ) const

◆ material()

const Material* Layer::material ( ) const
override

◆ nodeChildren()

std::vector<const INode*> Layer::nodeChildren ( ) const
override

◆ numberOfLayouts()

size_t Layer::numberOfLayouts ( ) const

◆ numberOfSlices()

unsigned int Layer::numberOfSlices ( ) const

◆ parDefs()

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

◆ setNumberOfSlices()

void Layer::setNumberOfSlices ( unsigned int  n_slices)

◆ thickness()

double Layer::thickness ( ) const