.TH "limiter" 3rheolef "Sat Mar 13 2021" "Version 7.1" "rheolef" \" -*- nroff -*- .ad l .nh .SH NAME limiter \- discontinuous Galerkin slope limiter (rheolef-7\&.1) .SH "SYNOPSIS" .PP .PP .nf template field_basic limiter ( const field_basic& uh, const T& bar_g_S = 1\&.0, const limiter_option& opt = limiter_option()); .fi .PP .SH "DESCRIPTION" .PP This function returns a slope limited field for any supplied discontinuous approximation\&. .PP .nf geo omega ("square"); space Xh (omega, "P1d"); field uh (Xh); ... field vh = limiter(uh); .fi .PP It implements the minmod_TVB limiter for hyperbolic nonlinear problems approximated by discontinuous Galerkin methods\&. See the \fBusersguide\fP for details and examples\&. .SH "OPTIONS" .PP .PP .nf struct limiter_option { bool active; Float theta; // > 1, see Coc-1998, P\&. 209 Float M; // M=max|u''(t=0)(x)| at x where u'(t)(x)=0 :extremas limiter_option() : active(true), theta(1\&.5), M(1) {} }; .fi .PP .SH "IMPLEMENTATION" .PP This documentation has been generated from file main/lib/limiter\&.h .SH AUTHOR Pierre Saramito .SH COPYRIGHT Copyright (C) 2000-2018 Pierre Saramito GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.