BioDynaMo  v1.05.119-a4ff3934
mechanical_forces_op_opencl.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4 // BioDynaMo collaboration. All Rights Reserved.
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // See the LICENSE file distributed with this work for details.
10 // See the NOTICE file distributed with this work for additional information
11 // regarding copyright ownership.
12 //
13 // -----------------------------------------------------------------------------
14 
15 #ifndef CORE_OPERATION_MECHANICAL_FORCES_OP_OPENCL_H_
16 #define CORE_OPERATION_MECHANICAL_FORCES_OP_OPENCL_H_
17 
18 #include "core/agent/cell.h"
21 
22 namespace bdm {
23 
27 
28  void IsNonSphericalObjectPresent(const Agent* agent, bool* answer);
29 
30  void operator()() override;
31 };
32 
33 } // namespace bdm
34 
35 #endif // CORE_OPERATION_MECHANICAL_FORCES_OP_OPENCL_H_
bdm::MechanicalForcesOpOpenCL::IsNonSphericalObjectPresent
void IsNonSphericalObjectPresent(const Agent *agent, bool *answer)
bdm
Definition: agent.cc:39
operation.h
bdm::MechanicalForcesOpOpenCL::BDM_OP_HEADER
BDM_OP_HEADER(MechanicalForcesOpOpenCL)
operation_registry.h
bdm::Agent
Contains code required by all agents.
Definition: agent.h:79
bdm::MechanicalForcesOpOpenCL::operator()
void operator()() override
bdm::MechanicalForcesOpOpenCL
Defines the 3D physical interactions between physical objects.
Definition: mechanical_forces_op_opencl.h:25
bdm::StandaloneOperationImpl
Interface for implementing an operation that should run on a GPU.
Definition: operation.h:86
cell.h