#include <mechanical_forces_op_cuda_kernel.h>
|
| MechanicalForcesOpCudaKernel (uint32_t num_agents, uint32_t num_boxes) |
|
virtual | ~MechanicalForcesOpCudaKernel () |
|
void | LaunchMechanicalForcesKernel (const real_t *positions, const real_t *diameter, const real_t *tractor_force, const real_t *adherence, const uint32_t *box_id, const real_t *mass, const real_t timestep, const real_t max_displacement, const real_t squared_radius, const uint32_t num_agents, uint32_t *starts, uint16_t *lengths, uint64_t *timestamps, uint64_t current_timestamp, uint32_t *successors, uint32_t *num_boxes_axis, real_t *cell_movements) |
|
void | Sync () const |
|
void | ResizeCellBuffers (uint32_t num_cells) |
|
void | ResizeGridBuffers (uint32_t num_boxes) |
|
◆ MechanicalForcesOpCudaKernel()
bdm::MechanicalForcesOpCudaKernel::MechanicalForcesOpCudaKernel |
( |
uint32_t |
num_agents, |
|
|
uint32_t |
num_boxes |
|
) |
| |
|
inline |
◆ ~MechanicalForcesOpCudaKernel()
bdm::MechanicalForcesOpCudaKernel::~MechanicalForcesOpCudaKernel |
( |
| ) |
|
|
inlinevirtualdefault |
◆ LaunchMechanicalForcesKernel()
void bdm::MechanicalForcesOpCudaKernel::LaunchMechanicalForcesKernel |
( |
const real_t * |
positions, |
|
|
const real_t * |
diameter, |
|
|
const real_t * |
tractor_force, |
|
|
const real_t * |
adherence, |
|
|
const uint32_t * |
box_id, |
|
|
const real_t * |
mass, |
|
|
const real_t |
timestep, |
|
|
const real_t |
max_displacement, |
|
|
const real_t |
squared_radius, |
|
|
const uint32_t |
num_agents, |
|
|
uint32_t * |
starts, |
|
|
uint16_t * |
lengths, |
|
|
uint64_t * |
timestamps, |
|
|
uint64_t |
current_timestamp, |
|
|
uint32_t * |
successors, |
|
|
uint32_t * |
num_boxes_axis, |
|
|
real_t * |
cell_movements |
|
) |
| |
|
inline |
◆ ResizeCellBuffers()
void bdm::MechanicalForcesOpCudaKernel::ResizeCellBuffers |
( |
uint32_t |
num_cells | ) |
|
|
inline |
◆ ResizeGridBuffers()
void bdm::MechanicalForcesOpCudaKernel::ResizeGridBuffers |
( |
uint32_t |
num_boxes | ) |
|
|
inline |
◆ Sync()
void bdm::MechanicalForcesOpCudaKernel::Sync |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: