NAME
Physics::UEMColumn::Accelerator - Base class for acceleration regions in a UEM system
SYNOPSIS
package Physics::UEMColumn::MyAccelerator;
use Moose;
extends 'Physics::UEMColumn::Accelerator';
DESCRIPTION
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:
ATTRIBUTES
location
-
Unlike Physics::UEMColumn::Element, accelerators' location defines the start of the region and defaults to a
0
.
METHODS
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.
SOURCE REPOSITORY
http://github.com/jberger/Physics-UEMColumn
AUTHOR
Joel Berger, <joel.a.berger@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2012-2013 by Joel Berger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.