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

#include <boundaryPostProcessors3D.h>

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

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, int NORMAL_Z>
class olb::FreeEnergyChemPotBoundaryProcessor3DB< T, DESCRIPTOR, NORMAL_X, NORMAL_Y, NORMAL_Z >

Definition at line 222 of file boundaryPostProcessors3D.h.

Member Function Documentation

◆ apply()

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

Definition at line 543 of file boundaryPostProcessors3D.hh.

543 {
544
545 cell.template setField<descriptors::CHEM_POTENTIAL>(
546 cell.neighbor({-NORMAL_X,-NORMAL_Y,-NORMAL_Z}).template getField<descriptors::CHEM_POTENTIAL>());
547}

◆ getPriority()

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

Definition at line 226 of file boundaryPostProcessors3D.h.

226 {
227 return 0;
228 }

Member Data Documentation

◆ scope

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

Definition at line 224 of file boundaryPostProcessors3D.h.


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