flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
peclet::flow::BottomKernel< FacReal > Struct Template Reference

#include <mac_cutcell_mg.hpp>

Public Types

using Member = Kokkos::TeamPolicy<CCExec>::member_type

Public Member Functions

double dot (const Member &t, const BottomLevel &l, const CCField &a, const CCField &c) const
void removeMeanBottom (const Member &t, const CCField &f) const
void applyM (const Member &t, const CCField &R, const CCField &Z, const CCField *keep) const
void operator() (const Member &t) const

Static Public Member Functions

static int nInner (const BottomLevel &l)
static int nExt (const BottomLevel &l)
static long cell (const BottomLevel &l, int q, int &lx, int &ly, int &lz)
template<class F>
static double teamSum (const Member &t, int n, const F &f)
template<class F>
static double teamMax (const Member &t, int n, const F &f)

Public Attributes

BottomDirect< FacReal > dir
BottomLevel lv
CCField x
CCField b
CCField r
CCField p
CCField z
CCField zp
CCField ap
int precondOnly = 0
int noMeanForTest = 0
int teamAlgorithm = 0
int nc = 1
Kokkos::View< const int *, CCMem > comp
Kokkos::View< const long *, CCMem > ccnt
Kokkos::View< double *, CCMem > cmean
Kokkos::View< double *, CCMem > ks
int flagSlot = 0
Kokkos::View< int *, CCMem > info

Static Public Attributes

static constexpr bool kHostLane = std::is_same_v<CCMem, Kokkos::HostSpace>

Detailed Description

template<class FacReal = float>
struct peclet::flow::BottomKernel< FacReal >

Definition at line 841 of file mac_cutcell_mg.hpp.

Member Typedef Documentation

◆ Member

template<class FacReal = float>
using peclet::flow::BottomKernel< FacReal >::Member = Kokkos::TeamPolicy<CCExec>::member_type

Definition at line 842 of file mac_cutcell_mg.hpp.

Member Function Documentation

◆ nInner()

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::nInner ( const BottomLevel & l)
inlinestatic

◆ nExt()

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::nExt ( const BottomLevel & l)
inlinestatic

◆ cell()

template<class FacReal = float>
long peclet::flow::BottomKernel< FacReal >::cell ( const BottomLevel & l,
int q,
int & lx,
int & ly,
int & lz )
inlinestatic

◆ teamSum()

template<class FacReal = float>
template<class F>
double peclet::flow::BottomKernel< FacReal >::teamSum ( const Member & t,
int n,
const F & f )
inlinestatic

Definition at line 885 of file mac_cutcell_mg.hpp.

References F, and kHostLane.

Referenced by dot(), operator()(), and removeMeanBottom().

◆ teamMax()

template<class FacReal = float>
template<class F>
double peclet::flow::BottomKernel< FacReal >::teamMax ( const Member & t,
int n,
const F & f )
inlinestatic

Definition at line 904 of file mac_cutcell_mg.hpp.

References F, and kHostLane.

Referenced by operator()().

◆ dot()

template<class FacReal = float>
double peclet::flow::BottomKernel< FacReal >::dot ( const Member & t,
const BottomLevel & l,
const CCField & a,
const CCField & c ) const
inline

Definition at line 921 of file mac_cutcell_mg.hpp.

References peclet::flow::BottomLevel::AC, cell(), nInner(), and teamSum().

Referenced by operator()().

◆ removeMeanBottom()

template<class FacReal = float>
void peclet::flow::BottomKernel< FacReal >::removeMeanBottom ( const Member & t,
const CCField & f ) const
inline

Definition at line 932 of file mac_cutcell_mg.hpp.

References ccnt, cell(), cmean, comp, lv, nc, nInner(), and teamSum().

Referenced by applyM(), and operator()().

◆ applyM()

template<class FacReal = float>
void peclet::flow::BottomKernel< FacReal >::applyM ( const Member & t,
const CCField & R,
const CCField & Z,
const CCField * keep ) const
inline

Definition at line 955 of file mac_cutcell_mg.hpp.

References comp, dir, noMeanForTest, R, removeMeanBottom(), and teamAlgorithm.

Referenced by operator()().

◆ operator()()

Member Data Documentation

◆ dir

template<class FacReal = float>
BottomDirect<FacReal> peclet::flow::BottomKernel< FacReal >::dir

Definition at line 843 of file mac_cutcell_mg.hpp.

Referenced by applyM(), and operator()().

◆ lv

template<class FacReal = float>
BottomLevel peclet::flow::BottomKernel< FacReal >::lv

Definition at line 844 of file mac_cutcell_mg.hpp.

Referenced by operator()(), and removeMeanBottom().

◆ x

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::x

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ b

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::b

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ r

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::r

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by packing2d.System::add(), operator()(), and packing2d.System::solve().

◆ p

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::p

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ z

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::z

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ zp

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::zp

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ ap

template<class FacReal = float>
CCField peclet::flow::BottomKernel< FacReal >::ap

Definition at line 845 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ precondOnly

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::precondOnly = 0

Definition at line 846 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ noMeanForTest

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::noMeanForTest = 0

Definition at line 847 of file mac_cutcell_mg.hpp.

Referenced by applyM().

◆ teamAlgorithm

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::teamAlgorithm = 0

Definition at line 848 of file mac_cutcell_mg.hpp.

Referenced by applyM().

◆ nc

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::nc = 1

Definition at line 851 of file mac_cutcell_mg.hpp.

Referenced by removeMeanBottom().

◆ comp

template<class FacReal = float>
Kokkos::View<const int*, CCMem> peclet::flow::BottomKernel< FacReal >::comp

Definition at line 852 of file mac_cutcell_mg.hpp.

Referenced by applyM(), operator()(), and removeMeanBottom().

◆ ccnt

template<class FacReal = float>
Kokkos::View<const long*, CCMem> peclet::flow::BottomKernel< FacReal >::ccnt

Definition at line 853 of file mac_cutcell_mg.hpp.

Referenced by removeMeanBottom().

◆ cmean

template<class FacReal = float>
Kokkos::View<double*, CCMem> peclet::flow::BottomKernel< FacReal >::cmean

Definition at line 854 of file mac_cutcell_mg.hpp.

Referenced by removeMeanBottom().

◆ ks

template<class FacReal = float>
Kokkos::View<double*, CCMem> peclet::flow::BottomKernel< FacReal >::ks

Definition at line 855 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ flagSlot

template<class FacReal = float>
int peclet::flow::BottomKernel< FacReal >::flagSlot = 0

Definition at line 856 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ info

template<class FacReal = float>
Kokkos::View<int*, CCMem> peclet::flow::BottomKernel< FacReal >::info

Definition at line 857 of file mac_cutcell_mg.hpp.

Referenced by operator()().

◆ kHostLane

template<class FacReal = float>
bool peclet::flow::BottomKernel< FacReal >::kHostLane = std::is_same_v<CCMem, Kokkos::HostSpace>
staticconstexpr

Definition at line 882 of file mac_cutcell_mg.hpp.

Referenced by teamMax(), and teamSum().


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