#include <statics.hpp>
Inheritance diagram for StaticLineCharge:
Public Member Functions | |
StaticLineCharge (const vect3d &p0, const vect3d &p1, prec_t rho0, prec_t rho1, prec_t blotradius=0.0) | |
void | addPotential (const vect3d &pos, prec_t &potential) |
Add the electrostatic potential from the given element. | |
void | addFields (const vect3d &pos, vect3d &bfield, vect3d &efield) |
Add fiel values at given position. |
Definition at line 326 of file statics.hpp.
StaticLineCharge::StaticLineCharge | ( | const vect3d & | p0, | |
const vect3d & | p1, | |||
prec_t | rho0, | |||
prec_t | rho1, | |||
prec_t | blotradius = 0.0 | |||
) |