ComplexGreater< T > Class Template Reference

Driver for a multi-physics problem that couples the Navier–Stokes. More...

Public Member Functions

bool operator() (const std::complex< T > &x, const std::complex< T > &y) const
 Comparison. Are the values identical or not? More...
 

Detailed Description

template<class T>
class ComplexGreater< T >

Driver for a multi-physics problem that couples the Navier–Stokes.

Function-type-object to perform comparison of complex data types Needed to sort the complex eigenvalues into order based on the size of the real part.

Member Function Documentation

◆ operator()()

template<class T >
bool ComplexGreater< T >::operator() ( const std::complex< T > &  x,
const std::complex< T > &  y 
) const
inline

Comparison. Are the values identical or not?

55  {
56  return x.real() > y.real();
57  }
Scalar * y
Definition: level1_cplx_impl.h:128
list x
Definition: plotDoE.py:28

References plotDoE::x, and y.


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