|
Bemsolver 2.0
|
#include <bem.h>


Public Member Functions | |
| D3disk (double r_, double x, double y, double z, double phi_, double theta_, double psi_, int sectors_=32, bool subdivide=true, bool inversenorm=false, PD3element parent=NULL) | |
| Creates a disk with radius r_. | |
| ~D3disk () | |
Protected Attributes | |
| double | r |
| double | sectors |
| D3disk::D3disk | ( | double | r_, |
| double | x, | ||
| double | y, | ||
| double | z, | ||
| double | phi_, | ||
| double | theta_, | ||
| double | psi_, | ||
| int | sectors_ = 32, |
||
| bool | subdivide = true, |
||
| bool | inversenorm = false, |
||
| PD3element | parent = NULL |
||
| ) | [inline] |
Creates a disk with radius r_.
The disk is centered at (x,y,z).
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'
For phi_ = theta_ = psi_ = 0, the disk lies in the x,y-plane and there is no extension in z-direction
The parameter sectors_ provides an option for refinement. It is set to 32 by initialization but can also be set manually.
A value of sectors_ = 8 creates a disk with 8 edges. sectors_ is not limited to powers of two or even numbers!! 5 or 11 for example work as well.
| D3disk::~D3disk | ( | ) | [inline] |
double D3disk::r [protected] |
double D3disk::sectors [protected] |
1.7.3