MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
maia::lpt::sort_particleAfterPartIds< T > Class Template Reference

#include <lptlib.h>

Static Public Member Functions

static MBool compare (const T &i, const T &j)
 

Detailed Description

template<class T>
class maia::lpt::sort_particleAfterPartIds< T >

Definition at line 72 of file lptlib.h.

Member Function Documentation

◆ compare()

template<class T >
static MBool maia::lpt::sort_particleAfterPartIds< T >::compare ( const T &  i,
const T &  j 
)
inlinestatic

Definition at line 77 of file lptlib.h.

77 {
78 if(i.m_partId == j.m_partId) {
79 return i.m_position[0] < j.m_position[0];
80 }
81 return (i.m_partId < j.m_partId);
82 }

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