Bemsolver 2.0
Public Member Functions | Protected Attributes

D3sphere Class Reference

#include <bem.h>

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

List of all members.

Public Member Functions

 D3sphere (double r, double refinement, double x, double y, double z, double phi_, double theta_, double psi_, bool inversenorm=false, PD3element parent=NULL)
 Creates a sphere with radius r.
 ~D3sphere ()

Protected Attributes

double r
double refinement

Constructor & Destructor Documentation

D3sphere::D3sphere ( double  r,
double  refinement,
double  x,
double  y,
double  z,
double  phi_,
double  theta_,
double  psi_,
bool  inversenorm = false,
PD3element  parent = NULL 
) [inline]

Creates a sphere with radius r.

The sphere is centered at (x,y,z).

The parameter refinement gives the order of magnitude for the small triangles which assemble the sphere.
Press ctrl+w to see the lattice model and get an impression of the refinement.
Press ctrl+r to see the original model again.

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'

Here is the call graph for this function:

D3sphere::~D3sphere ( ) [inline]

Member Data Documentation

double D3sphere::r [protected]
double D3sphere::refinement [protected]

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