Skip to content

Struct Source

ClassList > Source

Public Attributes

Type Name
PetscScalar Fx0
PetscScalar Fx1
from cumulative distribution part on this rank
std::set< std::pair< PetscScalar, int > > Fxcell
PetscScalar Fy0
PetscScalar Fy1
same for y
std::set< std::pair< PetscScalar, int > > Fycell
for normal distribution
PetscInt Lx
PetscInt Ly
x, y full length (global)
PetscScalar Tpar
PetscScalar Tper
temperature parallel and perpendicular to B [eV]
int active
if 0 not active
PetscScalar cx
PetscScalar cy
center position of global source (in local coordinates)
PetscScalar heat_freq
frequency of collisions of a particle inside region
int index
source index
PetscInt j1
PetscInt j2
PetscInt k1
bottom left corner
PetscInt k2
top right corner
PetscInt lx
PetscInt ly
x, y local length
PetscScalar n_heat
number of heat collisions of a particle in timestep
PetscScalar n_inj
[s^-1 m^-3] /nc2p when injecting
PetscScalar n_inj_step
injected computed particles per timestep
int shape_x
0-uniform, 1-cos, 2-normal, details in implementation
int shape_y
0-uniform, 1-cos, 2-normal
PetscScalar t0
PetscScalar t1
PetscScalar t2
PetscScalar t3
[t0, t1] source 0->1, [t2, t3] source 1->0 (linear)
int t_dep
time-dependend (source and heating)

Public Attributes Documentation

variable Fx0

PetscScalar Source::Fx0;

variable Fx1

from cumulative distribution part on this rank

PetscScalar Source::Fx1;


variable Fxcell

std::set<std::pair< PetscScalar , int> > Source::Fxcell;

variable Fy0

PetscScalar Source::Fy0;

variable Fy1

same for y

PetscScalar Source::Fy1;


variable Fycell

for normal distribution

std::set<std::pair< PetscScalar , int> > Source::Fycell;


variable Lx

PetscInt Source::Lx;

variable Ly

x, y full length (global)

PetscInt Source::Ly;


variable Tpar

PetscScalar Source::Tpar;

variable Tper

temperature parallel and perpendicular to B [eV]

PetscScalar Source::Tper;


variable active

if 0 not active

int Source::active;


variable cx

PetscScalar Source::cx;

variable cy

center position of global source (in local coordinates)

PetscScalar Source::cy;


variable heat_freq

frequency of collisions of a particle inside region

PetscScalar Source::heat_freq;


variable index

source index

int Source::index;


variable j1

PetscInt Source::j1;

variable j2

PetscInt Source::j2;

variable k1

bottom left corner

PetscInt Source::k1;


variable k2

top right corner

PetscInt Source::k2;


variable lx

PetscInt Source::lx;

variable ly

x, y local length

PetscInt Source::ly;


variable n_heat

number of heat collisions of a particle in timestep

PetscScalar Source::n_heat;


variable n_inj

[s^-1 m^-3] /nc2p when injecting

PetscScalar Source::n_inj;


variable n_inj_step

injected computed particles per timestep

PetscScalar Source::n_inj_step;


variable shape_x

0-uniform, 1-cos, 2-normal, details in implementation

int Source::shape_x;


variable shape_y

0-uniform, 1-cos, 2-normal

int Source::shape_y;


variable t0

PetscScalar Source::t0;

variable t1

PetscScalar Source::t1;

variable t2

PetscScalar Source::t2;

variable t3

[t0, t1] source 0->1, [t2, t3] source 1->0 (linear)

PetscScalar Source::t3;


variable t_dep

time-dependend (source and heating)

int Source::t_dep;