triqs.utility.dist_on_nodes.DistributionOnNodesTest

class triqs.utility.dist_on_nodes.DistributionOnNodesTest(the_stack)[source]

Bases: DistributionOnNodesOneStack

Minimal DistributionOnNodesOneStack used by the self-test.

Overrides the_function() with x -> (x, x + 1, x + 2) so the dispatch logic can be exercised on integer inputs without pulling in any TRIQS-specific objects.

Methods

the_function(x)

Return (x, x + 1, x + 2) as the per-input computation.