grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

n_upwind.c File Reference
#include <math.h>
#include <grass/N_pde.h>
Include dependency graph for n_upwind.c:

Go to the source code of this file.

Functions

double N_full_upwinding (double sprod, double distance, double D)
 full upwinding stabilization algorithm More...
 
double N_exp_upwinding (double sprod, double distance, double D)
 exponential upwinding stabilization algorithm More...
 

Function Documentation

◆ N_exp_upwinding()

double N_exp_upwinding ( double  sprod,
double  distance,
double  D 
)

exponential upwinding stabilization algorithm

The arguments are values to compute the local peclet number

Parameters
sproddouble – the scalar produkt between the velocity vector and the normal vector between two points
distancedouble – distance between two points
Ddouble – diffusion/dispersion tensor part between two points
Returns
the weighting factor

Definition at line 63 of file n_upwind.c.

References D.

Referenced by N_callback_solute_transport_2d(), and N_callback_solute_transport_3d().

◆ N_full_upwinding()

double N_full_upwinding ( double  sprod,
double  distance,
double  D 
)

full upwinding stabilization algorithm

MODULE: Grass PDE Numerical Library AUTHOR(S): Soeren Gebbert, Berlin (GER) Dec 2006 soerengebbert <at> gmx <dot> de

PURPOSE: upwinding stabilization algorithms part of the gpde library

COPYRIGHT: (C) 2000 by the GRASS Development Team

          This program is free software under the GNU General Public
          License (>=v2). Read the file COPYING that comes with GRASS
          for details.

The arguments are values to compute the local peclet number

Parameters
sproddouble – the scalar produkt between the velocity vector and the normal vector between two points
distancedouble – distance between two points
Ddouble – diffusion/dispersion tensor part between two points
Returns
the weighting factor

Definition at line 33 of file n_upwind.c.

References D.

Referenced by N_callback_solute_transport_2d().