Peano
Loading...
Searching...
No Matches
Configuration.cpp
Go to the documentation of this file.
1#include "Configuration.h"
2
4
6 return "<toString() undef>";
7}
8
9
11 _maxTreesPerRank(maxTreesPerRank<=0 ? peano4::parallel::Node::MaxSpacetreesPerRank : maxTreesPerRank)
12{}
13
17
21
25
29
virtual std::string toString() const
virtual int getMaxLocalTreesPerRank(State state) override
Constraint on the number of trees per rank.
virtual bool makeSplitDependOnMemory(State state) override
Use the operating system's memory queries to get the memory out and to veto too many local splits.
DefaultConfiguration(int maxTreesPerRank=0)
Create default configuration.
virtual peano4::SplitInstruction::Mode getMode(State state) override
virtual int getMinTreeSize(State state) override
Minimum tree size.
virtual double getWorstCaseBalancingRatio(State state) override
Control when to balance between ranks.
The parallel namespace is Peano's core abstracts from both MPI and multicore parallelisation.
State
State descriptor of load balancing.
Definition State.h:22