Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

mappings.cpp File Reference

contains the Pair and mappings class implementations More...

Include dependency graph for mappings.cpp:

Include dependency graph

Go to the source code of this file.

Functions

Pair operator- (const Pair &A, const Pair &B)
 Returns A - B.

double Pair_area (const Pair &A, const Pair &B)
 Returns area of the triangle generated by A, B, and O.


Variables

const bool Use_cm = false


Detailed Description

There are two related classes in this file - the Pair class and the mappings class. The pair class is used to store ejected particle energies versus the cosine of the scattering angle, mu, and include some useful basic functions. The mappings class is designed to move double differential data from one frame to another.

Definition in file mappings.cpp.


Function Documentation

operator- const Pair A,
const Pair B
 

Parameters:
A first Pair
B second Pair
Function that returns the vector difference A-B in a Pair.

Definition at line 68 of file mappings.cpp.

References Pair::E, and Pair::mu.

Pair_area const Pair A,
const Pair B
 

Parameters:
A first Pair in the product
B second Pair in the product
Function that returns 1/2 the vector cross product of A and B - 1/2(A X B), where the two elements of the Pair are considered to be two components of a vector. This is equivalent to the area of the triangle formed by A and B, both starting at the origin.

Definition at line 75 of file mappings.cpp.

References Pair::E, and Pair::mu.


Variable Documentation

const bool Use_cm = false
 

Definition at line 48 of file mappings.cpp.

Referenced by mappings::cm_to_lab(), mappings::J_cm_to_lab(), mappings::lab_to_cm(), mappings::mappings(), and mappings::set_map().


Generated on Thu Sep 7 10:34:37 2006 for fete -- From ENDFB6 To ENDL by doxygen 1.3.4