chrono::gpu::ChSolverStateData Class Reference

Description

ChSolverStateData contains information that pertains the solver, at a certain point in time.

It contains information about the current sim time, current time step, max number of spheres in each SD, etc. This is the type of information that changes (or not) from time step to time step.

#include <ChSystemGpu_impl.h>

Public Member Functions

unsigned int * pMM_maxNumberSpheresInAnySD ()
 
void recordCrntMaxNumberSpheresInAnySD (unsigned int someVal)
 keep track of the largest number of spheres that touched an SD thus far into the simulation
 
unsigned int MaxNumberSpheresInAnySDThusFar () const
 reports the largest number of spheres that touched any SD thus far into the simulation
 
unsigned int currentMaxNumberSpheresInAnySD () const
 reports the largest number of spheres that touched any SD at the most recent broadphase CD function call
 
char * pDeviceMemoryScratchSpace (size_t sizeNeeded)
 return raw pointer to swath of device memory that is at least "sizeNeeded" large
 

Member Function Documentation

◆ pMM_maxNumberSpheresInAnySD()

unsigned int* chrono::gpu::ChSolverStateData::pMM_maxNumberSpheresInAnySD ( )
inline

< returns pointer to managed memory


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_gpu/physics/ChSystemGpu_impl.h