MCPcopy Create free account
hub / github.com/chrxh/alien / addAndSelectSimulationData

Method addAndSelectSimulationData

source/EngineImpl/EngineWorker.cpp:199–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void EngineWorker::addAndSelectSimulationData(DataDescription const& dataToUpdate)
200{
201 DescriptionConverter converter(_settings.simulationParameters);
202
203 auto arraySizes = converter.getArraySizes(dataToUpdate);
204
205 EngineWorkerGuard access(this);
206
207 _simulationCudaFacade->resizeArraysIfNecessary(arraySizes);
208
209 DataTO dataTO = provideTO();
210
211 converter.convertDescriptionToTO(dataTO, dataToUpdate);
212
213 _simulationCudaFacade->addAndSelectSimulationData(dataTO);
214}
215
216void EngineWorker::setClusteredSimulationData(ClusteredDataDescription const& dataToUpdate)
217{

Callers 15

TEST_FFunction · 0.45
onCreateSporeMethod · 0.45
showMethod · 0.45
onDrawingMethod · 0.45
createCellMethod · 0.45
createParticleMethod · 0.45
createRectangleMethod · 0.45
createHexagonMethod · 0.45
createDiscMethod · 0.45
onExecuteMethod · 0.45
onBuildMethod · 0.45
onUndoMethod · 0.45

Calls 2

getArraySizesMethod · 0.45

Tested by 1

TEST_FFunction · 0.36