BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Private Attributes | List of all members
bdm::MechanicalForcesOpCuda Struct Reference

Defines the 3D physical interactions between physical objects. More...

#include <mechanical_forces_op_cuda.h>

Inheritance diagram for bdm::MechanicalForcesOpCuda:
[legend]
Collaboration diagram for bdm::MechanicalForcesOpCuda:
[legend]

Public Member Functions

 BDM_OP_HEADER (MechanicalForcesOpCuda)
 
void SetUp () override
 
void operator() () override
 
void TearDown () override
 
- Public Member Functions inherited from bdm::StandaloneOperationImpl
void operator() (Agent *agent) override
 
bool IsStandalone () override
 Returns whether or not this operations is a stand-alone operation. More...
 
- Public Member Functions inherited from bdm::OperationImpl
virtual ~OperationImpl ()=default
 
virtual OperationImplClone ()=0
 
bool IsGpuOperation () const
 Returns whether or not this operation is supposed to run on a GPU. More...
 

Private Attributes

MechanicalForcesOpCudaKernelcdo_ = nullptr
 
detail::InitializeGPUDatai_ = nullptr
 
uint32_t num_boxes_ = 0
 
uint32_t total_num_agents_ = 0
 

Additional Inherited Members

- Public Attributes inherited from bdm::OperationImpl
OpComputeTarget target_ = kCpu
 The target that this operation implementation is supposed to run on. More...
 

Detailed Description

Defines the 3D physical interactions between physical objects.

Definition at line 31 of file mechanical_forces_op_cuda.h.

Member Function Documentation

◆ BDM_OP_HEADER()

bdm::MechanicalForcesOpCuda::BDM_OP_HEADER ( MechanicalForcesOpCuda  )

◆ operator()()

void bdm::MechanicalForcesOpCuda::operator() ( )
overridevirtual

Implements bdm::OperationImpl.

Definition at line 282 of file mechanical_forces_op_cuda.cc.

◆ SetUp()

void bdm::MechanicalForcesOpCuda::SetUp ( )
overridevirtual

This function is run before the operator() call. It is useful to perform tasks such as data transfer from CPU -> GPU in GPU operations

Reimplemented from bdm::OperationImpl.

Definition at line 236 of file mechanical_forces_op_cuda.cc.

◆ TearDown()

void bdm::MechanicalForcesOpCuda::TearDown ( )
overridevirtual

This function is run after the operator() call. It is useful to perform tasks such as data transfer from GPU -> CPU in GPU operations

Reimplemented from bdm::OperationImpl.

Definition at line 333 of file mechanical_forces_op_cuda.cc.

Member Data Documentation

◆ cdo_

MechanicalForcesOpCudaKernel* bdm::MechanicalForcesOpCuda::cdo_ = nullptr
private

Definition at line 42 of file mechanical_forces_op_cuda.h.

◆ i_

detail::InitializeGPUData* bdm::MechanicalForcesOpCuda::i_ = nullptr
private

Definition at line 43 of file mechanical_forces_op_cuda.h.

◆ num_boxes_

uint32_t bdm::MechanicalForcesOpCuda::num_boxes_ = 0
private

Definition at line 44 of file mechanical_forces_op_cuda.h.

◆ total_num_agents_

uint32_t bdm::MechanicalForcesOpCuda::total_num_agents_ = 0
private

Definition at line 45 of file mechanical_forces_op_cuda.h.


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