#include <polywell_conf.hpp>
Inheritance diagram for ShapedCoilFactory:
Public Member Functions | |
ShapedCoilFactory (int n=1) | |
ShapedCoilFactory (int w, int h, prec_t hs=1.0, prec_t vs=1.0) | |
virtual | ~ShapedCoilFactory () |
bool | make (Statics &statics, const vect3d &pos, const vect3d &normal, prec_t radius, prec_t wr, prec_t I, prec_t q_per_m) const |
Make a coil. | |
void | set (int x, int y, bool v) |
void | set_all (bool v) |
void | set_circle () |
int | get_width () const |
int | get_height () const |
prec_t | get_hscale () const |
prec_t | get_vscale () const |
void | set_scale (prec_t hs, prec_t vs) |
bool | get (int x, int y, vect3d &offset) const |
int | count () const |
void | print () |
Definition at line 48 of file polywell_conf.hpp.
ShapedCoilFactory::ShapedCoilFactory | ( | int | n = 1 |
) |
virtual ShapedCoilFactory::~ShapedCoilFactory | ( | ) | [virtual] |
void ShapedCoilFactory::set | ( | int | x, | |
int | y, | |||
bool | v | |||
) |
void ShapedCoilFactory::set_all | ( | bool | v | ) |
void ShapedCoilFactory::set_circle | ( | ) |
int ShapedCoilFactory::get_width | ( | ) | const [inline] |
Definition at line 62 of file polywell_conf.hpp.
int ShapedCoilFactory::get_height | ( | ) | const [inline] |
Definition at line 63 of file polywell_conf.hpp.
prec_t ShapedCoilFactory::get_hscale | ( | ) | const [inline] |
Definition at line 64 of file polywell_conf.hpp.
prec_t ShapedCoilFactory::get_vscale | ( | ) | const [inline] |
Definition at line 65 of file polywell_conf.hpp.
Definition at line 66 of file polywell_conf.hpp.
bool ShapedCoilFactory::get | ( | int | x, | |
int | y, | |||
vect3d & | offset | |||
) | const |
int ShapedCoilFactory::count | ( | ) | const |
void ShapedCoilFactory::print | ( | ) |