BioDynaMo  v1.05.119-a4ff3934
Public Member Functions | List of all members
bdm::MechanicalForcesOpCudaKernel Class Reference

#include <mechanical_forces_op_cuda_kernel.h>

Public Member Functions

 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)
 

Detailed Description

Definition at line 29 of file mechanical_forces_op_cuda_kernel.h.

Constructor & Destructor Documentation

◆ MechanicalForcesOpCudaKernel()

bdm::MechanicalForcesOpCudaKernel::MechanicalForcesOpCudaKernel ( uint32_t  num_agents,
uint32_t  num_boxes 
)
inline

Definition at line 68 of file mechanical_forces_op_cuda_kernel.h.

◆ ~MechanicalForcesOpCudaKernel()

bdm::MechanicalForcesOpCudaKernel::~MechanicalForcesOpCudaKernel ( )
inlinevirtualdefault

Member Function Documentation

◆ 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

Definition at line 72 of file mechanical_forces_op_cuda_kernel.h.

◆ ResizeCellBuffers()

void bdm::MechanicalForcesOpCudaKernel::ResizeCellBuffers ( uint32_t  num_cells)
inline

Definition at line 82 of file mechanical_forces_op_cuda_kernel.h.

◆ ResizeGridBuffers()

void bdm::MechanicalForcesOpCudaKernel::ResizeGridBuffers ( uint32_t  num_boxes)
inline

Definition at line 84 of file mechanical_forces_op_cuda_kernel.h.

◆ Sync()

void bdm::MechanicalForcesOpCudaKernel::Sync ( ) const
inline

Definition at line 81 of file mechanical_forces_op_cuda_kernel.h.


The documentation for this class was generated from the following file: