/[MITgcm]/MITgcm/pkg/generic_advdiff/GAD_FLUX_LIMITER.h
ViewVC logotype

Contents of /MITgcm/pkg/generic_advdiff/GAD_FLUX_LIMITER.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed May 30 19:34:48 2001 UTC (23 years ago) by adcroft
Branch: MAIN
File MIME type: text/plain
Added "gad" package. Needs generalizing to allow selection
of advection schemes at run-time and different schemes for
each tracer.

1 C $Header: $
2 C $Name: $
3
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 Limiter(Cr)=max(0.,max(min(1.,2*Cr),min(2.,Cr)))

  ViewVC Help
Powered by ViewVC 1.1.22