StaticIntegrated Class Reference

Integrated form of a current element where path is divided into tiny bits for calculations. More...

#include <statics.hpp>

Inheritance diagram for StaticIntegrated:

Inheritance graph
[legend]
Collaboration diagram for StaticIntegrated:

Collaboration graph
[legend]
List of all members.

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

POSFposf
prec_t currentAMPS
prec_t wr

Classes

struct  entry
struct  POSF

Detailed Description

Integrated form of a current element where path is divided into tiny bits for calculations.

Definition at line 55 of file statics.hpp.


Constructor & Destructor Documentation

StaticIntegrated::StaticIntegrated ( prec_t  currentAMPS,
prec_t  wire_radius,
POSF posf 
) [protected]

virtual StaticIntegrated::~StaticIntegrated (  )  [protected, virtual]


Member Function Documentation

void StaticIntegrated::setCharge ( prec_t  qpm  ) 

Set charge of the given integrate element for efield.

Parameters:
qpm coulombs per meter.

void StaticIntegrated::addFields ( const vect3d pos,
vect3d bfield,
vect3d efield 
) [protected, virtual]

Add fiel values at given position.

Implements StaticElement.

void StaticIntegrated::draw ( Screen screen,
const Screen::color c = Screen::BLACK 
) [protected, virtual]

Draw the elemnt onto a screen.

Implements StaticElement.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Thu Dec 6 20:31:17 2007 for Ephi by  doxygen 1.5.0