#include <statics.hpp>
Inheritance diagram for StaticCubePolywellOctree:
Public Member Functions | |
StaticCubePolywellOctree (Octree &tree, bool do_bfield, bool do_efield, prec_t radius, prec_t wr, prec_t spacing) | |
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. | |
virtual void | draw (Screen &screen, const Screen::color &c=Screen::BLACK) |
Draw the elemnt onto a screen. | |
virtual std::string | get_povray_script () |
Get povray script of the given element. | |
virtual bool | inContact (const vect3d &pos) |
Test whether given position is in contact with the given current element. |
Definition at line 365 of file statics.hpp.
StaticCubePolywellOctree::StaticCubePolywellOctree | ( | Octree & | tree, | |
bool | do_bfield, | |||
bool | do_efield, | |||
prec_t | radius, | |||
prec_t | wr, | |||
prec_t | spacing | |||
) |
virtual void StaticCubePolywellOctree::draw | ( | Screen & | screen, | |
const Screen::color & | c = Screen::BLACK | |||
) | [virtual] |
virtual std::string StaticCubePolywellOctree::get_povray_script | ( | ) | [virtual] |
virtual bool StaticCubePolywellOctree::inContact | ( | const vect3d & | pos | ) | [virtual] |