triqs.utility.dist_on_nodes.DistributionOnNodesTest
- class triqs.utility.dist_on_nodes.DistributionOnNodesTest(the_stack)[source]
Bases:
DistributionOnNodesOneStackMinimal
DistributionOnNodesOneStackused by the self-test.Overrides
the_function()withx -> (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.