OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
olb::CellStatistic< T > Struct Template Reference

Return value of any collision. More...

#include <interface.h>

+ Collaboration diagram for olb::CellStatistic< T >:

Public Member Functions

 operator bool () const any_platform
 

Public Attributes

rho
 
uSqr
 

Detailed Description

template<typename T>
struct olb::CellStatistic< T >

Return value of any collision.

Used for lattice statistics if enabled

Definition at line 43 of file interface.h.

Member Function Documentation

◆ operator bool()

template<typename T >
olb::CellStatistic< T >::operator bool ( ) const
inline

Definition at line 47 of file interface.h.

47 {
48 return rho != T{-1} && uSqr != T{-1};
49 }

References olb::CellStatistic< T >::rho, and olb::CellStatistic< T >::uSqr.

Member Data Documentation

◆ rho

template<typename T >
T olb::CellStatistic< T >::rho

Definition at line 44 of file interface.h.

◆ uSqr

template<typename T >
T olb::CellStatistic< T >::uSqr

Definition at line 45 of file interface.h.


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