Peano
Loading...
Searching...
No Matches
NoLoadBalancing.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include "tarch/logging/Log.h"
9
10
11namespace toolbox {
12 namespace loadbalancing {
13 namespace strategies {
14 class NoLoadBalancing;
15 } // namespace strategies
16 } // namespace loadbalancing
17} // namespace toolbox
18
19
27public:
33
40 NoLoadBalancing(Configuration* configuration, CostMetrics* costMetrics);
41
42
43 virtual ~NoLoadBalancing() = default;
44
50 virtual void finishStep() override;
51
56 virtual void enable(bool value) override;
57};
Abstract interface to tweak the behaviour of the recursive subdivision.
virtual void finishStep() override
Finish a mesh sweep.
virtual void enable(bool value) override
You cannot enable the no load balancing.
NoLoadBalancing()
Delegate to other constructor with nullptr arguments, as configuration does not matter anyway.