MADNESS 0.10.1
NegativeRootCost Struct Reference

Public Member Functions

double operator() (const Key< 3 > &key, const FunctionNode< double, 3 > &) const

Static Public Attributes

static constexpr double root_cost = -1.e-3

Detailed Description

A negative cost at the root stands in for roundoff in its residual. The real residual can only go below zero after all children split off, which needs a large fac in load_balance().

Member Function Documentation

◆ operator()()

double NegativeRootCost::operator() ( const Key< 3 > & key,
const FunctionNode< double, 3 > &  ) const
inline

Member Data Documentation

◆ root_cost

double NegativeRootCost::root_cost = -1.e-3
staticconstexpr

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