StaticCIBase Class Reference

#include <statics.hpp>

Inheritance diagram for StaticCIBase:

Inheritance graph
[legend]
Collaboration diagram for StaticCIBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StaticCIBase (const CoilData &cd, const vect3d &pos, const vect3d &normal, prec_t realI, prec_t realqpm)
virtual ~StaticCIBase ()
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.
void addPotential (const vect3d &pos, prec_t &potential)
 Add the electrostatic potential from the given element.

Protected Attributes

const CoilDatadata
vect3d pos
vect3d normal
prec_t realI
prec_t realQ
vect3d lr

Detailed Description

Definition at line 278 of file statics.hpp.


Constructor & Destructor Documentation

StaticCIBase::StaticCIBase ( const CoilData cd,
const vect3d pos,
const vect3d normal,
prec_t  realI,
prec_t  realqpm 
)

virtual StaticCIBase::~StaticCIBase (  )  [virtual]


Member Function Documentation

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

Draw the elemnt onto a screen.

Implements StaticElement.

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

Get povray script of the given element.

Implements StaticElement.

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

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

Implements StaticElement.

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

Add the electrostatic potential from the given element.

Implements StaticElement.

Definition at line 287 of file statics.hpp.


Member Data Documentation

const CoilData& StaticCIBase::data [protected]

Definition at line 290 of file statics.hpp.

vect3d StaticCIBase::pos [protected]

Definition at line 291 of file statics.hpp.

vect3d StaticCIBase::normal [protected]

Definition at line 291 of file statics.hpp.

prec_t StaticCIBase::realI [protected]

Definition at line 292 of file statics.hpp.

prec_t StaticCIBase::realQ [protected]

Definition at line 292 of file statics.hpp.

vect3d StaticCIBase::lr [protected]

Definition at line 293 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