OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
olb::RhoStatistics Struct Reference

Multiphysics class for coupling between different lattices. More...

#include <shanChenForcedPostProcessor.h>

+ Collaboration diagram for olb::RhoStatistics:

Public Member Functions

int getPriority () const
 
template<typename CELL >
void apply (CELL &cell) any_platform
 

Static Public Attributes

static constexpr OperatorScope scope = OperatorScope::PerCell
 

Detailed Description

Multiphysics class for coupling between different lattices.

Definition at line 40 of file shanChenForcedPostProcessor.h.

Member Function Documentation

◆ apply()

template<typename CELL >
void olb::RhoStatistics::apply ( CELL & cell)
inline

Definition at line 48 of file shanChenForcedPostProcessor.h.

49 {
50 auto statistic = cell.template getField<descriptors::STATISTIC>();
51 statistic[0] = cell.computeRho();
52 cell.template setField<descriptors::STATISTIC>(statistic);
53 }

◆ getPriority()

int olb::RhoStatistics::getPriority ( ) const
inline

Definition at line 43 of file shanChenForcedPostProcessor.h.

43 {
44 return 0;
45 }

Member Data Documentation

◆ scope

constexpr OperatorScope olb::RhoStatistics::scope = OperatorScope::PerCell
staticconstexpr

Definition at line 41 of file shanChenForcedPostProcessor.h.


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