#include <elecWorld.hpp>
void elec::World::add_electron |
( |
const elec::Point & |
pos | ) |
|
|
inline |
void elec::World::add_electrons |
( |
unsigned int |
nb | ) |
|
|
inline |
void elec::World::add_proton |
( |
const elec::Point & |
pos | ) |
|
|
inline |
void elec::World::add_protons |
( |
| ) |
|
|
inline |
elec::World::anode |
( |
{0, 0} |
, |
|
|
0 |
, |
|
|
1 |
|
|
) |
| |
void elec::World::end_of_particles |
( |
| ) |
|
|
inline |
unsigned int elec::World::nb_protons |
( |
| ) |
|
|
inline |
This adds a conductor in the simulation. The order is important. A position belongs to the firstly added element, when elements overlap.
void elec::World::set_generator |
( |
const elec::Point & |
cathode_pos, |
|
|
const elec::Point & |
anode_pos, |
|
|
double |
radius, |
|
|
double |
voltage |
|
) |
| |
|
inline |
void elec::World::sim |
( |
double |
dt, |
|
|
unsigned int |
nb_splits |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: