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

#include <cfdeeca50c7baa3d1aea6d4c457fde7082fbcc3451a57ec9666990a9cb803505.cse.h>

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

Definition at line 38 of file cfdeeca50c7baa3d1aea6d4c457fde7082fbcc3451a57ec9666990a9cb803505.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::OneDensity, momenta::ZeroMomentum, momenta::ZeroStress, momenta::DefineSeparately >, equilibria::None, collision::None, dynamics::DefaultCombination > >::collide ( CELL & cell,
PARAMETERS & parameters )
inline

Definition at line 40 of file cfdeeca50c7baa3d1aea6d4c457fde7082fbcc3451a57ec9666990a9cb803505.cse.h.

40 {
41auto x0 = cell[0];
42auto x1 = cell[1];
43auto x2 = cell[2];
44auto x3 = cell[3];
45auto x4 = cell[4];
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: