BioDynaMo
v1.05.120-25dc9790
|
Public Member Functions | |
InitializeGPUData () | |
~InitializeGPUData () override | |
void | Initialize (uint64_t num_agents, uint64_t num_boxes, const std::vector< AgentHandle::ElementIdx_t > &offs, UniformGridEnvironment *g) |
void | operator() (Agent *agent, AgentHandle ah) override |
Public Member Functions inherited from bdm::Functor< void, Agent *, AgentHandle > | |
virtual | ~Functor ()=default |
virtual void | operator() (TArgs... args)=0 |
Public Attributes | |
bool | is_non_spherical_object = false |
real_t * | cell_movements = nullptr |
real_t * | cell_positions = nullptr |
real_t * | cell_diameters = nullptr |
real_t * | cell_adherence = nullptr |
real_t * | cell_tractor_force = nullptr |
uint32_t * | cell_boxid = nullptr |
real_t * | mass = nullptr |
uint32_t * | successors = nullptr |
std::vector< AgentHandle::ElementIdx_t > | offset |
uint32_t * | starts = nullptr |
uint16_t * | lengths = nullptr |
uint64_t * | timestamps = nullptr |
uint64_t * | current_timestamp = nullptr |
uint32_t * | num_boxes_axis = nullptr |
UniformGridEnvironment * | grid = nullptr |
uint64_t | allocated_num_agents = 0 |
uint64_t | allocated_num_boxes = 0 |
Private Member Functions | |
void | FreeAgentBuffers () |
void | FreeGridBuffers () |
Definition at line 45 of file mechanical_forces_op_cuda.cc.
|
default |
|
override |
Definition at line 89 of file mechanical_forces_op_cuda.cc.
|
private |
Definition at line 144 of file mechanical_forces_op_cuda.cc.
|
private |
Definition at line 156 of file mechanical_forces_op_cuda.cc.
void bdm::detail::InitializeGPUData::Initialize | ( | uint64_t | num_agents, |
uint64_t | num_boxes, | ||
const std::vector< AgentHandle::ElementIdx_t > & | offs, | ||
UniformGridEnvironment * | g | ||
) |
Definition at line 105 of file mechanical_forces_op_cuda.cc.
|
override |
Definition at line 163 of file mechanical_forces_op_cuda.cc.
uint64_t bdm::detail::InitializeGPUData::allocated_num_agents = 0 |
Definition at line 66 of file mechanical_forces_op_cuda.cc.
uint64_t bdm::detail::InitializeGPUData::allocated_num_boxes = 0 |
Definition at line 67 of file mechanical_forces_op_cuda.cc.
real_t* bdm::detail::InitializeGPUData::cell_adherence = nullptr |
Definition at line 51 of file mechanical_forces_op_cuda.cc.
uint32_t* bdm::detail::InitializeGPUData::cell_boxid = nullptr |
Definition at line 53 of file mechanical_forces_op_cuda.cc.
real_t* bdm::detail::InitializeGPUData::cell_diameters = nullptr |
Definition at line 50 of file mechanical_forces_op_cuda.cc.
real_t* bdm::detail::InitializeGPUData::cell_movements = nullptr |
Definition at line 48 of file mechanical_forces_op_cuda.cc.
real_t* bdm::detail::InitializeGPUData::cell_positions = nullptr |
Definition at line 49 of file mechanical_forces_op_cuda.cc.
real_t* bdm::detail::InitializeGPUData::cell_tractor_force = nullptr |
Definition at line 52 of file mechanical_forces_op_cuda.cc.
uint64_t* bdm::detail::InitializeGPUData::current_timestamp = nullptr |
Definition at line 62 of file mechanical_forces_op_cuda.cc.
UniformGridEnvironment* bdm::detail::InitializeGPUData::grid = nullptr |
Definition at line 64 of file mechanical_forces_op_cuda.cc.
bool bdm::detail::InitializeGPUData::is_non_spherical_object = false |
Definition at line 46 of file mechanical_forces_op_cuda.cc.
uint16_t* bdm::detail::InitializeGPUData::lengths = nullptr |
Definition at line 60 of file mechanical_forces_op_cuda.cc.
real_t* bdm::detail::InitializeGPUData::mass = nullptr |
Definition at line 54 of file mechanical_forces_op_cuda.cc.
uint32_t* bdm::detail::InitializeGPUData::num_boxes_axis = nullptr |
Definition at line 63 of file mechanical_forces_op_cuda.cc.
std::vector<AgentHandle::ElementIdx_t> bdm::detail::InitializeGPUData::offset |
Definition at line 57 of file mechanical_forces_op_cuda.cc.
uint32_t* bdm::detail::InitializeGPUData::starts = nullptr |
Definition at line 59 of file mechanical_forces_op_cuda.cc.
uint32_t* bdm::detail::InitializeGPUData::successors = nullptr |
Definition at line 55 of file mechanical_forces_op_cuda.cc.
uint64_t* bdm::detail::InitializeGPUData::timestamps = nullptr |
Definition at line 61 of file mechanical_forces_op_cuda.cc.