Physics::UEMColumn::Accelerator - Base class for acceleration regions in a UEM system
package Physics::UEMColumn::MyAccelerator; use Moose; extends 'Physics::UEMColumn::Accelerator';
Physics::UEMColumn::Accelerator is a base class for acceleration regions in a UEM system. It is itself a subclass of Physics::UEMColumn::Element and inherits its attributes and methods. Additionally it provides:
location
Unlike Physics::UEMColumn::Element, accelerators' location defines the start of the region and defaults to a 0.
0
field
Returns a field strength possibly derived from other attributes. In this base class it simply returns zero. This method is intended to be redefined on subclassing.
est_exit_vel
Returns an estimate of the velocity of the pulse on exiting the region. This in not likely to be exact. It is used in estimating the end time of the simulation. The base class' implementation returns zero and is intended to be subclassed.
est_exit_time
Returns an estimate of the time that the pulse on exits the region. This in not likely to be exact. It is used in estimating the end time of the simulation. The base class' implementation returns zero and is intended to be subclassed.
http://github.com/jberger/Physics-UEMColumn
Joel Berger, <joel.a.berger@gmail.com>
Copyright (C) 2012 by Joel Berger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Physics::UEMColumn, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Physics::UEMColumn
CPAN shell
perl -MCPAN -e shell install Physics::UEMColumn
For more information on module installation, please visit the detailed CPAN module installation guide.