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

#include <04cfafdf9624d7606f328f72496944aef5c90cbebb4ed04479b86c86e323a06a.cse.h>

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

Definition at line 38 of file 04cfafdf9624d7606f328f72496944aef5c90cbebb4ed04479b86c86e323a06a.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::D3Q7< 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 04cfafdf9624d7606f328f72496944aef5c90cbebb4ed04479b86c86e323a06a.cse.h.

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

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