BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
34 std::numeric_limits<uint32_t>::max());
44 #if defined(USE_OPENCL) && !defined(__ROOTCLING__)
62 BDM_REGISTER_OP(PropagateStaticnessAgentOp,
"propagate staticness agentop",
86 const auto& all_exec_ctxts = sim->GetAllExecCtxts();
87 all_exec_ctxts[0]->SetupIterationAll(all_exec_ctxts);
88 sim->GetEnvironment()->Update();
99 const auto& all_exec_ctxts = sim->GetAllExecCtxts();
100 all_exec_ctxts[0]->TearDownIterationAll(all_exec_ctxts);
121 sim->GetEnvironment()->ForcedUpdate();
140 rm->ForEachAgentParallel(param->scheduling_batch_size,
function);
void RunBehaviors()
Execute all behaviorsq.
void operator()() override
BDM_OP_HEADER(UpdateTimeSeriesOp)
experimental::TimeSeries * GetTimeSeries()
BDM_OP_HEADER(PropagateStaticnessOp)
void operator()(Agent *agent) override
void operator()() override
BDM_OP_HEADER(PropagateStaticnessAgentOp)
BDM_OP_HEADER(UpdateStaticnessOp)
BDM_REGISTER_OP(BoundSpace, "bound space", kCpu)
void operator()(Agent *agent) override
LambdaFunctor< decltype(&TLambda::operator())> L2F(const TLambda &l)
BDM_OP_HEADER(SetUpIterationOp)
Contains code required by all agents.
void Update()
Adds a new data point to all time series with a collector.
void operator()(Agent *agent) override
void operator()() override
BDM_OP_HEADER(DiscretizationOp)
ResourceManager * GetResourceManager()
Returns the ResourceManager instance.
Interface for implementing an operation.
virtual void RunDiscretization()
void operator()() override
BDM_OP_HEADER(TearDownIterationOp)
const Param * GetParam() const
Returns the simulation parameters.
BDM_OP_HEADER(UpdateEnvironmentOp)
void PropagateStaticness(bool beginning=false)
static Simulation * GetActive()
This function returns the currently active Simulation simulation.
void operator()(Agent *agent) override
BDM_REGISTER_OP_WITH_FREQ(LoadBalancingOp, "load balancing", kCpu, std::numeric_limits< uint32_t >::max())
Interface for implementing an operation that should run on a GPU.
BDM_OP_HEADER(BehaviorOp)
void operator()() override