MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
compareParticleIds< nDim > Class Template Reference

#include <lptcollision.h>

Collaboration diagram for compareParticleIds< nDim >:
[legend]

Public Member Functions

 compareParticleIds (typename std::vector< LPTSpherical< nDim > >::const_iterator aPartId)
 
MBool operator() (const collStruct< nDim > &obj)
 

Private Attributes

std::vector< LPTSpherical< nDim > >::const_iterator partId
 

Detailed Description

template<MInt nDim>
class compareParticleIds< nDim >

Definition at line 143 of file lptcollision.h.

Constructor & Destructor Documentation

◆ compareParticleIds()

template<MInt nDim>
compareParticleIds< nDim >::compareParticleIds ( typename std::vector< LPTSpherical< nDim > >::const_iterator  aPartId)
inlineexplicit

Definition at line 145 of file lptcollision.h.

145: partId(aPartId) {}
std::vector< LPTSpherical< nDim > >::const_iterator partId
Definition: lptcollision.h:152

Member Function Documentation

◆ operator()()

template<MInt nDim>
MBool compareParticleIds< nDim >::operator() ( const collStruct< nDim > &  obj)
inline

Definition at line 147 of file lptcollision.h.

147 {
148 return ((obj.returnParticle0() == partId) || (obj.returnParticle1() == partId));
149 }
std::vector< LPTSpherical< nDim > >::iterator returnParticle1() const
std::vector< LPTSpherical< nDim > >::iterator returnParticle0() const

Member Data Documentation

◆ partId

template<MInt nDim>
std::vector<LPTSpherical<nDim>>::const_iterator compareParticleIds< nDim >::partId
private

Definition at line 152 of file lptcollision.h.


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