Streamer fluid modeling - An overview of ARCoS
1.0
Main Page
Related Pages
Data Types List
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
arcos_f90
src
cdr_advect_diffu_wrap.c
Go to the documentation of this file.
1
10
#include "stdlib.h"
11
#include "stdio.h"
12
#include "math.h"
13
14
int
number_cdr
=0;
15
16
/* cdr_advect: vectorized fortran90 routine; see f90/src/cdr_advect_vec.f90 */
17
void
cdr_advect_vec_
(
double
*mass,
double
*charge,
double
*dens_array,
18
double
*d_dens_array,
double
*er_array,
double
*ez_array,
19
double
*
diffusion_coeff
,
double
*
dr
,
double
*
dz
,
20
int
*
sprite_module
,
int
*r0,
int
*r1,
int
*z0,
int
*z1);
21
22
/* Calls hstcrt and checks for errors. If an error occurs, prints the
23
corresponding message and exists. */
24
void
25
arcos_cdr_advect_vec
(
double
mass,
double
charge,
double
*dens_array,
26
double
*d_dens_array,
double
*er_array,
int
er_len,
27
double
*ez_array,
int
ez_len,
double
diffusion_coeff
,
28
double
dr
,
double
dz
,
int
sprite_module
,
29
int
r0,
int
r1,
int
z0,
int
z1)
30
{
31
if
(
number_cdr
% 1000 == 0 ) {
32
33
fprintf(stdout,
"wrap:# calls cdr_advec_vec =%d\n"
,
number_cdr
);
34
35
}
36
37
cdr_advect_vec_
(&mass,&charge,dens_array,d_dens_array,er_array,ez_array,
38
&diffusion_coeff,&dr,&dz,&sprite_module,&r0,&r1,&z0,&z1);
39
number_cdr
+= 1;
40
41
}
42
Generated on Fri Jul 4 2014 15:40:19 for Streamer fluid modeling - An overview of ARCoS by
1.8.2