firedrake.slope_limiter package

Submodules

firedrake.slope_limiter.limiter module

class firedrake.slope_limiter.limiter.Limiter(space)[source]

Bases: object

Abstract Limiter class for all limiters to implement its methods.

Parameters

space – FunctionSpace instance

abstract apply(field)[source]

Re-computes centroids and applies limiter to given field

abstract apply_limiter(field)[source]

Only applies limiting loop on the given field

abstract compute_bounds(field)[source]

Only computes min and max bounds of neighbouring cells

firedrake.slope_limiter.vertex_based_limiter module

class firedrake.slope_limiter.vertex_based_limiter.VertexBasedLimiter(space)[source]

Bases: firedrake.slope_limiter.limiter.Limiter

A vertex based limiter for P1DG fields.

This limiter implements the vertex-based limiting scheme described in Dmitri Kuzmin, “A vertex-based hierarchical slope limiter for p-adaptive discontinuous Galerkin methods”. J. Comp. Appl. Maths (2010) http://dx.doi.org/10.1016/j.cam.2009.05.028

Initialise limiter

:param space : FunctionSpace instance

apply(field)[source]

Re-computes centroids and applies limiter to given field

apply_limiter(field)[source]

Only applies limiting loop on the given field

compute_bounds(field)[source]

Only computes min and max bounds of neighbouring cells

Module contents