hemocell
Loading...
Searching...
No Matches
SphereShapeDomain3D< T > Class Template Reference

A functional, used to instantiate bounce-back nodes at the locations of the sphere. More...

Inheritance diagram for SphereShapeDomain3D< T >:
Collaboration diagram for SphereShapeDomain3D< T >:

Public Member Functions

 SphereShapeDomain3D (plint cx_, plint cy_, plint cz_, plint radius)
 
virtual bool operator() (plint iX, plint iY, plint iZ) const
 
virtual SphereShapeDomain3D< T > * clone () const
 

Private Attributes

plint cx
 
plint cy
 
plint cz
 
plint radiusSqr
 

Detailed Description

template<typename T>
class SphereShapeDomain3D< T >

A functional, used to instantiate bounce-back nodes at the locations of the sphere.

Constructor & Destructor Documentation

◆ SphereShapeDomain3D()

template<typename T>
SphereShapeDomain3D< T >::SphereShapeDomain3D ( plint cx_,
plint cy_,
plint cz_,
plint radius )
inline

Member Function Documentation

◆ clone()

template<typename T>
virtual SphereShapeDomain3D< T > * SphereShapeDomain3D< T >::clone ( ) const
inlinevirtual

◆ operator()()

template<typename T>
virtual bool SphereShapeDomain3D< T >::operator() ( plint iX,
plint iY,
plint iZ ) const
inlinevirtual

Member Data Documentation

◆ cx

template<typename T>
plint SphereShapeDomain3D< T >::cx
private

◆ cy

template<typename T>
plint SphereShapeDomain3D< T >::cy
private

◆ cz

template<typename T>
plint SphereShapeDomain3D< T >::cz
private

◆ radiusSqr

template<typename T>
plint SphereShapeDomain3D< T >::radiusSqr
private