8#ifndef SRC_DLB_LB_MODEL_HPP_
9#define SRC_DLB_LB_MODEL_HPP_
26 template<
typename Decomposition,
typename vector>
inline void addComputation(
Decomposition & dec,
const vector & vd,
size_t v,
size_t p)
28 dec.addComputationCost(v, 1);
31 template<
typename Decomposition>
inline void applyModel(
Decomposition & dec,
size_t v)
33 dec.setSubSubDomainComputationCost(v, dec.getSubSubDomainComputationCost(v));
36 double distributionTol()
51 template<
typename Decomposition,
typename vector>
inline void addComputation(
Decomposition & dec,
const vector & vd,
size_t v,
size_t p)
53 dec.addComputationCost(v, factor);
56 template<
typename Decomposition>
inline void applyModel(
Decomposition & dec,
size_t v)
58 dec.setSubSubDomainComputationCost(v, dec.getSubSubDomainComputationCost(v) * dec.getSubSubDomainComputationCost(v));
61 double distributionTol()
This class define the domain decomposition interface.