BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Public Attributes | Private Member Functions | List of all members
bdm::detail::InitializeGPUData Struct Reference
Inheritance diagram for bdm::detail::InitializeGPUData:
[legend]
Collaboration diagram for bdm::detail::InitializeGPUData:
[legend]

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_tcell_movements = nullptr
 
real_tcell_positions = nullptr
 
real_tcell_diameters = nullptr
 
real_tcell_adherence = nullptr
 
real_tcell_tractor_force = nullptr
 
uint32_t * cell_boxid = nullptr
 
real_tmass = nullptr
 
uint32_t * successors = nullptr
 
std::vector< AgentHandle::ElementIdx_toffset
 
uint32_t * starts = nullptr
 
uint16_t * lengths = nullptr
 
uint64_t * timestamps = nullptr
 
uint64_t * current_timestamp = nullptr
 
uint32_t * num_boxes_axis = nullptr
 
UniformGridEnvironmentgrid = nullptr
 
uint64_t allocated_num_agents = 0
 
uint64_t allocated_num_boxes = 0
 

Private Member Functions

void FreeAgentBuffers ()
 
void FreeGridBuffers ()
 

Detailed Description

Definition at line 45 of file mechanical_forces_op_cuda.cc.

Constructor & Destructor Documentation

◆ InitializeGPUData()

bdm::detail::InitializeGPUData::InitializeGPUData ( )
default

◆ ~InitializeGPUData()

bdm::detail::InitializeGPUData::~InitializeGPUData ( )
override

Definition at line 89 of file mechanical_forces_op_cuda.cc.

Member Function Documentation

◆ FreeAgentBuffers()

void bdm::detail::InitializeGPUData::FreeAgentBuffers ( )
private

Definition at line 144 of file mechanical_forces_op_cuda.cc.

◆ FreeGridBuffers()

void bdm::detail::InitializeGPUData::FreeGridBuffers ( )
private

Definition at line 156 of file mechanical_forces_op_cuda.cc.

◆ Initialize()

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.

◆ operator()()

void bdm::detail::InitializeGPUData::operator() ( Agent agent,
AgentHandle  ah 
)
override

Definition at line 163 of file mechanical_forces_op_cuda.cc.

Member Data Documentation

◆ allocated_num_agents

uint64_t bdm::detail::InitializeGPUData::allocated_num_agents = 0

Definition at line 66 of file mechanical_forces_op_cuda.cc.

◆ allocated_num_boxes

uint64_t bdm::detail::InitializeGPUData::allocated_num_boxes = 0

Definition at line 67 of file mechanical_forces_op_cuda.cc.

◆ cell_adherence

real_t* bdm::detail::InitializeGPUData::cell_adherence = nullptr

Definition at line 51 of file mechanical_forces_op_cuda.cc.

◆ cell_boxid

uint32_t* bdm::detail::InitializeGPUData::cell_boxid = nullptr

Definition at line 53 of file mechanical_forces_op_cuda.cc.

◆ cell_diameters

real_t* bdm::detail::InitializeGPUData::cell_diameters = nullptr

Definition at line 50 of file mechanical_forces_op_cuda.cc.

◆ cell_movements

real_t* bdm::detail::InitializeGPUData::cell_movements = nullptr

Definition at line 48 of file mechanical_forces_op_cuda.cc.

◆ cell_positions

real_t* bdm::detail::InitializeGPUData::cell_positions = nullptr

Definition at line 49 of file mechanical_forces_op_cuda.cc.

◆ cell_tractor_force

real_t* bdm::detail::InitializeGPUData::cell_tractor_force = nullptr

Definition at line 52 of file mechanical_forces_op_cuda.cc.

◆ current_timestamp

uint64_t* bdm::detail::InitializeGPUData::current_timestamp = nullptr

Definition at line 62 of file mechanical_forces_op_cuda.cc.

◆ grid

UniformGridEnvironment* bdm::detail::InitializeGPUData::grid = nullptr

Definition at line 64 of file mechanical_forces_op_cuda.cc.

◆ is_non_spherical_object

bool bdm::detail::InitializeGPUData::is_non_spherical_object = false

Definition at line 46 of file mechanical_forces_op_cuda.cc.

◆ lengths

uint16_t* bdm::detail::InitializeGPUData::lengths = nullptr

Definition at line 60 of file mechanical_forces_op_cuda.cc.

◆ mass

real_t* bdm::detail::InitializeGPUData::mass = nullptr

Definition at line 54 of file mechanical_forces_op_cuda.cc.

◆ num_boxes_axis

uint32_t* bdm::detail::InitializeGPUData::num_boxes_axis = nullptr

Definition at line 63 of file mechanical_forces_op_cuda.cc.

◆ offset

std::vector<AgentHandle::ElementIdx_t> bdm::detail::InitializeGPUData::offset

Definition at line 57 of file mechanical_forces_op_cuda.cc.

◆ starts

uint32_t* bdm::detail::InitializeGPUData::starts = nullptr

Definition at line 59 of file mechanical_forces_op_cuda.cc.

◆ successors

uint32_t* bdm::detail::InitializeGPUData::successors = nullptr

Definition at line 55 of file mechanical_forces_op_cuda.cc.

◆ timestamps

uint64_t* bdm::detail::InitializeGPUData::timestamps = nullptr

Definition at line 61 of file mechanical_forces_op_cuda.cc.


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