MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
Transformation Class Reference

Spatial Transformation for TR & TRCL cards. More...

#include <Transformation.hxx>

Public Member Functions

 Transformation (double x=0, double y=0, double z=0)
 
 ~Transformation ()
 Destructor. More...
 
string Print ()
 Print the transformation in TR card format. More...
 
void Add ()
 Add the transformation to MCNP file as AddSpecial MURE card. More...
 
void FillRotMatrix (double b1, double b2, double b3, double b4, double b5, double b6, double b7, double b8, double b9)
 
void SetDisplacement (double x=0, double y=0, double z=0)
 
int GetTransformNumber ()
 
void SetRotation (double phi=0, double theta=0, double psi=0)
 

Private Attributes

int fTransformNumber
 The number of the transformation. More...
 
double fTranslate [3]
 The displacement vector. More...
 
double fRotMatrix [3][3]
 The rotation matrix. More...
 
bool fIsAlreadyUsed
 The transformation is already used. More...
 

Detailed Description

Spatial Transformation for TR & TRCL cards.

Author
JW
Version
1.0

Constructor & Destructor Documentation

Transformation::Transformation ( double  x = 0,
double  y = 0,
double  z = 0 
)

Normal constructor.

Transformation::~Transformation ( )

Destructor.

Member Function Documentation

void Transformation::Add ( )

Add the transformation to MCNP file as AddSpecial MURE card.

void Transformation::FillRotMatrix ( double  b1,
double  b2,
double  b3,
double  b4,
double  b5,
double  b6,
double  b7,
double  b8,
double  b9 
)

explain....

Parameters
b1,:ffff
b2,:ffff
b3,:ffff
b4,:ffff
b5,:ffff
b6,:ffff
b7,:ffff
b8,:ffff
b9,:ffff
int Transformation::GetTransformNumber ( )
inline
string Transformation::Print ( )

Print the transformation in TR card format.

void Transformation::SetDisplacement ( double  x = 0,
double  y = 0,
double  z = 0 
)
inline
void Transformation::SetRotation ( double  phi = 0,
double  theta = 0,
double  psi = 0 
)

Member Data Documentation

bool Transformation::fIsAlreadyUsed
private

The transformation is already used.

double Transformation::fRotMatrix[3][3]
private

The rotation matrix.

int Transformation::fTransformNumber
private

The number of the transformation.

double Transformation::fTranslate[3]
private

The displacement vector.


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

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014