flow 1.4.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

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 398 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 399 of file mg_bottom_direct.hpp.

◆ SMat

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

Definition at line 403 of file mg_bottom_direct.hpp.

Member Function Documentation

◆ scratchBytes()

template<class FacReal, class OpV>
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

Definition at line 438 of file mg_bottom_direct.hpp.

References D.

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

◆ couplings()

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

Definition at line 455 of file mg_bottom_direct.hpp.

References D.

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

◆ 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 475 of file mg_bottom_direct.hpp.

References AFX, AFY, AFZ, aug, comp, D, and kc.

Referenced by assemble().

◆ 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 494 of file mg_bottom_direct.hpp.

References D, entry(), peclet::flow::kBottomTile, and PECLET_BOTTOM_PROBE_MARK.

Referenced by operator()().

◆ 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 517 of file mg_bottom_direct.hpp.

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

Referenced by operator()().

◆ border()

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

Definition at line 659 of file mg_bottom_direct.hpp.

References D, PECLET_BOTTOM_PROBE_MARK, and PECLET_BOTTOM_UNROLL.

Referenced by operator()().

◆ hostAccumulate()

template<class FacReal, class OpV>
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 703 of file mg_bottom_direct.hpp.

References PECLET_BOTTOM_HOST_SIMD.

Referenced by hostInvert().

◆ hostShare()

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

Definition at line 731 of file mg_bottom_direct.hpp.

Referenced by hostAssemble(), and hostInvert().

◆ 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 756 of file mg_bottom_direct.hpp.

References AFX, AFY, AFZ, aug, comp, D, hostShare(), peclet::flow::kBottomMaxPlane, and kc.

Referenced by hostFactor().

◆ 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 910 of file mg_bottom_direct.hpp.

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

Referenced by hostFactor().

◆ hostFactor()

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

◆ operator()()

Member Data Documentation

◆ D

template<class FacReal, class OpV>
BottomDirect<FacReal> peclet::flow::BottomFactorKernel< FacReal, OpV >::D

◆ AFX

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

Definition at line 409 of file mg_bottom_direct.hpp.

Referenced by entry(), and hostAssemble().

◆ AFY

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

Definition at line 409 of file mg_bottom_direct.hpp.

Referenced by entry(), and hostAssemble().

◆ AFZ

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

Definition at line 409 of file mg_bottom_direct.hpp.

Referenced by entry(), and hostAssemble().

◆ comp

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

Definition at line 410 of file mg_bottom_direct.hpp.

Referenced by entry(), and hostAssemble().

◆ kc

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

Definition at line 410 of file mg_bottom_direct.hpp.

Referenced by entry(), and hostAssemble().

◆ aug

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

Definition at line 411 of file mg_bottom_direct.hpp.

Referenced by entry(), and hostAssemble().

◆ tauPiv0

template<class FacReal, class OpV>
double peclet::flow::BottomFactorKernel< FacReal, OpV >::tauPiv0 = kBottomPivotTol

Definition at line 412 of file mg_bottom_direct.hpp.

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

◆ kHostFactor

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

Definition at line 415 of file mg_bottom_direct.hpp.

Referenced by operator()().

◆ teamAlgorithm

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

Definition at line 416 of file mg_bottom_direct.hpp.

Referenced by operator()().


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