StaticPotentialField Class Reference

#include <potential.hpp>

Inheritance diagram for StaticPotentialField:

Inheritance graph
[legend]
Collaboration diagram for StaticPotentialField:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StaticPotentialField (PField &pfield)
void addFields (const vect3d &pos, vect3d &bfield, vect3d &efield)
 Add fiel values at given position.
void addPotential (const vect3d &pos, prec_t &potential)
 Add the electrostatic potential from the given element.
void draw (Screen &screen, const Screen::color &c=Screen::BLACK)
 Draw the elemnt onto a screen.
std::string get_povray_script ()
 Get povray script of the given element.
bool inContact (const vect3d &pos)
 Test whether given position is in contact with the given current element.

Detailed Description

Definition at line 199 of file potential.hpp.


Constructor & Destructor Documentation

StaticPotentialField::StaticPotentialField ( PField pfield  )  [inline]

Definition at line 202 of file potential.hpp.


Member Function Documentation

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

Add fiel values at given position.

Implements StaticElement.

void StaticPotentialField::addPotential ( const vect3d pos,
prec_t potential 
) [virtual]

Add the electrostatic potential from the given element.

Implements StaticElement.

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

Draw the elemnt onto a screen.

Implements StaticElement.

std::string StaticPotentialField::get_povray_script (  )  [virtual]

Get povray script of the given element.

Implements StaticElement.

bool StaticPotentialField::inContact ( const vect3d pos  )  [virtual]

Test whether given position is in contact with the given current element.

Implements StaticElement.


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