15 #ifndef BORNAGAIN_CORE_SIMULATION_GISASSIMULATION_H
16 #define BORNAGAIN_CORE_SIMULATION_GISASSIMULATION_H
Defines interface ISimulation2D.
Defines class SimulationElement.
An incident neutron or x-ray beam.
Main class to run a Grazing-Incidence Small-Angle Scattering simulation.
void initSimulationElementVector() override
Initializes the vector of ISimulation elements.
GISASSimulation * clone() const override
void setBeamParameters(double wavelength, double alpha_i, double phi_i)
Sets beam parameters from here (forwarded to Instrument)
void accept(INodeVisitor *visitor) const override
Calls the INodeVisitor's visit method.
size_t intensityMapSize() const override
Returns the total number of the intensity values in the simulation result.
void prepareSimulation() override
Put into a clean state for running a simulation.
SimulationResult result() const override
Returns the results of the simulation in a format that supports unit conversion and export to numpy a...
Abstract detector interface.
Visitor interface to visit ISampleNode objects.
virtual void visit(const BasicLattice2D *)
Interface to the class capable to build samples to simulate.
Abstract base class of OffSpecularSimulation and GISASSimulation.
const MultiLayer * sample() const
Our sample model: a stack of layers one below the other.
Wrapper around OutputData<double> that also provides unit conversions.