#include <statics.hpp>
Inheritance diagram for StaticCIBase:
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 CoilData & | data |
vect3d | pos |
vect3d | normal |
prec_t | realI |
prec_t | realQ |
vect3d | lr |
Definition at line 278 of file statics.hpp.
StaticCIBase::StaticCIBase | ( | const CoilData & | cd, | |
const vect3d & | pos, | |||
const vect3d & | normal, | |||
prec_t | realI, | |||
prec_t | realqpm | |||
) |
virtual StaticCIBase::~StaticCIBase | ( | ) | [virtual] |
void StaticCIBase::draw | ( | Screen & | screen, | |
const Screen::color & | c = Screen::BLACK | |||
) | [virtual] |
std::string StaticCIBase::get_povray_script | ( | ) | [virtual] |
bool StaticCIBase::inContact | ( | const vect3d & | pos | ) | [virtual] |
Add the electrostatic potential from the given element.
Implements StaticElement.
Definition at line 287 of file statics.hpp.
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.