Bemsolver 2.0
Public Member Functions | Protected Attributes

D3box Class Reference

#include <bem.h>

Inheritance diagram for D3box:
Inheritance graph
[legend]
Collaboration diagram for D3box:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 D3box (double xl_, double yl_, double zl_, double x, double y, double z, double phi_, double theta_, double psi_, bool inversenorm=false, PD3element parent=NULL)
 Creates a 3-dimensional symmetric box.
 ~D3box ()

Protected Attributes

double xl
double yl
double zl

Constructor & Destructor Documentation

D3box::D3box ( double  xl_,
double  yl_,
double  zl_,
double  x,
double  y,
double  z,
double  phi_,
double  theta_,
double  psi_,
bool  inversenorm = false,
PD3element  parent = NULL 
) [inline]

Creates a 3-dimensional symmetric box.

Initial orientation of the Box and coordinate system:
x-axis: towards the viewer
y-axis: upwards
z-axis: to the right

x,y,z: Coordinates of the boxes origin

x1_: defines length of box in x-direction
y1_: defines length of box in y-direction
z1_: defines length of box in z-direction
negative lengths are also possible

x + x1_, y + y1_, z + z1_ define the edges of the box

The angles phi_, theta_ and psi_ can be declared in degrees and represent Euler-angles.

The Center (x,y,z) specifies the center of the Euler-rotations

The Euler-rotations occur in the following order:

phi_:..........Rotation around z-axis...................................x -> x'......y -> y'.......z -> z
theta_:......Rotation around the rotated x-axis (x'):.........x'-> x'......y' -> y''......z -> z'
psi_:..........Rotation around z'-axis:.................................x'-> x''......y''-> y'''.....z'-> z'

D3box::~D3box ( ) [inline]

Member Data Documentation

double D3box::xl [protected]
double D3box::yl [protected]
double D3box::zl [protected]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines