#include <ckvector3d.h>
Public Member Functions | |
CkVector3dT (void) | |
CkVector3dT (int init) | |
CkVector3dT (float init) | |
CkVector3dT (double init) | |
CkVector3dT (const real Nx, const real Ny, const real Nz) | |
CkVector3dT (const real *arr) | |
CkVector3dT (const CkVector3dT< float > &src) | |
CkVector3dT (const CkVector3dT< double > &src) | |
CkVector3dT (const CkVector3dT< int > &src) | |
operator real * () | |
operator const real * () const | |
int | operator== (const vec &b) const |
int | operator!= (const vec &b) const |
vec | operator+ (const vec &b) const |
vec | operator- (const vec &b) const |
vec | operator* (const real scale) const |
vec | operator/ (const real &div) const |
vec | operator- (void) const |
void | operator+= (const vec &b) |
void | operator-= (const vec &b) |
void | operator*= (const real scale) |
void | operator/= (const real div) |
real | magSqr (void) const |
real | mag (void) const |
real | distSqr (const vec &b) const |
real | dist (const vec &b) const |
real | dot (const vec &b) const |
real | cosAng (const vec &b) const |
vec | dir (void) const |
vec | cross (const vec &b) const |
real | max (void) |
void | enlarge (const vec &by) |
void | pup (PUP::er &p) |
Data Fields | |
real | x |
real | y |
real | z |
Private Types | |
typedef CkVector3dT< real > | vec |
Friends | |
vec | operator* (const real scale, const vec &v) |
Definition at line 27 of file ckvector3d.h.
typedef CkVector3dT<real> CkVector3dT< real >::vec [private] |
Definition at line 28 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | void | ) | [inline] |
Definition at line 31 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | int | init | ) | [inline, explicit] |
Definition at line 33 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | float | init | ) | [inline, explicit] |
Definition at line 34 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | double | init | ) | [inline, explicit] |
Definition at line 35 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | const real | Nx, | |
const real | Ny, | |||
const real | Nz | |||
) | [inline] |
Definition at line 37 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | const real * | arr | ) | [inline] |
Definition at line 39 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | const CkVector3dT< float > & | src | ) | [inline] |
Definition at line 42 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | const CkVector3dT< double > & | src | ) | [inline] |
Definition at line 44 of file ckvector3d.h.
CkVector3dT< real >::CkVector3dT | ( | const CkVector3dT< int > & | src | ) | [inline] |
Definition at line 46 of file ckvector3d.h.
CkVector3dT< real >::operator real * | ( | ) | [inline] |
CkVector3dT< real >::operator const real * | ( | ) | const [inline] |
int CkVector3dT< real >::operator== | ( | const vec & | b | ) | const [inline] |
Definition at line 56 of file ckvector3d.h.
int CkVector3dT< real >::operator!= | ( | const vec & | b | ) | const [inline] |
Definition at line 57 of file ckvector3d.h.
vec CkVector3dT< real >::operator+ | ( | const vec & | b | ) | const [inline] |
Definition at line 58 of file ckvector3d.h.
vec CkVector3dT< real >::operator- | ( | const vec & | b | ) | const [inline] |
Definition at line 59 of file ckvector3d.h.
vec CkVector3dT< real >::operator* | ( | const real | scale | ) | const [inline] |
Definition at line 60 of file ckvector3d.h.
vec CkVector3dT< real >::operator/ | ( | const real & | div | ) | const [inline] |
Definition at line 64 of file ckvector3d.h.
vec CkVector3dT< real >::operator- | ( | void | ) | const [inline] |
Definition at line 66 of file ckvector3d.h.
void CkVector3dT< real >::operator+= | ( | const vec & | b | ) | [inline] |
Definition at line 67 of file ckvector3d.h.
void CkVector3dT< real >::operator-= | ( | const vec & | b | ) | [inline] |
Definition at line 68 of file ckvector3d.h.
void CkVector3dT< real >::operator*= | ( | const real | scale | ) | [inline] |
Definition at line 69 of file ckvector3d.h.
void CkVector3dT< real >::operator/= | ( | const real | div | ) | [inline] |
Definition at line 70 of file ckvector3d.h.
real CkVector3dT< real >::magSqr | ( | void | ) | const [inline] |
Definition at line 74 of file ckvector3d.h.
Referenced by CkVector3dT< double >::mag().
real CkVector3dT< real >::mag | ( | void | ) | const [inline] |
Definition at line 76 of file ckvector3d.h.
Referenced by CkVector3dT< double >::cosAng(), and CkVector3dT< double >::dir().
real CkVector3dT< real >::distSqr | ( | const vec & | b | ) | const [inline] |
Definition at line 79 of file ckvector3d.h.
Referenced by faceSet::calculateFaceLenSq(), CkVector3dT< double >::dist(), faceSet::getLocFace(), faceSet::getLocNode(), and PUPmarshall().
real CkVector3dT< real >::dist | ( | const vec & | b | ) | const [inline] |
Definition at line 82 of file ckvector3d.h.
real CkVector3dT< real >::dot | ( | const vec & | b | ) | const [inline] |
Definition at line 85 of file ckvector3d.h.
Referenced by CkHalfspace3d::CkHalfspace3d(), CkVector3dT< double >::cosAng(), CkHalfspace3d::init(), CkHalfspace3d::intersect(), and CkHalfspace3d::side().
real CkVector3dT< real >::cosAng | ( | const vec & | b | ) | const [inline] |
Definition at line 87 of file ckvector3d.h.
vec CkVector3dT< real >::dir | ( | void | ) | const [inline] |
Definition at line 90 of file ckvector3d.h.
vec CkVector3dT< real >::cross | ( | const vec & | b | ) | const [inline] |
Definition at line 92 of file ckvector3d.h.
Referenced by CkAxes3d::ortho().
real CkVector3dT< real >::max | ( | void | ) | [inline] |
Definition at line 97 of file ckvector3d.h.
void CkVector3dT< real >::enlarge | ( | const vec & | by | ) | [inline] |
Definition at line 105 of file ckvector3d.h.
void CkVector3dT< real >::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 112 of file ckvector3d.h.
Definition at line 62 of file ckvector3d.h.
real CkVector3dT< real >::x |
Definition at line 30 of file ckvector3d.h.
Referenced by CkBbox3d::add(), CkVector3dT< double >::CkVector3dT(), CkViewpoint::clip(), CkVector3dT< double >::cross(), CkVector3dT< double >::distSqr(), CkVector3dT< double >::dot(), GenericElement::dshape_func(), CkBbox3d::empty(), CkVector3dT< double >::enlarge(), getSharedVolumeTets(), GenericElement::interpolate_natural(), CkBbox3d::isEmpty(), CkViewpoint::isInbounds(), GenericElement::jacobian(), impl_LV3D_Array::LV3D_FlatRender(), CkVector3dT< double >::magSqr(), CkVector3dT< double >::max(), MBLK_Get_nodelocs(), CkVector3dT< real >::operator const real *(), CkVector3dT< real >::operator real *(), CkVector3dT< double >::operator!=(), CkVector3dT< double >::operator*(), CkVector3dT< double >::operator*=(), CkVector3dT< double >::operator+(), CkVector3dT< double >::operator+=(), CkVector3dT< double >::operator-(), CkVector3dT< double >::operator-=(), CkVector3dT< double >::operator/(), CkVector3dT< double >::operator/=(), CkVector3dT< double >::operator==(), print(), CkViewpoint::project(), CkViewpoint::project_noz(), CkVector3dT< double >::pup(), randVec(), GenericElement::shape_func(), test_vol_mgc(), CkViewpoint::viewplane(), and writeNoboite().
real CkVector3dT< real >::y |
Definition at line 30 of file ckvector3d.h.
Referenced by CkBbox3d::add(), CkVector3dT< double >::CkVector3dT(), CkViewpoint::clip(), CkVector3dT< double >::cross(), CkVector3dT< double >::distSqr(), CkVector3dT< double >::dot(), GenericElement::dshape_func(), CkBbox3d::empty(), CkVector3dT< double >::enlarge(), getSharedVolumeTets(), GenericElement::interpolate_natural(), CkViewpoint::isInbounds(), GenericElement::jacobian(), impl_LV3D_Array::LV3D_FlatRender(), CkVector3dT< double >::magSqr(), CkVector3dT< double >::max(), MBLK_Get_nodelocs(), CkVector3dT< double >::operator!=(), CkVector3dT< double >::operator*(), CkVector3dT< double >::operator*=(), CkVector3dT< double >::operator+(), CkVector3dT< double >::operator+=(), CkVector3dT< double >::operator-(), CkVector3dT< double >::operator-=(), CkVector3dT< double >::operator/(), CkVector3dT< double >::operator/=(), CkVector3dT< double >::operator==(), print(), CkViewpoint::project(), CkViewpoint::project_noz(), CkVector3dT< double >::pup(), randVec(), GenericElement::shape_func(), test_vol_mgc(), CkViewpoint::viewplane(), and writeNoboite().
real CkVector3dT< real >::z |
Definition at line 30 of file ckvector3d.h.
Referenced by CkBbox3d::add(), CkVector3dT< double >::CkVector3dT(), CkVector3dT< double >::cross(), CkVector3dT< double >::distSqr(), CkVector3dT< double >::dot(), GenericElement::dshape_func(), CkBbox3d::empty(), CkVector3dT< double >::enlarge(), getSharedVolumeTets(), GenericElement::interpolate_natural(), GenericElement::jacobian(), CkVector3dT< double >::magSqr(), CkVector3dT< double >::max(), MBLK_Get_nodelocs(), CkVector3dT< double >::operator!=(), CkVector3dT< double >::operator*(), CkVector3dT< double >::operator*=(), CkVector3dT< double >::operator+(), CkVector3dT< double >::operator+=(), CkVector3dT< double >::operator-(), CkVector3dT< double >::operator-=(), CkVector3dT< double >::operator/(), CkVector3dT< double >::operator/=(), CkVector3dT< double >::operator==(), print(), CkViewpoint::project(), CkViewpoint::project_noz(), CkVector3dT< double >::pup(), randVec(), GenericElement::shape_func(), test_vol_mgc(), and writeNoboite().