Warning

You are reading a version of the website built against the unstable main branch. This content is liable to change without notice and may be inappropriate for your use case. You can find the documentation for the current stable release here.

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

abstractmethod apply(field)[source]

Re-computes centroids and applies limiter to given field

abstractmethod apply_limiter(field)[source]

Only applies limiting loop on the given field

abstractmethod 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: 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