Loading...
Searching...
No Matches
terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT > Class Template Reference

#include <divergence_kerngen.hpp>

Public Types

enum class  KernelPath { Slow , FastDirichletNeumann , FastFreeslip }
 
using SrcVectorType = linalg::VectorQ1Vec< ScalarT, 3 >
 
using DstVectorType = linalg::VectorQ1Scalar< ScalarT >
 
using ScalarType = ScalarT
 
using Team = Kokkos::TeamPolicy<>::member_type
 

Public Member Functions

 DivergenceKerngen (const grid::shell::DistributedDomain &domain_fine, const grid::shell::DistributedDomain &domain_coarse, const grid::Grid3DDataVec< ScalarT, 3 > &grid_fine, const grid::Grid2DDataScalar< ScalarT > &radii_fine, const grid::Grid4DDataScalar< grid::shell::ShellBoundaryFlag > &boundary_mask_fine, BoundaryConditions bcs, linalg::OperatorApplyMode operator_apply_mode=linalg::OperatorApplyMode::Replace, linalg::OperatorCommunicationMode operator_communication_mode=linalg::OperatorCommunicationMode::CommunicateAdditively)
 
const char * path_name () const
 
KernelPath kernel_path () const
 
void force_slow_path ()
 Force the slow path. Useful for validation/testing the fast paths against a reference.
 
void set_operator_apply_and_communication_modes (const linalg::OperatorApplyMode operator_apply_mode, const linalg::OperatorCommunicationMode operator_communication_mode)
 
void apply_impl (const SrcVectorType &src, DstVectorType &dst)
 
size_t team_shmem_size (const int) const
 

Member Typedef Documentation

◆ DstVectorType

template<typename ScalarT >
using terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::DstVectorType = linalg::VectorQ1Scalar< ScalarT >

◆ ScalarType

template<typename ScalarT >
using terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::ScalarType = ScalarT

◆ SrcVectorType

template<typename ScalarT >
using terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::SrcVectorType = linalg::VectorQ1Vec< ScalarT, 3 >

◆ Team

template<typename ScalarT >
using terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::Team = Kokkos::TeamPolicy<>::member_type

Member Enumeration Documentation

◆ KernelPath

template<typename ScalarT >
enum class terra::fe::wedge::operators::shell::DivergenceKerngen::KernelPath
strong
Enumerator
Slow 
FastDirichletNeumann 
FastFreeslip 

Constructor & Destructor Documentation

◆ DivergenceKerngen()

template<typename ScalarT >
terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::DivergenceKerngen ( const grid::shell::DistributedDomain domain_fine,
const grid::shell::DistributedDomain domain_coarse,
const grid::Grid3DDataVec< ScalarT, 3 > &  grid_fine,
const grid::Grid2DDataScalar< ScalarT > &  radii_fine,
const grid::Grid4DDataScalar< grid::shell::ShellBoundaryFlag > &  boundary_mask_fine,
BoundaryConditions  bcs,
linalg::OperatorApplyMode  operator_apply_mode = linalg::OperatorApplyMode::Replace,
linalg::OperatorCommunicationMode  operator_communication_mode = linalg::OperatorCommunicationMode::CommunicateAdditively 
)
inline

Member Function Documentation

◆ apply_impl()

template<typename ScalarT >
void terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::apply_impl ( const SrcVectorType src,
DstVectorType dst 
)
inline

◆ force_slow_path()

template<typename ScalarT >
void terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::force_slow_path ( )
inline

Force the slow path. Useful for validation/testing the fast paths against a reference.

◆ kernel_path()

template<typename ScalarT >
KernelPath terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::kernel_path ( ) const
inline

◆ path_name()

template<typename ScalarT >
const char * terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::path_name ( ) const
inline

◆ set_operator_apply_and_communication_modes()

template<typename ScalarT >
void terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::set_operator_apply_and_communication_modes ( const linalg::OperatorApplyMode  operator_apply_mode,
const linalg::OperatorCommunicationMode  operator_communication_mode 
)
inline

◆ team_shmem_size()

template<typename ScalarT >
size_t terra::fe::wedge::operators::shell::DivergenceKerngen< ScalarT >::team_shmem_size ( const int  ) const
inline

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