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