BioDynaMo  v1.03.58-27764645
Public Member Functions | Protected Attributes | List of all members
bdm::DiffusionOp Class Reference

A class that sets up diffusion grids of the substances in this simulation. More...

#include <diffusion_op.h>

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

Public Member Functions

 BDM_OP_HEADER (DiffusionOp)
 
void operator() () 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 void SetUp ()
 
virtual void TearDown ()
 
virtual OperationImplClone ()=0
 
bool IsGpuOperation ()
 Returns whether or not this operation is supposed to run on a GPU. More...
 

Protected Attributes

real_t last_time_run_ = 0.0
 Last time when the operation was executed. More...
 
real_t delta_t_ = 0.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

A class that sets up diffusion grids of the substances in this simulation.

Definition at line 35 of file diffusion_op.h.

Member Function Documentation

◆ BDM_OP_HEADER()

bdm::DiffusionOp::BDM_OP_HEADER ( DiffusionOp  )

◆ operator()()

void bdm::DiffusionOp::operator() ( )
inlineoverridevirtual

Implements bdm::OperationImpl.

Definition at line 46 of file diffusion_op.h.

Member Data Documentation

◆ delta_t_

real_t bdm::DiffusionOp::delta_t_ = 0.0
protected

Timestep that is useded for Diffuse(delta_t) and computed from this and the last time the grid was updated.

Definition at line 41 of file diffusion_op.h.

◆ last_time_run_

real_t bdm::DiffusionOp::last_time_run_ = 0.0
protected

Last time when the operation was executed.

Definition at line 38 of file diffusion_op.h.


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