-
- Downloads
Replace numberOfSimulationElements with intensityMapSize outside of Simulation class tree
Simulation::numberOfSimulationElements was previously used as a synonym to the number of values in the intensity map. However it is different in the case of SpecularSimulation with beam divergence and could lead to malfunctioning in the future. To avoid confusion, numberOfSimulationElements method was placed in the protected scope of Simulation class. Simulation::intensityMapSize returns the actual size of intensity map.
Showing
- Core/Fitting/SimDataPair.cpp 1 addition, 1 deletionCore/Fitting/SimDataPair.cpp
- Core/Simulation/DepthProbeSimulation.h 6 additions, 2 deletionsCore/Simulation/DepthProbeSimulation.h
- Core/Simulation/GISASSimulation.h 3 additions, 3 deletionsCore/Simulation/GISASSimulation.h
- Core/Simulation/OffSpecSimulation.h 3 additions, 3 deletionsCore/Simulation/OffSpecSimulation.h
- Core/Simulation/Simulation.h 5 additions, 1 deletionCore/Simulation/Simulation.h
- Core/Simulation/Simulation2D.h 4 additions, 1 deletionCore/Simulation/Simulation2D.h
- Core/Simulation/SpecularSimulation.cpp 5 additions, 0 deletionsCore/Simulation/SpecularSimulation.cpp
- Core/Simulation/SpecularSimulation.h 6 additions, 2 deletionsCore/Simulation/SpecularSimulation.h
- Tests/UnitTests/Core/Other/GISASSimulationTest.cpp 5 additions, 5 deletionsTests/UnitTests/Core/Other/GISASSimulationTest.cpp
Loading
Please register or sign in to comment