ShapedCoilFactory Class Reference

Generate coils using a specific shape matrix. More...

#include <polywell_conf.hpp>

Inheritance diagram for ShapedCoilFactory:

Inheritance graph
[legend]
Collaboration diagram for ShapedCoilFactory:

Collaboration graph
[legend]
List of all members.

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 ()

Detailed Description

Generate coils using a specific shape matrix.

Definition at line 48 of file polywell_conf.hpp.


Constructor & Destructor Documentation

ShapedCoilFactory::ShapedCoilFactory ( int  n = 1  ) 

ShapedCoilFactory::ShapedCoilFactory ( int  w,
int  h,
prec_t  hs = 1.0,
prec_t  vs = 1.0 
)

virtual ShapedCoilFactory::~ShapedCoilFactory (  )  [virtual]


Member Function Documentation

bool ShapedCoilFactory::make ( Statics statics,
const vect3d pos,
const vect3d normal,
prec_t  radius,
prec_t  wr,
prec_t  I,
prec_t  q_per_m 
) const [virtual]

Make a coil.

Implements CoilFactory.

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.

void ShapedCoilFactory::set_scale ( prec_t  hs,
prec_t  vs 
) [inline]

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 (  ) 


The documentation for this class was generated from the following file:
Generated on Thu Dec 6 20:31:16 2007 for Ephi by  doxygen 1.5.0