15 #ifndef BORNAGAIN_CORE_SIMULATION_GISASSIMULATION_H
16 #define BORNAGAIN_CORE_SIMULATION_GISASSIMULATION_H
Defines class Simulation2D.
Defines class SimulationElement.
Main class to run a Grazing-Incidence Small-Angle Scattering simulation.
void initSimulationElementVector() override
Initializes the vector of Simulation 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...
Visitor interface to visit ISample objects.
virtual void visit(const BasicLattice *)
Interface to the class capable to build samples to simulate.
Our sample model: a stack of layers one below the other.
Pure virtual base class of OffSpecularSimulation and GISASSimulation.
Wrapper around OutputData<double> that also provides unit conversions.
const double wavelength(0.154)