BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Contains functions to build the domain simulation from instrument and sample models.
Functions | |
std::unique_ptr< ISimulation > | itemsToSimulation (const MultiLayerItem *sampleItem, const InstrumentItem *instrumentItem, const SimulationOptionsItem &optionsItem) |
Creates domain simulation from sample and instrument items. More... | |
std::unique_ptr< MultiLayer > | itemToSample (const MultiLayerItem &item) |
std::unique_ptr< ISimulation > GUI::Transform::ToCore::itemsToSimulation | ( | const MultiLayerItem * | sampleItem, |
const InstrumentItem * | instrumentItem, | ||
const SimulationOptionsItem & | optionsItem | ||
) |
Creates domain simulation from sample and instrument items.
Definition at line 161 of file SimulationToCore.cpp.
References itemToSample().
Referenced by FitObjectiveBuilder::buildSimulation(), PythonScriptWidget::generatePythonScript(), and JobQueueData::runJob().
std::unique_ptr< MultiLayer > GUI::Transform::ToCore::itemToSample | ( | const MultiLayerItem & | item | ) |
Definition at line 125 of file SampleToCore.cpp.
References MultiLayerItem::layers().
Referenced by ScriptPanel::generateCodeSnippet(), and itemsToSimulation().