68 m_postSolveData( nullptr )
75 return m_data !=
nullptr ? m_data->instance.size() : 0u;
95 if ( m_data !=
nullptr ) {
97 m_postSolveData = &postSolveData;
107 m_postSolveData =
nullptr;
119 onEntityPtr( m_data->instance[ i ], *m_handler, *m_postSolveData );
LambdaKernel(const agx::Name &name, LambdaCallback lambdaCallback, DataSetSizeCallback sizeCallback)
Constructor.
const T * getData() const
Base class for a merge split algorithm handling a set of merged bodies.
void execute()
Execute the task.
agx::UInt getNumElements() const
Accessor to a entity instance stored in a EntityStorage, to allow SOA (structure of arrays) data to b...
virtual void onEntityPtr(agxData::EntityPtr ptr, const agxSDK::MergeSplitHandler &handler, const agxSDK::MergeSplitPostSolveData &postSolveData)=0
Representation of a name string.
A range job executes a kernel implementation on a subset of the data.
virtual void onPreExecute()
MergeSplitParallelReferencedDataKernel(const agx::Name &name)
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)
virtual void onPostExecute()
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...