rbmatlab
1.16.09
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Modules
Pages
models
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
postprocess_gravity
function data = postprocess_gravity(data, glob, params)
subtracts a previously added addent induced by gravitational effects.
Definition:
postprocess_gravity.m:17
Generated on Fri Sep 30 2016 10:51:19 for rbmatlab by
1.8.8