Spatial Transformation for TR & TRCL cards.
More...
#include <Transformation.hxx>
|
| 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) |
|
Spatial Transformation for TR & TRCL cards.
- Author
- JW
- Version
- 1.0
Transformation::Transformation |
( |
double |
x = 0 , |
|
|
double |
y = 0 , |
|
|
double |
z = 0 |
|
) |
| |
Transformation::~Transformation |
( |
| ) |
|
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 |
|
) |
| |
bool Transformation::fIsAlreadyUsed |
|
private |
The transformation is already used.
double Transformation::fRotMatrix[3][3] |
|
private |
int Transformation::fTransformNumber |
|
private |
The number of the transformation.
double Transformation::fTranslate[3] |
|
private |
The documentation for this class was generated from the following files: