rbmatlab
1.13.10
Main Page
Related Pages
Modules
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Groups
Pages
models
struct
common
postprocess_gravity.m
Go to the documentation of this file.
1
function
data =
postprocess_gravity
(data, glob, params)
2
%
function
data =
postprocess_gravity
(data, glob, params)
3
% subtracts a previously added addent induced by gravitational effects.
4
%
5
% In
case
of a numerical scheme
for
the Richard
's equation it is possible to
6
% model gravity by adding a defect growing with height to the initial data
7
% function. This way, the resulting concentration gradient diffuses a down-ward
8
% flow is created.
9
%
10
% required fields of params:
11
% - '
gravity
': gravitational factor
12
13
data = data - glob(:,2) * params.gravity;
14
15
end
16
%| \docupdate
Generated on Mon Oct 14 2013 08:51:35 for rbmatlab by
1.8.2-20120930