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

#include <gradient.hpp>

Public Types

using SrcVectorType = linalg::VectorQ1Scalar< ScalarT >
 
using DstVectorType = linalg::VectorQ1Vec< ScalarT, 3 >
 
using ScalarType = ScalarT
 

Public Member Functions

 Gradient (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)
 
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)
 
void operator() (const int local_subdomain_id, const int x_cell, const int y_cell, const int r_cell) const
 

Member Typedef Documentation

◆ DstVectorType

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

◆ ScalarType

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

◆ SrcVectorType

template<typename ScalarT >
using terra::fe::wedge::operators::shell::Gradient< ScalarT >::SrcVectorType = linalg::VectorQ1Scalar< ScalarT >

Constructor & Destructor Documentation

◆ Gradient()

template<typename ScalarT >
terra::fe::wedge::operators::shell::Gradient< ScalarT >::Gradient ( 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::Gradient< ScalarT >::apply_impl ( const SrcVectorType src,
DstVectorType dst 
)
inline

◆ operator()()

template<typename ScalarT >
void terra::fe::wedge::operators::shell::Gradient< ScalarT >::operator() ( const int  local_subdomain_id,
const int  x_cell,
const int  y_cell,
const int  r_cell 
) const
inline

◆ set_operator_apply_and_communication_modes()

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

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