Parent Directory | Revision Log | Revision Graph
Wrote real constants using the "_d" macro notation in order to be consistent with the _RL declaration of Limiter.
1 | jamous | 1.3 | C $Header: /u/gcmpack/models/MITgcmUV/pkg/generic_advdiff/GAD_FLUX_LIMITER.h,v 1.2 2001/06/20 16:15:07 jamous Exp $ |
2 | jamous | 1.2 | C $Name: $ |
3 | adcroft | 1.1 | |
4 | C Statement function to describe flux limiter | ||
5 | _RL Limiter | ||
6 | C Upwind Limiter(Cr)=0. | ||
7 | C Lax-Wendroff Limiter(Cr)=1. | ||
8 | C Suberbee Limiter(Cr)=max(0.,max(min(1.,2*Cr),min(2.,Cr))) | ||
9 | |||
10 | c Limiter(Cr)=0. | ||
11 | c Limiter(Cr)=1. | ||
12 | jamous | 1.3 | Limiter(Cr)=max(0. _d 0,max(min(1. _d 0,2. _d 0*Cr),min(2. _d 0,Cr))) |
ViewVC Help | |
Powered by ViewVC 1.1.22 |