|
BioDynaMo
v1.05.125-2619fe54
|
Defines the 3D physical interactions between physical objects. More...
#include <mechanical_forces_op_cuda.h>
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 OperationImpl * | Clone ()=0 |
| bool | IsGpuOperation () const |
| Returns whether or not this operation is supposed to run on a GPU. More... | |
Private Attributes | |
| MechanicalForcesOpCudaKernel * | cdo_ = nullptr |
| detail::InitializeGPUData * | i_ = 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... | |
Defines the 3D physical interactions between physical objects.
Definition at line 31 of file mechanical_forces_op_cuda.h.
| bdm::MechanicalForcesOpCuda::BDM_OP_HEADER | ( | MechanicalForcesOpCuda | ) |
|
overridevirtual |
Implements bdm::OperationImpl.
Definition at line 282 of file mechanical_forces_op_cuda.cc.
|
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.
|
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.
|
private |
Definition at line 42 of file mechanical_forces_op_cuda.h.
|
private |
Definition at line 43 of file mechanical_forces_op_cuda.h.
|
private |
Definition at line 44 of file mechanical_forces_op_cuda.h.
|
private |
Definition at line 45 of file mechanical_forces_op_cuda.h.
1.8.17