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

#include <mg_bottom_direct.hpp>

Public Types

using Member = Kokkos::TeamPolicy< CCExec >::member_type
 
using SMat = Kokkos::View< FacReal **, Kokkos::LayoutRight, typename CCExec::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 

Public Member Functions

void scaling (const Member &t) const
 
void couplings (const Member &t) const
 
double entry (int k, int i, int j, double delta) const
 
void assemble (const Member &t, int k, int mode, double delta, const SMat &St) const
 
bool invert (const Member &t, int k, double tauPiv, int flag, const SMat &Ls, const SMat &St) const
 
void border (const Member &t) const
 
void hostAssemble (const Member &t, int k, int mode, double delta) const
 
bool hostInvert (const Member &t, int k, double tauPiv, int flag) const
 
void hostBorder (const Member &t) const
 
void hostFactor (const Member &t) const
 
void operator() (const Member &t) const
 

Static Public Member Functions

static std::size_t scratchBytes (int b)
 
static void hostAccumulate (FacReal *acc, const FacReal *x, const FacReal *y, int b, int m0, int m1, int lo, int hi)
 
template<class Wf >
static void hostShare (const Member &t, int n, const Wf &w, int &lo, int &hi)
 

Public Attributes

BottomDirect< FacReal > D
 
OpV AFX
 
OpV AFY
 
OpV AFZ
 
Kokkos::View< const int *, CCMem > comp
 
Kokkos::View< const int *, CCMem > kc
 
Kokkos::View< const double *, CCMem > aug
 
double tauPiv0 = kBottomPivotTol
 
int teamAlgorithm = 0
 

Static Public Attributes

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

Detailed Description

template<class FacReal, class OpV>
struct peclet::flow::BottomFactorKernel< FacReal, OpV >

Definition at line 289 of file mg_bottom_direct.hpp.

Member Typedef Documentation

◆ Member

template<class FacReal , class OpV >
using peclet::flow::BottomFactorKernel< FacReal, OpV >::Member = Kokkos::TeamPolicy<CCExec>::member_type

Definition at line 290 of file mg_bottom_direct.hpp.

◆ SMat

template<class FacReal , class OpV >
using peclet::flow::BottomFactorKernel< FacReal, OpV >::SMat = Kokkos::View<FacReal**, Kokkos::LayoutRight, typename CCExec::scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> >

Definition at line 294 of file mg_bottom_direct.hpp.

Member Function Documentation

◆ scratchBytes()

template<class FacReal , class OpV >
static std::size_t peclet::flow::BottomFactorKernel< FacReal, OpV >::scratchBytes ( int  b)
inlinestatic

◆ scaling()

template<class FacReal , class OpV >
void peclet::flow::BottomFactorKernel< FacReal, OpV >::scaling ( const Member &  t) const
inline

◆ couplings()

template<class FacReal , class OpV >
void peclet::flow::BottomFactorKernel< FacReal, OpV >::couplings ( const Member &  t) const
inline

◆ entry()

template<class FacReal , class OpV >
double peclet::flow::BottomFactorKernel< FacReal, OpV >::entry ( int  k,
int  i,
int  j,
double  delta 
) const
inline

Definition at line 347 of file mg_bottom_direct.hpp.

◆ assemble()

template<class FacReal , class OpV >
void peclet::flow::BottomFactorKernel< FacReal, OpV >::assemble ( const Member &  t,
int  k,
int  mode,
double  delta,
const SMat &  St 
) const
inline

Definition at line 366 of file mg_bottom_direct.hpp.

References peclet::flow::kBottomTile.

◆ invert()

template<class FacReal , class OpV >
bool peclet::flow::BottomFactorKernel< FacReal, OpV >::invert ( const Member &  t,
int  k,
double  tauPiv,
int  flag,
const SMat &  Ls,
const SMat &  St 
) const
inline

Definition at line 388 of file mg_bottom_direct.hpp.

References peclet::flow::kBottomTile, and PECLET_BOTTOM_UNROLL.

◆ border()

template<class FacReal , class OpV >
void peclet::flow::BottomFactorKernel< FacReal, OpV >::border ( const Member &  t) const
inline

Definition at line 525 of file mg_bottom_direct.hpp.

References PECLET_BOTTOM_UNROLL.

◆ hostAccumulate()

template<class FacReal , class OpV >
static void peclet::flow::BottomFactorKernel< FacReal, OpV >::hostAccumulate ( FacReal *  acc,
const FacReal *  x,
const FacReal *  y,
int  b,
int  m0,
int  m1,
int  lo,
int  hi 
)
inlinestatic

Definition at line 568 of file mg_bottom_direct.hpp.

References PECLET_BOTTOM_HOST_SIMD.

◆ hostShare()

template<class FacReal , class OpV >
template<class Wf >
static void peclet::flow::BottomFactorKernel< FacReal, OpV >::hostShare ( const Member &  t,
int  n,
const Wf &  w,
int &  lo,
int &  hi 
)
inlinestatic

Definition at line 596 of file mg_bottom_direct.hpp.

◆ hostAssemble()

template<class FacReal , class OpV >
void peclet::flow::BottomFactorKernel< FacReal, OpV >::hostAssemble ( const Member &  t,
int  k,
int  mode,
double  delta 
) const
inline

Definition at line 621 of file mg_bottom_direct.hpp.

References peclet::flow::kBottomMaxPlane.

◆ hostInvert()

template<class FacReal , class OpV >
bool peclet::flow::BottomFactorKernel< FacReal, OpV >::hostInvert ( const Member &  t,
int  k,
double  tauPiv,
int  flag 
) const
inline

◆ hostBorder()

template<class FacReal , class OpV >
void peclet::flow::BottomFactorKernel< FacReal, OpV >::hostBorder ( const Member &  t) const
inline

Definition at line 775 of file mg_bottom_direct.hpp.

References peclet::flow::kBottomMaxPlane, and PECLET_BOTTOM_HOST_SIMD.

◆ hostFactor()

◆ operator()()

Member Data Documentation

◆ D

◆ AFX

Definition at line 300 of file mg_bottom_direct.hpp.

◆ AFY

Definition at line 300 of file mg_bottom_direct.hpp.

◆ AFZ

Definition at line 300 of file mg_bottom_direct.hpp.

◆ comp

template<class FacReal , class OpV >
Kokkos::View<const int*, CCMem> peclet::flow::BottomFactorKernel< FacReal, OpV >::comp

Definition at line 301 of file mg_bottom_direct.hpp.

◆ kc

template<class FacReal , class OpV >
Kokkos::View<const int*, CCMem> peclet::flow::BottomFactorKernel< FacReal, OpV >::kc

Definition at line 301 of file mg_bottom_direct.hpp.

◆ aug

Definition at line 302 of file mg_bottom_direct.hpp.

◆ tauPiv0

◆ kHostFactor

template<class FacReal , class OpV >
constexpr bool peclet::flow::BottomFactorKernel< FacReal, OpV >::kHostFactor = std::is_same_v<CCMem, Kokkos::HostSpace>
staticconstexpr

Definition at line 306 of file mg_bottom_direct.hpp.

◆ teamAlgorithm

template<class FacReal , class OpV >
int peclet::flow::BottomFactorKernel< FacReal, OpV >::teamAlgorithm = 0

Definition at line 307 of file mg_bottom_direct.hpp.


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