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

Method getClusteredSimulationData

source/EngineImpl/EngineWorker.cpp:112–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112ClusteredDataDescription EngineWorker::getClusteredSimulationData(IntVector2D const& rectUpperLeft, IntVector2D const& rectLowerRight)
113{
114 DataTO dataTO;
115 {
116 EngineWorkerGuard access(this);
117
118 dataTO.init(_simulationCudaFacade->getArraySizes());
119
120 _simulationCudaFacade->getSimulationData({rectUpperLeft.x, rectUpperLeft.y}, int2{rectLowerRight.x, rectLowerRight.y}, dataTO);
121 }
122 DescriptionConverter converter(_settings.simulationParameters);
123
124 auto result = converter.convertTOtoClusteredDataDescription(dataTO);
125 dataTO.destroy();
126 return result;
127}
128
129DataDescription EngineWorker::getSimulationData(IntVector2D const& rectUpperLeft, IntVector2D const& rectLowerRight)
130{

Callers 6

TEST_FFunction · 0.45
processRequestMethod · 0.45
mainFunction · 0.45
onResizingMethod · 0.45
calcPartitionDataMethod · 0.45
onExecuteMethod · 0.45

Calls 4

initMethod · 0.45
getArraySizesMethod · 0.45
getSimulationDataMethod · 0.45

Tested by 1

TEST_FFunction · 0.36