SimiLie
Loading...
Searching...
No Matches
sil::tensor::ExternalDomainBoundaryMap< Dimension > Struct Template Reference

Map samples through an aligned interface, in any number of dimensions. More...

#include <external_domain_extrapolation_rule.hpp>

Collaboration diagram for sil::tensor::ExternalDomainBoundaryMap< Dimension >:
Collaboration graph

Public Member Functions

template<class... DDim, class TargetDomain , class Element >
KOKKOS_FUNCTION Element operator() (ddc::DiscreteDomain< DDim... > const &source, TargetDomain const &target, Element sampled) const
 
template<class SourceDomain , class TargetDomain , class Element >
KOKKOS_FUNCTION Element map_boundary (SourceDomain source, TargetDomain const &target, Element sampled) const
 

Public Attributes

BoundarySide source_side
 
BoundarySide target_side
 
bool shared_boundary = true
 

Detailed Description

template<class Dimension>
struct sil::tensor::ExternalDomainBoundaryMap< Dimension >

Map samples through an aligned interface, in any number of dimensions.

Important
This operator and documentation is fully AI-generated.

Dimension is the interface normal. The source and donor use the same grid ordered tags and matching tangential extents, but may have different logical origins and normal extents. Tangential offsets from the source origin are preserved. source_side selects the boundary being left; target_side selects the boundary being entered. Either lower or upper boundary can connect to either side.

With shared_boundary=true, both domains store the interface node: one step outside maps one step inside the donor. With false, adjacent domains have disjoint stored nodes: one step outside maps to the donor boundary node. map_boundary() identifies the coincident trace nodes in the shared case. Spectator tensor indices pass through unchanged. Axis permutations, reversed tangential coordinates, interpolation, and component frame changes are not supported by this aligned map.

Definition at line 38 of file external_domain_extrapolation_rule.hpp.

Member Function Documentation

◆ operator()()

template<class Dimension >
template<class... DDim, class TargetDomain , class Element >
KOKKOS_FUNCTION Element sil::tensor::ExternalDomainBoundaryMap< Dimension >::operator() ( ddc::DiscreteDomain< DDim... > const & source,
TargetDomain const & target,
Element sampled ) const
inline

Definition at line 80 of file external_domain_extrapolation_rule.hpp.

◆ map_boundary()

template<class Dimension >
template<class SourceDomain , class TargetDomain , class Element >
KOKKOS_FUNCTION Element sil::tensor::ExternalDomainBoundaryMap< Dimension >::map_boundary ( SourceDomain source,
TargetDomain const & target,
Element sampled ) const
inline

Definition at line 94 of file external_domain_extrapolation_rule.hpp.

Member Data Documentation

◆ source_side

template<class Dimension >
BoundarySide sil::tensor::ExternalDomainBoundaryMap< Dimension >::source_side

Definition at line 40 of file external_domain_extrapolation_rule.hpp.

◆ target_side

template<class Dimension >
BoundarySide sil::tensor::ExternalDomainBoundaryMap< Dimension >::target_side

Definition at line 41 of file external_domain_extrapolation_rule.hpp.

◆ shared_boundary

template<class Dimension >
bool sil::tensor::ExternalDomainBoundaryMap< Dimension >::shared_boundary = true

Definition at line 42 of file external_domain_extrapolation_rule.hpp.


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