OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
olb::FreeEnergyChemPotBoundaryProcessor2DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y > Class Template Reference

#include <boundaryPostProcessors2D.h>

+ Collaboration diagram for olb::FreeEnergyChemPotBoundaryProcessor2DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y >:

Public Member Functions

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

Static Public Attributes

static constexpr OperatorScope scope = OperatorScope::PerCell
 

Detailed Description

template<typename T, typename DESCRIPTOR, int NORMAL_X, int NORMAL_Y>
class olb::FreeEnergyChemPotBoundaryProcessor2DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y >

Definition at line 83 of file boundaryPostProcessors2D.h.

Member Function Documentation

◆ apply()

template<typename T , typename DESCRIPTOR , int NORMAL_X, int NORMAL_Y>
template<CONCEPT(Cell) CELL>
void olb::FreeEnergyChemPotBoundaryProcessor2DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y >::apply ( CELL & cell)

Definition at line 489 of file boundaryPostProcessors2D.hh.

489 {
490
491 cell.template setField<descriptors::CHEM_POTENTIAL>(
492 cell.neighbor({-NORMAL_X,-NORMAL_Y}).template getField<descriptors::CHEM_POTENTIAL>());
493}

◆ getPriority()

template<typename T , typename DESCRIPTOR , int NORMAL_X, int NORMAL_Y>
int olb::FreeEnergyChemPotBoundaryProcessor2DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y >::getPriority ( ) const
inline

Definition at line 87 of file boundaryPostProcessors2D.h.

87 {
88 return 0;
89 }

Member Data Documentation

◆ scope

template<typename T , typename DESCRIPTOR , int NORMAL_X, int NORMAL_Y>
constexpr OperatorScope olb::FreeEnergyChemPotBoundaryProcessor2DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y >::scope = OperatorScope::PerCell
staticconstexpr

Definition at line 85 of file boundaryPostProcessors2D.h.


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