OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::RhoWettingStatistics Struct Reference

#include <phaseFieldCoupling.h>

+ Collaboration diagram for olb::RhoWettingStatistics:

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

Definition at line 580 of file phaseFieldCoupling.h.

Member Function Documentation

◆ apply()

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

Definition at line 588 of file phaseFieldCoupling.h.

589 {
590 auto statistic = cell.template getField<descriptors::STATISTIC>();
591 statistic[0] = cell.computeRho();
592 cell.template setField<descriptors::STATISTIC>(statistic);
593 cell.template setField<descriptors::PHIWETTING>(statistic[0]);
594 }

◆ getPriority()

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

Definition at line 583 of file phaseFieldCoupling.h.

583 {
584 return 0;
585 }

Member Data Documentation

◆ scope

OperatorScope olb::RhoWettingStatistics::scope = OperatorScope::PerCell
staticconstexpr

Definition at line 581 of file phaseFieldCoupling.h.


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