OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::dynamics::CSE< dynamics::Tuple< T, descriptors::D2Q5< FIELDS... >, momenta::Tuple< momenta::FixedDensity, momenta::ZeroMomentum, momenta::ZeroStress, momenta::DefineSeparately >, equilibria::SecondOrder, collision::Revert, dynamics::DefaultCombination > > Struct Template Reference

#include <0d734f6856d1d0c3d10347278f4ed84cbd9e38110769f18203a55619e2cf3241.cse.h>

+ Collaboration diagram for olb::dynamics::CSE< dynamics::Tuple< T, descriptors::D2Q5< FIELDS... >, momenta::Tuple< momenta::FixedDensity, momenta::ZeroMomentum, momenta::ZeroStress, momenta::DefineSeparately >, equilibria::SecondOrder, collision::Revert, dynamics::DefaultCombination > >:

Public Member Functions

template<concepts::Cell CELL, concepts::Parameters PARAMETERS, concepts::BaseType V = typename CELL::value_t>
CellStatistic< V > collide (CELL &cell, PARAMETERS &parameters) any_platform
 

Detailed Description

template<typename T, typename... FIELDS>
struct olb::dynamics::CSE< dynamics::Tuple< T, descriptors::D2Q5< FIELDS... >, momenta::Tuple< momenta::FixedDensity, momenta::ZeroMomentum, momenta::ZeroStress, momenta::DefineSeparately >, equilibria::SecondOrder, collision::Revert, dynamics::DefaultCombination > >

Definition at line 38 of file 0d734f6856d1d0c3d10347278f4ed84cbd9e38110769f18203a55619e2cf3241.cse.h.

Member Function Documentation

◆ collide()

template<typename T , typename... FIELDS>
template<concepts::Cell CELL, concepts::Parameters PARAMETERS, concepts::BaseType V = typename CELL::value_t>
CellStatistic< V > olb::dynamics::CSE< dynamics::Tuple< T, descriptors::D2Q5< FIELDS... >, momenta::Tuple< momenta::FixedDensity, momenta::ZeroMomentum, momenta::ZeroStress, momenta::DefineSeparately >, equilibria::SecondOrder, collision::Revert, dynamics::DefaultCombination > >::collide ( CELL & cell,
PARAMETERS & parameters )
inline

Definition at line 40 of file 0d734f6856d1d0c3d10347278f4ed84cbd9e38110769f18203a55619e2cf3241.cse.h.

40 {
41auto x0 = cell[0];
42auto x1 = cell[3];
43auto x2 = cell[4];
44auto x3 = cell[1];
45auto x4 = cell[2];
46cell[0] = x0;
47cell[1] = x1;
48cell[2] = x2;
49cell[3] = x3;
50cell[4] = x4;
51return { V{-1}, V{-1} };
52}

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