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

#include <vortexMethod.h>

+ Collaboration diagram for olb::VortexMethodPostProcessor:

Public Types

using parameters = meta::list<CONVERSION_FACTOR_VELOCITY>
 

Public Member Functions

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

Static Public Attributes

static constexpr OperatorScope scope = OperatorScope::PerCellWithParameters
 

Detailed Description

Definition at line 379 of file vortexMethod.h.

Member Typedef Documentation

◆ parameters

Definition at line 380 of file vortexMethod.h.

Member Function Documentation

◆ apply()

template<typename CELL , typename PARAMETERS >
void olb::VortexMethodPostProcessor::apply ( CELL & cell,
PARAMETERS & parameters )
inline

Definition at line 389 of file vortexMethod.h.

389 {
390 using V = typename CELL::value_t;
391 using DESCRIPTOR = typename CELL::descriptor_t;
392 Vector<V,DESCRIPTOR::d> u{};
393 cell.computeU(u.data());
394 u *= parameters.template get<CONVERSION_FACTOR_VELOCITY>();
395 cell.template setField<VELOCITY_OLD>(u);
396 }
meta::list< CONVERSION_FACTOR_VELOCITY > parameters

◆ getPriority()

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

Definition at line 384 of file vortexMethod.h.

384 {
385 return std::numeric_limits<int>::max();
386 }

Member Data Documentation

◆ scope

constexpr OperatorScope olb::VortexMethodPostProcessor::scope = OperatorScope::PerCellWithParameters
staticconstexpr

Definition at line 382 of file vortexMethod.h.


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