Streamer fluid modeling - An overview of ARCoS
1.0
|
Routines for the "sprites module.". More...
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "cdr.h"
#include "parameters.h"
#include "photo.h"
#include "proto.h"
#include "rz_array.h"
#include "species.h"
Go to the source code of this file.
Functions | |
static int | var_max_axis (cdr_grid_t *grid, rz_array_t *var, int sign) |
var_max_axis QQQQ | |
double | spr_density_at (double altitude) |
The density at a given height, assuming dens = 1.0 at height = 0.0. | |
void | spr_init () |
Initialize the sprite module. | |
void | spr_hook (cdr_grid_t *grid) |
Hook to update the variables that depend on the head altitude. | |
void | spr_update (double altitude) |
Updates the magnitudes that we are tracking according to a given altitude. | |
double | spr_head_altitude (cdr_grid_t *grid, int sign) |
Finds the position of the streamer head by locating the maximum (or -maximum) of the charge along the streamer axis. | |
Variables | |
double | spr_nu_a |
double | spr_nu_d |
double | spr_nu_rt |
photo_term_t * | spr_photo_terms |
photo_term_t * | photo_terms |
Routines for the "sprites module.".
The idea here is to cope with strongly varying densities along the streamer propagation.
For photoionization we use a "local maximum approximation", i.e. the quenching and absorption lengths for all the volume are taken as those corresponding to the streamer head.
Definition in file sprites.c.
|
static |
double spr_density_at | ( | double | altitude | ) |
void spr_init | ( | ) |
void spr_hook | ( | cdr_grid_t * | grid | ) |
void spr_update | ( | double | altitude | ) |
double spr_head_altitude | ( | cdr_grid_t * | grid, |
int | sign | ||
) |
Finds the position of the streamer head by locating the maximum (or -maximum) of the charge along the streamer axis.
sign has to be +1 for positive streamers and -1 for negative streamers.
Definition at line 101 of file sprites.c.
photo_term_t* spr_photo_terms |
photo_term_t* photo_terms |