TYCHO
1.3.0
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Enumerations
Enumerator
/home/kapf/tycho_docu/boundary_velo_corrector.c
Go to the documentation of this file.
1
/*
2
* boundary_velo_corrector.c
3
*
4
* Author: Wolfgang Kapferer
5
*/
6
7
#include <stdio.h>
8
#include <stdlib.h>
9
#include <math.h>
10
11
#include "
variables_global.h
"
12
#include "
prototypes.h
"
13
18
int
boundary_velo_corrector
(
int
x
,
int
y
,
int
z
) {
19
20
int
i, j, k;
21
22
for
(j = 0; j <
y
; j++) {
23
for
(i = 0; i <
x
; i++) {
24
if
(
wind_direction
== 2) {
25
vx
[0][j][k] =
small
;
26
vx
[x - 1][j][k] =
small
;
27
}
28
}
29
}
30
31
return
0;
32
}
Generated on Thu Oct 10 2013 17:15:52 for TYCHO by
1.8.1.1