StaticCubePolywellOctree Class Reference

Octree based cube polywell interpolator. More...

#include <statics.hpp>

Inheritance diagram for StaticCubePolywellOctree:

Inheritance graph
[legend]
Collaboration diagram for StaticCubePolywellOctree:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

Octree based cube polywell interpolator.

Definition at line 365 of file statics.hpp.


Constructor & Destructor Documentation

StaticCubePolywellOctree::StaticCubePolywellOctree ( Octree tree,
bool  do_bfield,
bool  do_efield,
prec_t  radius,
prec_t  wr,
prec_t  spacing 
)


Member Function Documentation

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

Add fiel values at given position.

Implements StaticElement.

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

Add the electrostatic potential from the given element.

Implements StaticElement.

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

Draw the elemnt onto a screen.

Implements StaticElement.

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

Get povray script of the given element.

Implements StaticElement.

virtual bool StaticCubePolywellOctree::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