#include <statics.hpp>
Inheritance diagram for StaticIntegrated:
Public Member Functions | |
void | setCharge (prec_t qpm) |
Set charge of the given integrate element for efield. | |
Protected Member Functions | |
StaticIntegrated (prec_t currentAMPS, prec_t wire_radius, POSF *posf) | |
virtual | ~StaticIntegrated () |
void | addFields (const vect3d &pos, vect3d &bfield, vect3d &efield) |
Add fiel values at given position. | |
void | draw (Screen &screen, const Screen::color &c=Screen::BLACK) |
Draw the elemnt onto a screen. | |
bool | inContact (const vect3d &pos) |
Test whether given position is in contact with the given current element. | |
void | addPotential (const vect3d &pos, prec_t &potential) |
Add the electrostatic potential from the given element. | |
Protected Attributes | |
POSF * | posf |
prec_t | currentAMPS |
prec_t | wr |
Classes | |
struct | entry |
struct | POSF |
Definition at line 55 of file statics.hpp.
StaticIntegrated::StaticIntegrated | ( | prec_t | currentAMPS, | |
prec_t | wire_radius, | |||
POSF * | posf | |||
) | [protected] |
virtual StaticIntegrated::~StaticIntegrated | ( | ) | [protected, virtual] |
void StaticIntegrated::setCharge | ( | prec_t | qpm | ) |
Set charge of the given integrate element for efield.
qpm | coulombs per meter. |
void StaticIntegrated::draw | ( | Screen & | screen, | |
const Screen::color & | c = Screen::BLACK | |||
) | [protected, virtual] |
bool StaticIntegrated::inContact | ( | const vect3d & | pos | ) | [protected, virtual] |
Test whether given position is in contact with the given current element.
Implements StaticElement.
Reimplemented in StaticRingIntegrated.
void StaticIntegrated::addPotential | ( | const vect3d & | pos, | |
prec_t & | potential | |||
) | [inline, protected, virtual] |
Add the electrostatic potential from the given element.
Implements StaticElement.
Definition at line 79 of file statics.hpp.
POSF* StaticIntegrated::posf [protected] |
Definition at line 82 of file statics.hpp.
prec_t StaticIntegrated::currentAMPS [protected] |
Definition at line 83 of file statics.hpp.
prec_t StaticIntegrated::wr [protected] |
Definition at line 84 of file statics.hpp.