ESyS-Particle  2.3.2
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec > Class Template Reference

#include <IntersectionVolCalculator.h>

Inheritance diagram for esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >:
Collaboration diagram for esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >:

Classes

class  Vertex
class  VertexBox
class  VolumeSphere

Public Types

typedef TmplVec Vec
typedef DimBasicSphere
< tmplDim, Vec
BasicSphere
typedef DimBasicBox< tmplDim, VecBasicBox
typedef DimPlane< tmplDim, VecPlane

Public Member Functions

 IntersectionVolCalculator (const BasicBox &box)
const VolumeSpheregetSphere () const
void setSphere (const BasicSphere &sphere)
const BasicBoxgetBox () const
const VertexBoxgetVertexBox () const
double getInsidePointVolume (const Vec &pt) const
double getTwoPlaneVolume (const Vec &pt, const int orientDim) const
double getOutsidePointVolume (const Vec &pt) const
double getVolume (const Vertex &vtx)
double getVertexVolume (const BasicSphere &sphere)
bool sphereContainsBox (const BasicSphere &sphere) const
double getVolume (const BasicSphere &sphere)

Static Public Member Functions

static Vec getNormal (int dim)
static Vec getNegNormal (int dim)
static Vec componentMin (const Vec &p1, const Vec &p2)
static Vec componentMax (const Vec &p1, const Vec &p2)

Private Attributes

VolumeSphere m_sphere
VertexBox m_box

Member Typedef Documentation

template<int tmplDim, typename TmplVec>
typedef DimBasicBox<tmplDim,Vec> esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::BasicBox
template<int tmplDim, typename TmplVec>
typedef DimBasicSphere<tmplDim,Vec> esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::BasicSphere
template<int tmplDim, typename TmplVec>
typedef DimPlane<tmplDim,Vec> esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::Plane
template<int tmplDim, typename TmplVec>
typedef TmplVec esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::Vec

Constructor & Destructor Documentation

template<int tmplDim, typename TmplVec >
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::IntersectionVolCalculator ( const BasicBox box)

Member Function Documentation

template<int tmplDim, typename TmplVec >
IntersectionVolCalculator< tmplDim, TmplVec >::Vec esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::componentMax ( const Vec p1,
const Vec p2 
)
static
template<int tmplDim, typename TmplVec >
IntersectionVolCalculator< tmplDim, TmplVec >::Vec esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::componentMin ( const Vec p1,
const Vec p2 
)
static
template<int tmplDim, typename TmplVec >
const IntersectionVolCalculator< tmplDim, TmplVec >::BasicBox & esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getBox ( ) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getInsidePointVolume ( const Vec pt) const
template<int tmplDim, typename TmplVec >
IntersectionVolCalculator< tmplDim, TmplVec >::Vec esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getNegNormal ( int  dim)
static
template<int tmplDim, typename TmplVec >
IntersectionVolCalculator< tmplDim, TmplVec >::Vec esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getNormal ( int  dim)
static
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getOutsidePointVolume ( const Vec pt) const

References esys::lsm::impl::DimBasicBox< tmplDim, TmplVec >::getMaxPt().

Here is the call graph for this function:

template<int tmplDim, typename TmplVec >
const IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere & esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getSphere ( ) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getTwoPlaneVolume ( const Vec pt,
const int  orientDim 
) const

References esys::lsm::impl::DimPlane< tmplDim, TmplVec >::getDistanceTo(), and esys::lsm::impl::square().

Here is the call graph for this function:

template<int tmplDim, typename TmplVec >
const IntersectionVolCalculator< tmplDim, TmplVec >::VertexBox & esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getVertexBox ( ) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getVertexVolume ( const BasicSphere sphere)
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getVolume ( const Vertex vtx)

References esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::Vertex::getPoint().

Here is the call graph for this function:

template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getVolume ( const BasicSphere sphere)
template<int tmplDim, typename TmplVec >
void esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::setSphere ( const BasicSphere sphere)
template<int tmplDim, typename TmplVec >
bool esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::sphereContainsBox ( const BasicSphere sphere) const

References esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::intersectsWith().

Here is the call graph for this function:

Member Data Documentation

template<int tmplDim, typename TmplVec>
VertexBox esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::m_box
private

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