Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
   Version 1.0.5dev
      Class Index
      File List
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

Coordmapper1D Class Reference

Linear 1D coordinate mapper. More...

#include <coordmapper.hpp>

List of all members.

Public Member Functions

 Coordmapper1D ()
 Default constructor for unitary transformation.
 Coordmapper1D (double xx, double x0)
 Constructor for fully defined transformation.
void set_transformation (double xx, double x0)
 Set transformation coefficients.
void transform (double &xout, const double &xin) const
 Make transformation from coordinates xin to coordinates xout.
void transform (double &x) const
 Make transformation from coordinates xin to coordinates xout.
void inv_transform (double &xout, const double &xin) const
 Make inverse transformation for coordinate x.
void inv_transform (double &x) const
 Make inverse transformation for coordinate x.
void debug_print (std::ostream &os) const
 Debug print to stream.

Detailed Description

Linear 1D coordinate mapper.

Coordinate transformation is done like

x_new = xx * x + x0;


Constructor & Destructor Documentation

Coordmapper1D::Coordmapper1D (  )  [inline]

Default constructor for unitary transformation.

Coordmapper1D::Coordmapper1D ( double  xx,
double  x0 
) [inline]

Constructor for fully defined transformation.


Member Function Documentation

void Coordmapper1D::debug_print ( std::ostream &  os  )  const [inline]

Debug print to stream.

void Coordmapper1D::inv_transform ( double &  x  )  const [inline]

Make inverse transformation for coordinate x.

void Coordmapper1D::inv_transform ( double &  xout,
const double &  xin 
) const [inline]

Make inverse transformation for coordinate x.

void Coordmapper1D::set_transformation ( double  xx,
double  x0 
) [inline]

Set transformation coefficients.

void Coordmapper1D::transform ( double &  x  )  const [inline]

Make transformation from coordinates xin to coordinates xout.

void Coordmapper1D::transform ( double &  xout,
const double &  xin 
) const [inline]

Make transformation from coordinates xin to coordinates xout.


The documentation for this class was generated from the following file:


Reference manual for Ion Beam Simulator 1.0.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.