14 _volumeIterator->Reset();
15 index_t size = _volumeIterator->GetVolumenSize();
16 double *
result =
new double[size];
19 index_t index = _volumeIterator->GetCurrentIndex();
20 result[i] = *(_doF.*GetterOfDoF)(index);
22 while (_volumeIterator->HasNext())
24 index = _volumeIterator->GetNextIndex();
26 result[i] = *(_doF.*GetterOfDoF)(index);
29 return resultContainer;
int result
Definition dllmain.cpp:82
ResultSourceScalar(ExecutionBarrier *executionBarrier, IGridIteratorVolume *volumeIter, DegreesOfFreedom3DLoopCPU< T > &doF, T *(DegreesOfFreedom3DLoopCPU< T >::*GetterDoF)(index_t index) const)
Definition ResultSourceScalar.hpp:7