ESyS-Particle  2.3.4
Vec3 Class Reference

#include <vec3.h>

Inheritance diagram for Vec3:
Collaboration diagram for Vec3:

Public Member Functions

VEC3_INLINE Vec3 ()
 The zero vector. More...
 
VEC3_INLINE Vec3 (double s)
 
VEC3_INLINE Vec3 (double, double, double)
 
VEC3_INLINE Vec3 (const Vec3 &)
 
VEC3_INLINE Vec3operator= (const Vec3 &)
 
VEC3_INLINE Vec3operator= (double s)
 
VEC3_INLINE Vec3operator-= (const Vec3 &)
 
VEC3_INLINE Vec3operator+= (const Vec3 &)
 
VEC3_INLINE Vec3 operator+ (const Vec3 &) const
 
VEC3_INLINE Vec3 operator- (const Vec3 &) const
 
VEC3_INLINE Vec3 operator* (const Matrix3 &m) const
 
VEC3_INLINE double operator* (const Vec3 &) const
 
VEC3_INLINE Vec3 operator- () const
 
VEC3_INLINE Vec3 operator* (double) const
 
VEC3_INLINE Vec3operator*= (double)
 
VEC3_INLINE Vec3 operator/ (double) const
 
VEC3_INLINE Vec3 operator- (double) const
 
VEC3_INLINE Vec3 operator+ (double) const
 
VEC3_INLINE Vec3operator+= (double)
 
VEC3_INLINE Vec3operator-= (double)
 
VEC3_INLINE Vec3operator/= (double)
 
VEC3_INLINE double norm () const
 
VEC3_INLINE double norm2 () const
 
VEC3_INLINE Vec3 unit () const
 
VEC3_INLINE Vec3 unit_s () const
 
VEC3_INLINE double max () const
 
VEC3_INLINE double min () const
 
VEC3_INLINE Vec3 rotate (const Vec3 &axis, const Vec3 &axisPt) const
 
VEC3_INLINE bool operator== (const Vec3 &) const
 
VEC3_INLINE bool operator!= (const Vec3 &) const
 
VEC3_INLINE void mul_add_and_assign (const Vec3 *, const Vec3 *, const double &)
 
VEC3_INLINE void mul_and_assign (const Vec3 *, const double &)
 
VEC3_INLINE Vec3 (const VDMulVadd &)
 
VEC3_INLINE Vec3operator= (const VDMulVadd &)
 
VEC3_INLINE Vec3 (const VDMul &)
 
VEC3_INLINE Vec3operator= (const VDMul &)
 
VEC3_INLINE void set_x (double x)
 
VEC3_INLINE void set_y (double y)
 
VEC3_INLINE void set_z (double z)
 
VEC3_INLINE double & X ()
 
VEC3_INLINE double & Y ()
 
VEC3_INLINE double & Z ()
 
VEC3_INLINE double X () const
 
VEC3_INLINE double Y () const
 
VEC3_INLINE double Z () const
 
VEC3_INLINE const double & operator[] (int i) const
 
VEC3_INLINE double & operator[] (int i)
 
bool operator< (const Vec3 &) const
 
 Vec3 ()
 
 Vec3 (double, double, double)
 
 Vec3 (const Vec3 &)
 
Vec3operator= (const Vec3 &)
 
Vec3operator-= (const Vec3 &)
 
Vec3operator+= (const Vec3 &)
 
Vec3 operator+ (const Vec3 &) const
 
Vec3 operator- (const Vec3 &) const
 
double operator* (const Vec3 &) const
 
Vec3 operator- ()
 
Vec3 operator* (double) const
 
Vec3 operator/ (double) const
 
double norm () const
 
double norm2 () const
 
Vec3 unit () const
 
Vec3 unit_s () const
 
double max () const
 
double min () const
 
bool operator== (const Vec3 &)
 
bool operator!= (const Vec3 &)
 
void mul_add_and_assign (const Vec3 *, const Vec3 *, const double &)
 
void mul_and_assign (const Vec3 *, const double &)
 
 Vec3 (const VDMulVadd &)
 
Vec3operator= (const VDMulVadd &)
 
 Vec3 (const VDMul &)
 
Vec3operator= (const VDMul &)
 
double X () const
 
double Y () const
 
double Z () const
 
double operator[] (int i) const
 
double & operator[] (int i)
 

Static Public Attributes

static const Vec3 ZERO = Vec3(0.0, 0.0, 0.0)
 

Protected Attributes

double data [3]
 

Friends

class Matrix3
 
class Mat3
 
VEC3_INLINE friend Vec3 cmax (const Vec3 &, const Vec3 &)
 
VEC3_INLINE friend Vec3 cmin (const Vec3 &, const Vec3 &)
 
VEC3_INLINE friend Vec3 cross (const Vec3 &, const Vec3 &)
 
VEC3_INLINE friend double dot (const Vec3 &, const Vec3 &)
 
VEC3_INLINE friend Vec3 operator* (double, const Vec3 &)
 
VEC3_INLINE friend ostream & operator<< (ostream &, const Vec3 &)
 
VEC3_INLINE friend istream & operator>> (istream &, Vec3 &)
 
Vec3 cmax (const Vec3 &, const Vec3 &)
 
Vec3 cmin (const Vec3 &, const Vec3 &)
 
Vec3 cross (const Vec3 &, const Vec3 &)
 
Vec3 operator* (double, const Vec3 &)
 
ostream & operator<< (ostream &, const Vec3 &)
 
istream & operator>> (istream &, Vec3 &)
 

Constructor & Destructor Documentation

◆ Vec3() [1/11]

Vec3::Vec3 ( )

The zero vector.

References data.

Referenced by operator*(), operator+(), operator-(), and operator/().

Here is the caller graph for this function:

◆ Vec3() [2/11]

VEC3_INLINE Vec3::Vec3 ( double  s)
explicit

References data.

◆ Vec3() [3/11]

Vec3::Vec3 ( double  a,
double  b,
double  c 
)

References data.

◆ Vec3() [4/11]

Vec3::Vec3 ( const Vec3 rhs)

References data.

◆ Vec3() [5/11]

Vec3::Vec3 ( const VDMulVadd v)

References VDMulVadd::d, mul_add_and_assign(), VDMulVadd::v1, and VDMulVadd::v2.

Here is the call graph for this function:

◆ Vec3() [6/11]

Vec3::Vec3 ( const VDMul v)

References VDMul::d, mul_and_assign(), and VDMul::v.

Here is the call graph for this function:

◆ Vec3() [7/11]

Vec3::Vec3 ( )

◆ Vec3() [8/11]

Vec3::Vec3 ( double  ,
double  ,
double   
)

◆ Vec3() [9/11]

Vec3::Vec3 ( const Vec3 )

◆ Vec3() [10/11]

Vec3::Vec3 ( const VDMulVadd )

◆ Vec3() [11/11]

Vec3::Vec3 ( const VDMul )

Member Function Documentation

◆ max() [1/2]

double Vec3::max ( ) const

References data.

◆ max() [2/2]

double Vec3::max ( ) const

◆ min() [1/2]

double Vec3::min ( ) const

References data.

◆ min() [2/2]

double Vec3::min ( ) const

◆ mul_add_and_assign() [1/2]

void Vec3::mul_add_and_assign ( const Vec3 v1,
const Vec3 v2,
const double &  d 
)

References data.

Referenced by operator=(), and Vec3().

Here is the caller graph for this function:

◆ mul_add_and_assign() [2/2]

void Vec3::mul_add_and_assign ( const Vec3 ,
const Vec3 ,
const double &   
)

◆ mul_and_assign() [1/2]

void Vec3::mul_and_assign ( const Vec3 v,
const double &  d 
)

References data.

Referenced by operator=(), and Vec3().

Here is the caller graph for this function:

◆ mul_and_assign() [2/2]

void Vec3::mul_and_assign ( const Vec3 ,
const double &   
)

◆ norm() [1/2]

double Vec3::norm ( ) const

References data.

Referenced by FracWriter::addPlane(), CESphereBodyInteractionGroup< T >::applyForce(), Quaternion::asAngleAxis(), CElasticSphereBodyInteraction< T >::calcForces(), CFrictionInteraction::calcForces(), CHertzianViscoElasticFrictionInteraction::calcForces(), CHertzMindlinInteraction::calcForces(), CHertzMindlinViscoInteraction::calcForces(), CLocalDamping< T >::calcForces(), CRotBondedInteraction::calcForces(), CRotElasticInteraction::calcForces(), CRotLocalDamping< T >::calcForces(), CRotThermBondedInteraction::calcForces(), CRotThermFrictionInteraction::calcForces(), CSoftBondedWallInteraction< T >::calcForces(), CVWFriction::calcForces(), CRotFrictionInteraction::calcRigidBodyForces(), CRotFrictionInteraction::calcSimpleForces(), Triangle::EdgeSep(), Sphere3D::FillInWP(), Sphere2D::FillInWP(), CFrictionInteraction::getAbsFN(), CHertzianViscoElasticFrictionInteraction::getAbsFN(), CHertzMindlinInteraction::getAbsFN(), CHertzMindlinViscoInteraction::getAbsFN(), CFrictionInteraction::getAbsForceDeficit(), CHertzianViscoElasticFrictionInteraction::getAbsForceDeficit(), CHertzMindlinInteraction::getAbsForceDeficit(), CHertzMindlinViscoInteraction::getAbsForceDeficit(), CRotFrictionInteraction::getAbsForceDeficit(), CRotThermFrictionInteraction::getAbsForceDeficit(), CFrictionInteraction::getAbsFrictionalForce(), CHertzianViscoElasticFrictionInteraction::getAbsFrictionalForce(), CHertzMindlinInteraction::getAbsFrictionalForce(), CHertzMindlinViscoInteraction::getAbsFrictionalForce(), CFrictionInteraction::getAbsFrictionalStress(), CHertzianViscoElasticFrictionInteraction::getAbsFrictionalStress(), CHertzMindlinInteraction::getAbsFrictionalStress(), CHertzMindlinViscoInteraction::getAbsFrictionalStress(), CFrictionInteraction::getAbsMuFN(), CHertzianViscoElasticFrictionInteraction::getAbsMuFN(), CHertzMindlinInteraction::getAbsMuFN(), CHertzMindlinViscoInteraction::getAbsMuFN(), CRotFrictionInteraction::getAbsSlip(), CParticle::getAbsVel(), esys::lsm::SphereBlockGenerator::getAPoint(), CRotBondedInteraction::getContactPoint(), CVWFriction::getCurrentMu(), CElasticSphereBodyInteraction< T >::getForce(), CSoftBondedWallInteraction< T >::getForce(), CRotBondedInteraction::getInitialMidPoint(), CRotThermBondedInteraction::getInitialMidPoint(), CFrictionInteraction::getMaxFricStress(), CHertzianViscoElasticFrictionInteraction::getMaxFricStress(), CHertzMindlinInteraction::getMaxFricStress(), CHertzMindlinViscoInteraction::getMaxFricStress(), CFrictionInteraction::getMuEff(), CHertzianViscoElasticFrictionInteraction::getMuEff(), CHertzMindlinInteraction::getMuEff(), CHertzMindlinViscoInteraction::getMuEff(), CFrictionInteraction::getNormalStress(), CHertzianViscoElasticFrictionInteraction::getNormalStress(), CHertzMindlinInteraction::getNormalStress(), CHertzMindlinViscoInteraction::getNormalStress(), CHertzianElasticInteraction::getPotentialEnergy(), CHertzianViscoElasticInteraction::getPotentialEnergy(), CRotParticle::getQuatFromRotVec(), CRotParticleVi::getQuatFromRotVec(), CFrictionInteraction::getSlipVelocity(), CHertzianViscoElasticFrictionInteraction::getSlipVelocity(), CHertzMindlinInteraction::getSlipVelocity(), CHertzMindlinViscoInteraction::getSlipVelocity(), CElasticSphereBodyInteraction< T >::getStiffness(), Quaternion::length(), esys::lsm::MoveToSurfaceFitter< TmplFitTraits >::moveToSurface(), esys::lsm::Vec3Py::norm(), rotate(), SimpleParticle::rotate(), Matrix3::solve_homogeneous(), unit(), and unit_s().

◆ norm() [2/2]

double Vec3::norm ( ) const

◆ norm2() [1/2]

◆ norm2() [2/2]

double Vec3::norm2 ( ) const

◆ operator!=() [1/2]

bool Vec3::operator!= ( const Vec3 V)

References data.

◆ operator!=() [2/2]

VEC3_INLINE bool Vec3::operator!= ( const Vec3 V) const

References data.

◆ operator*() [1/5]

VEC3_INLINE Vec3 Vec3::operator* ( const Matrix3 m) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator*() [2/5]

double Vec3::operator* ( const Vec3 rhs) const

References data.

◆ operator*() [3/5]

double Vec3::operator* ( const Vec3 ) const

◆ operator*() [4/5]

Vec3 Vec3::operator* ( double  s) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator*() [5/5]

Vec3 Vec3::operator* ( double  ) const

◆ operator*=()

VEC3_INLINE Vec3 & Vec3::operator*= ( double  rhs)

References data.

◆ operator+() [1/3]

Vec3 Vec3::operator+ ( const Vec3 rhs) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator+() [2/3]

Vec3 Vec3::operator+ ( const Vec3 ) const

◆ operator+() [3/3]

VEC3_INLINE Vec3 Vec3::operator+ ( double  s) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator+=() [1/3]

Vec3 & Vec3::operator+= ( const Vec3 rhs)

References data.

◆ operator+=() [2/3]

Vec3& Vec3::operator+= ( const Vec3 )

◆ operator+=() [3/3]

VEC3_INLINE Vec3 & Vec3::operator+= ( double  s)

References data.

◆ operator-() [1/5]

Vec3 Vec3::operator- ( )
inline

References data, and Vec3().

Here is the call graph for this function:

◆ operator-() [2/5]

VEC3_INLINE Vec3 Vec3::operator- ( ) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator-() [3/5]

Vec3 Vec3::operator- ( const Vec3 rhs) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator-() [4/5]

Vec3 Vec3::operator- ( const Vec3 ) const

◆ operator-() [5/5]

VEC3_INLINE Vec3 Vec3::operator- ( double  s) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator-=() [1/3]

Vec3 & Vec3::operator-= ( const Vec3 rhs)

References data.

◆ operator-=() [2/3]

Vec3& Vec3::operator-= ( const Vec3 )

◆ operator-=() [3/3]

VEC3_INLINE Vec3 & Vec3::operator-= ( double  s)

References data.

◆ operator/() [1/2]

Vec3 Vec3::operator/ ( double  s) const

References data, and Vec3().

Here is the call graph for this function:

◆ operator/() [2/2]

Vec3 Vec3::operator/ ( double  ) const

◆ operator/=()

VEC3_INLINE Vec3 & Vec3::operator/= ( double  c)

References data.

◆ operator<()

bool Vec3::operator< ( const Vec3 rhs) const

References data.

◆ operator=() [1/7]

Vec3 & Vec3::operator= ( const VDMul v)

References VDMul::d, mul_and_assign(), and VDMul::v.

Here is the call graph for this function:

◆ operator=() [2/7]

Vec3& Vec3::operator= ( const VDMul )

◆ operator=() [3/7]

Vec3 & Vec3::operator= ( const VDMulVadd v)

References VDMulVadd::d, mul_add_and_assign(), VDMulVadd::v1, and VDMulVadd::v2.

Here is the call graph for this function:

◆ operator=() [4/7]

Vec3& Vec3::operator= ( const VDMulVadd )

◆ operator=() [5/7]

Vec3 & Vec3::operator= ( const Vec3 rhs)

References data.

◆ operator=() [6/7]

Vec3& Vec3::operator= ( const Vec3 )

◆ operator=() [7/7]

VEC3_INLINE Vec3 & Vec3::operator= ( double  s)

References data.

◆ operator==() [1/2]

bool Vec3::operator== ( const Vec3 V)

References data.

◆ operator==() [2/2]

VEC3_INLINE bool Vec3::operator== ( const Vec3 V) const

References data.

◆ operator[]() [1/4]

VEC3_INLINE double& Vec3::operator[] ( int  i)
inline

References data.

◆ operator[]() [2/4]

double& Vec3::operator[] ( int  i)
inline

References data.

◆ operator[]() [3/4]

VEC3_INLINE const double& Vec3::operator[] ( int  i) const
inline

References data.

◆ operator[]() [4/4]

double Vec3::operator[] ( int  i) const
inline

References data.

◆ rotate()

VEC3_INLINE Vec3 Vec3::rotate ( const Vec3 axis,
const Vec3 axisPt 
) const

References cross, dot, and norm().

Referenced by esys::lsm::Vec3Py::rotatePy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_x()

VEC3_INLINE void Vec3::set_x ( double  x)
inline

References data.

◆ set_y()

VEC3_INLINE void Vec3::set_y ( double  y)
inline

References data.

◆ set_z()

VEC3_INLINE void Vec3::set_z ( double  z)
inline

References data.

◆ unit() [1/2]

Vec3 Vec3::unit ( ) const

References norm().

Referenced by CEWallInteractionGroup< T >::applyForce(), CBWallInteractionGroup< T >::applyForce(), CESphereBodyInteractionGroup< T >::applyForce(), CSoftBWallInteractionGroup< T >::applyForce(), CViscWallIG< T >::applyForce(), CElasticSphereBodyInteraction< T >::calcForces(), CHertzianElasticInteraction::calcForces(), CHertzianViscoElasticFrictionInteraction::calcForces(), CHertzianViscoElasticInteraction::calcForces(), CHertzMindlinInteraction::calcForces(), CHertzMindlinViscoInteraction::calcForces(), CRotThermElasticInteraction::calcForces(), CVWFriction::calcForces(), Plane3D::Create(), AEdge::dist(), Edge2D::Edge2D(), Triangle::EdgeSep(), CHertzianViscoElasticFrictionInteraction::getAbsMuFN(), CHertzMindlinInteraction::getAbsMuFN(), CHertzMindlinViscoInteraction::getAbsMuFN(), CVWFriction::getCurrentMu(), Corner::getDirectionFromPoint(), Corner2D::getDirectionFromPoint(), Edge::getDirectionFromPoint(), CElasticSphereBodyInteraction< T >::getForce(), CHertzianViscoElasticFrictionInteraction::getMaxFricStress(), CHertzMindlinInteraction::getMaxFricStress(), CHertzMindlinViscoInteraction::getMaxFricStress(), CFrictionInteraction::getMuEff(), CHertzianViscoElasticFrictionInteraction::getMuEff(), CHertzMindlinInteraction::getMuEff(), CHertzMindlinViscoInteraction::getMuEff(), CFrictionInteraction::getSlipVelocity(), CHertzianViscoElasticFrictionInteraction::getSlipVelocity(), CHertzMindlinInteraction::getSlipVelocity(), CHertzMindlinViscoInteraction::getSlipVelocity(), Edge2D::moveNode(), Plane3D::Plane3D(), Graph::printCrossSection(), Graph::printRotList(), AEdge::sep(), and Matrix3::solve_homogeneous().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unit() [2/2]

Vec3 Vec3::unit ( ) const

◆ unit_s() [1/2]

Vec3 Vec3::unit_s ( ) const

References data, and norm().

Referenced by Triangle::moveNode(), and Triangle::Triangle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unit_s() [2/2]

Vec3 Vec3::unit_s ( ) const

◆ X() [1/3]

VEC3_INLINE double& Vec3::X ( )
inline

References data.

Referenced by FaultedBlock2D::addSegment(), CSimple2DNTable::allidx(), CSimple3DNTable::allidx(), AMPIBuffer::append(), AMPISGBufferRoot::append(), CEWallInteractionGroup< T >::applyForce(), CBWallInteractionGroup< T >::applyForce(), CESphereBodyInteractionGroup< T >::applyForce(), CSoftBWallInteractionGroup< T >::applyForce(), CViscWallIG< T >::applyForce(), BCorner2DInteraction::BCorner2DInteraction(), NeighborTable< T >::block(), CHertzianViscoElasticFrictionInteraction::calcForces(), CHertzianViscoElasticInteraction::calcForces(), CLocalDamping< T >::calcForces(), CRotBondedInteraction::calcForces(), CRotLocalDamping< T >::calcForces(), CRotThermBondedInteraction::calcForces(), CFractalFriction::CFractalFriction(), ARandomAssembly2D::checkAFit(), ARandomAssembly3D::checkAFit(), comp_max(), comp_min(), esys::lsm::BoundingBox::contains(), convert_to_vvf(), CSimple2DNTable::CSimple2DNTable(), CSimple3DNTable::CSimple3DNTable(), Triangle::dist(), do_single_frame(), do_single_frame_r(), Sphere3D::FillIn(), Sphere2D::FillIn(), Sphere3D::FillInWP(), Sphere2D::FillInWP(), esys::lsm::SphAggGougeBlock::generateMacroGrains(), esys::lsm::GranularGougeBlock3D::generateSeeds(), CHertzianViscoElasticFrictionInteraction::getAbsMuFN(), BEdge2DInteraction::getAP(), BTriangleInteraction::getAP(), PointCloud::getFitPlane(), CHertzianViscoElasticFrictionInteraction::getMaxFricStress(), NeighborTable< T >::getParticlesNearEdge(), NeighborTable< T >::getParticlesNearPoint(), NeighborTable< T >::getParticlesNearTriangle(), esys::lsm::GridIterator::getPoint(), esys::lsm::NeighbourTable< TmplParticle >::getVecIndex(), esys::lsm::CartesianGrid< Tensor >::getVecIndex(), esys::lsm::BoundingBox::getVolume(), esys::lsm::GridIterator::GridIterator(), NeighborTable< T >::index(), CSimple2DNTable::index(), CSimple3DNTable::index(), TSubLattice< T >::initNeighborTable(), CSimple2DNTable::insertParticleCircular(), CSimple3DNTable::insertParticleCircular(), CParticle::integrate(), CRotParticle::integrate(), CRotParticleVi::integrate(), LineSegment::intersect(), RectPatch::intersect(), Triangle2D::isIn(), Line::Line(), LineSegment::LineSegment(), CFrictionInteraction::loadRestartData(), CRotFrictionInteraction::loadRestartData(), CRotThermFrictionInteraction::loadRestartData(), NeighborTable< T >::NeighborTable(), esys::lsm::Vec3XyzComparer::operator()(), esys::lsm::Vec3ZyxComparer::operator()(), TML_PackedMessageInterface::pack(), esys::lsm::BodyForceIGP::packInto(), esys::lsm::BuoyancyIGP::packInto(), TTempPartStore< T >::posToIndex(), Arr3::push_back(), esys::lsm::GeometryInfo::Impl::read(), read_and_write_disp_grid(), read_and_write_poros_grid(), read_and_write_profile_r(), read_and_write_profile_rel(), read_file_to_map(), CRotParticle::rescale(), CRotParticleVi::rescale(), CFrictionInteraction::saveRestartData(), CRotFrictionInteraction::saveRestartData(), CRotThermFrictionInteraction::saveRestartData(), RectPatch::sep(), Triangle::sep(), star(), DataExtractor::StrainToTensorData(), TML_PackedMessageInterface::pack< CParticle::exchangeType >(), TML_PackedMessageInterface::pack< CRotParticle::exchangeType >(), TML_PackedMessageInterface::pack< CRotParticleVi::exchangeType >(), TML_PackedMessageInterface::pack< CRotThermParticle::exchangeType >(), Quaternion::to_matrix(), Edge2D::toGlobal(), TTempPartStore< T >::TTempPartStore(), TML_PackedMessageInterface::unpack(), CParticle::writeAsDXLine(), ScalarParticleFieldMaster::writeAsSILO(), VectorParticleFieldMaster::writeAsSILO(), VectorWallFieldMaster::writeAsSILO(), Graph::writeAvgGrainSizeGrid(), and Graph::writeMatrixFractionGrid().

◆ X() [2/3]

VEC3_INLINE double Vec3::X ( ) const
inline

References data.

◆ X() [3/3]

double Vec3::X ( ) const
inline

References data.

◆ Y() [1/3]

VEC3_INLINE double& Vec3::Y ( )
inline

References data.

Referenced by FaultedBlock2D::addSegment(), CSimple2DNTable::allidx(), CSimple3DNTable::allidx(), AMPIBuffer::append(), AMPISGBufferRoot::append(), CEWallInteractionGroup< T >::applyForce(), CBWallInteractionGroup< T >::applyForce(), CESphereBodyInteractionGroup< T >::applyForce(), CSoftBWallInteractionGroup< T >::applyForce(), CViscWallIG< T >::applyForce(), BCorner2DInteraction::BCorner2DInteraction(), NeighborTable< T >::block(), CHertzianViscoElasticFrictionInteraction::calcForces(), CHertzianViscoElasticInteraction::calcForces(), CLocalDamping< T >::calcForces(), CRotBondedInteraction::calcForces(), CRotLocalDamping< T >::calcForces(), CRotThermBondedInteraction::calcForces(), CFractalFriction::CFractalFriction(), ARandomAssembly2D::checkAFit(), ARandomAssembly3D::checkAFit(), comp_max(), comp_min(), esys::lsm::BoundingBox::contains(), convert_to_vvf(), CSimple2DNTable::CSimple2DNTable(), CSimple3DNTable::CSimple3DNTable(), Triangle::dist(), do_single_frame(), do_single_frame_r(), Sphere3D::FillIn(), Sphere2D::FillIn(), Sphere3D::FillInWP(), Sphere2D::FillInWP(), esys::lsm::SphAggGougeBlock::generateMacroGrains(), esys::lsm::GranularGougeBlock3D::generateSeeds(), CRotParticleVi::get_y(), CRotThermParticle::get_y(), CHertzianViscoElasticFrictionInteraction::getAbsMuFN(), BTriangleInteraction::getAP(), PointCloud::getFitPlane(), CHertzianViscoElasticFrictionInteraction::getMaxFricStress(), NeighborTable< T >::getParticlesNearEdge(), NeighborTable< T >::getParticlesNearPoint(), NeighborTable< T >::getParticlesNearTriangle(), RectPatch::getPlane(), esys::lsm::GridIterator::getPoint(), esys::lsm::NeighbourTable< TmplParticle >::getVecIndex(), esys::lsm::CartesianGrid< Tensor >::getVecIndex(), esys::lsm::BoundingBox::getVolume(), esys::lsm::GridIterator::GridIterator(), NeighborTable< T >::index(), CSimple2DNTable::index(), CSimple3DNTable::index(), TSubLattice< T >::initNeighborTable(), CParticle::integrate(), CRotParticle::integrate(), CRotParticleVi::integrate(), LineSegment::intersect(), RectPatch::intersect(), Triangle2D::isIn(), Line::Line(), LineSegment::LineSegment(), CFrictionInteraction::loadRestartData(), CRotFrictionInteraction::loadRestartData(), CRotThermFrictionInteraction::loadRestartData(), NeighborTable< T >::NeighborTable(), esys::lsm::Vec3XyzComparer::operator()(), esys::lsm::Vec3ZyxComparer::operator()(), TML_PackedMessageInterface::pack(), esys::lsm::BodyForceIGP::packInto(), esys::lsm::BuoyancyIGP::packInto(), TTempPartStore< T >::posToIndex(), Arr3::push_back(), esys::lsm::GeometryInfo::Impl::read(), read_and_write_disp_grid(), read_and_write_poros_grid(), read_and_write_profile_r(), read_and_write_profile_rel(), CRotParticle::rescale(), CRotParticleVi::rescale(), CFrictionInteraction::saveRestartData(), CRotFrictionInteraction::saveRestartData(), CRotThermFrictionInteraction::saveRestartData(), RectPatch::sep(), Triangle::sep(), star(), DataExtractor::StrainToTensorData(), TML_PackedMessageInterface::pack< CParticle::exchangeType >(), TML_PackedMessageInterface::pack< CRotParticle::exchangeType >(), TML_PackedMessageInterface::pack< CRotParticleVi::exchangeType >(), TML_PackedMessageInterface::pack< CRotThermParticle::exchangeType >(), Quaternion::to_matrix(), Edge2D::toGlobal(), TTempPartStore< T >::TTempPartStore(), TML_PackedMessageInterface::unpack(), CParticle::writeAsDXLine(), ScalarParticleFieldMaster::writeAsSILO(), VectorParticleFieldMaster::writeAsSILO(), VectorWallFieldMaster::writeAsSILO(), Graph::writeAvgGrainSizeGrid(), Graph::writeAvgGrainSizeProfile(), Graph::writeMatrixFractionGrid(), and Graph::writeMatrixFractionProfile().

◆ Y() [2/3]

VEC3_INLINE double Vec3::Y ( ) const
inline

References data.

◆ Y() [3/3]

double Vec3::Y ( ) const
inline

References data.

◆ Z() [1/3]

VEC3_INLINE double& Vec3::Z ( )
inline

References data.

Referenced by FaultedBlock2D::addSegment(), CSimple3DNTable::allidx(), AMPIBuffer::append(), AMPISGBufferRoot::append(), CEWallInteractionGroup< T >::applyForce(), CBWallInteractionGroup< T >::applyForce(), CESphereBodyInteractionGroup< T >::applyForce(), CSoftBWallInteractionGroup< T >::applyForce(), CViscWallIG< T >::applyForce(), NeighborTable< T >::block(), CHertzianViscoElasticFrictionInteraction::calcForces(), CHertzianViscoElasticInteraction::calcForces(), CLocalDamping< T >::calcForces(), CRotBondedInteraction::calcForces(), CRotLocalDamping< T >::calcForces(), CRotThermBondedInteraction::calcForces(), ARandomAssembly3D::checkAFit(), comp_max(), comp_min(), esys::lsm::BoundingBox::contains(), convert_to_vvf(), Corner2D::Corner2D(), CSimple3DNTable::CSimple3DNTable(), do_single_frame(), do_single_frame_r(), do_single_frame_sliced_vtk_r(), Edge2D::Edge2D(), Sphere3D::FillIn(), Sphere3D::FillInWP(), esys::lsm::SphAggGougeBlock::generateMacroGrains(), esys::lsm::GranularGougeBlock3D::generateSeeds(), CHertzianViscoElasticFrictionInteraction::getAbsMuFN(), CRotParticleVi::getAngVector(), PointCloud::getFitPlane(), CHertzianViscoElasticFrictionInteraction::getMaxFricStress(), NeighborTable< T >::getParticlesNearEdge(), NeighborTable< T >::getParticlesNearPoint(), NeighborTable< T >::getParticlesNearTriangle(), esys::lsm::GridIterator::getPoint(), esys::lsm::NeighbourTable< TmplParticle >::getVecIndex(), esys::lsm::CartesianGrid< Tensor >::getVecIndex(), esys::lsm::BoundingBox::getVolume(), esys::lsm::GougeBlock3D::GougeBlock3D(), esys::lsm::GougeConfig< TmplGrainRandomBoxPacker, TmplParticleRandomBoxPacker, TmplConnection >::GougeConfig(), esys::lsm::GridIterator::GridIterator(), CSimple3DNTable::index(), TSubLattice< T >::initNeighborTable(), CRotParticle::integrate(), CRotParticleVi::integrate(), RectPatch::intersect(), esys::lsm::PackingInfo::is3d(), Line::Line(), LineSegment::LineSegment(), CFrictionInteraction::loadRestartData(), CRotFrictionInteraction::loadRestartData(), CRotThermFrictionInteraction::loadRestartData(), main(), Corner2D::move(), NeighborTable< T >::NeighborTable(), esys::lsm::Vec3XyzComparer::operator()(), esys::lsm::Vec3ZyxComparer::operator()(), TML_PackedMessageInterface::pack(), esys::lsm::BodyForceIGP::packInto(), esys::lsm::BuoyancyIGP::packInto(), TTempPartStore< T >::posToIndex(), Graph::printCrossSection(), Graph::printRotList(), Arr3::push_back(), esys::lsm::GeometryInfo::Impl::read(), read_and_write_disp_grid(), read_and_write_poros_grid(), read_and_write_profile_r(), read_and_write_profile_rel(), readParticlesSliced(), CRotParticle::rescale(), CRotParticleVi::rescale(), CFrictionInteraction::saveRestartData(), CRotFrictionInteraction::saveRestartData(), CRotThermFrictionInteraction::saveRestartData(), RectPatch::sep(), esys::lsm::SphAggGougeBlock::setupNT2(), star(), DataExtractor::StrainToTensorData(), TML_PackedMessageInterface::pack< CParticle::exchangeType >(), TML_PackedMessageInterface::pack< CRotParticle::exchangeType >(), TML_PackedMessageInterface::pack< CRotParticleVi::exchangeType >(), TML_PackedMessageInterface::pack< CRotThermParticle::exchangeType >(), Quaternion::to_matrix(), TTempPartStore< T >::TTempPartStore(), TML_PackedMessageInterface::unpack(), esys::lsm::GougeBlock3D::write(), esys::lsm::GougeConfig< TmplGrainRandomBoxPacker, TmplParticleRandomBoxPacker, TmplConnection >::write(), CParticle::writeAsDXLine(), ScalarParticleFieldMaster::writeAsSILO(), VectorParticleFieldMaster::writeAsSILO(), VectorWallFieldMaster::writeAsSILO(), Graph::writeAvgGrainSizeGrid(), and Graph::writeMatrixFractionGrid().

◆ Z() [2/3]

VEC3_INLINE double Vec3::Z ( ) const
inline

References data.

◆ Z() [3/3]

double Vec3::Z ( ) const
inline

References data.

Friends And Related Function Documentation

◆ cmax [1/2]

VEC3_INLINE friend Vec3 cmax ( const Vec3 v1,
const Vec3 v2 
)
friend

◆ cmax [2/2]

Vec3 cmax ( const Vec3 v1,
const Vec3 v2 
)
friend

◆ cmin [1/2]

VEC3_INLINE friend Vec3 cmin ( const Vec3 v1,
const Vec3 v2 
)
friend

◆ cmin [2/2]

Vec3 cmin ( const Vec3 v1,
const Vec3 v2 
)
friend

◆ cross [1/2]

VEC3_INLINE friend Vec3 cross ( const Vec3 lhs,
const Vec3 rhs 
)
friend

Referenced by rotate().

◆ cross [2/2]

Vec3 cross ( const Vec3 lhs,
const Vec3 rhs 
)
friend

◆ dot

VEC3_INLINE friend double dot ( const Vec3 v1,
const Vec3 v2 
)
friend

Referenced by rotate().

◆ Mat3

friend class Mat3
friend

◆ Matrix3

friend class Matrix3
friend

◆ operator* [1/2]

VEC3_INLINE friend Vec3 operator* ( double  f,
const Vec3 rhs 
)
friend

◆ operator* [2/2]

Vec3 operator* ( double  f,
const Vec3 rhs 
)
friend

◆ operator<< [1/2]

VEC3_INLINE friend ostream& operator<< ( ostream &  ostr,
const Vec3 V 
)
friend

◆ operator<< [2/2]

ostream& operator<< ( ostream &  ostr,
const Vec3 V 
)
friend

◆ operator>> [1/2]

VEC3_INLINE friend istream& operator>> ( istream &  istr,
Vec3 V 
)
friend

◆ operator>> [2/2]

istream& operator>> ( istream &  istr,
Vec3 V 
)
friend

Member Data Documentation

◆ data

◆ ZERO


The documentation for this class was generated from the following files: