Full-Weighting Level Transition (full_weighting)

class pypint.multi_level_providers.level_transition_providers.full_weighting.FullWeighting(*args, **kwargs)[source]

Bases: pypint.multi_level_providers.level_transition_providers.i_level_transition_provider.ILevelTransitionProvider

Full weighting restriction and prolongation.

Full weighting restringates a fine level with \(n\) points onto a coarse level with \(\frac{n+1}{2}\) points.

Raises:ValueError – if number of fine level points is even (fine_level_points)

Notes

The prolongation is equal to the injective prolongation, where the intermedia fine points are calculated as the arithmetic mean of the sourounding coarse points.

See also

Injection : Same prolongation operator.