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

#include <689239523cac186c8e66f3c1a7b97db2da72241b073a7cf141749307880b3fc0.cse.h>

+ Collaboration diagram for olb::dynamics::CSE< dynamics::Tuple< T, descriptors::D3Q27< 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::D3Q27< FIELDS... >, momenta::Tuple< momenta::FixedDensity, momenta::ZeroMomentum, momenta::ZeroStress, momenta::DefineSeparately >, equilibria::SecondOrder, collision::Revert, dynamics::DefaultCombination > >

Definition at line 38 of file 689239523cac186c8e66f3c1a7b97db2da72241b073a7cf141749307880b3fc0.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::D3Q27< 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 689239523cac186c8e66f3c1a7b97db2da72241b073a7cf141749307880b3fc0.cse.h.

40 {
41auto x0 = cell[0];
42auto x1 = cell[14];
43auto x2 = cell[15];
44auto x3 = cell[16];
45auto x4 = cell[17];
46auto x5 = cell[18];
47auto x6 = cell[19];
48auto x7 = cell[20];
49auto x8 = cell[21];
50auto x9 = cell[22];
51auto x10 = cell[23];
52auto x11 = cell[24];
53auto x12 = cell[25];
54auto x13 = cell[26];
55auto x14 = cell[1];
56auto x15 = cell[2];
57auto x16 = cell[3];
58auto x17 = cell[4];
59auto x18 = cell[5];
60auto x19 = cell[6];
61auto x20 = cell[7];
62auto x21 = cell[8];
63auto x22 = cell[9];
64auto x23 = cell[10];
65auto x24 = cell[11];
66auto x25 = cell[12];
67auto x26 = cell[13];
68cell[0] = x0;
69cell[1] = x1;
70cell[2] = x2;
71cell[3] = x3;
72cell[4] = x4;
73cell[5] = x5;
74cell[6] = x6;
75cell[7] = x7;
76cell[8] = x8;
77cell[9] = x9;
78cell[10] = x10;
79cell[11] = x11;
80cell[12] = x12;
81cell[13] = x13;
82cell[14] = x14;
83cell[15] = x15;
84cell[16] = x16;
85cell[17] = x17;
86cell[18] = x18;
87cell[19] = x19;
88cell[20] = x20;
89cell[21] = x21;
90cell[22] = x22;
91cell[23] = x23;
92cell[24] = x24;
93cell[25] = x25;
94cell[26] = x26;
95return { V{-1}, V{-1} };
96}

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