Map samples through an aligned interface, in any number of dimensions. More...
#include <external_domain_extrapolation_rule.hpp>

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 |
Map samples through an aligned interface, in any number of dimensions.
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.
|
inline |
Definition at line 80 of file external_domain_extrapolation_rule.hpp.
|
inline |
Definition at line 94 of file external_domain_extrapolation_rule.hpp.
| BoundarySide sil::tensor::ExternalDomainBoundaryMap< Dimension >::source_side |
Definition at line 40 of file external_domain_extrapolation_rule.hpp.
| BoundarySide sil::tensor::ExternalDomainBoundaryMap< Dimension >::target_side |
Definition at line 41 of file external_domain_extrapolation_rule.hpp.
| bool sil::tensor::ExternalDomainBoundaryMap< Dimension >::shared_boundary = true |
Definition at line 42 of file external_domain_extrapolation_rule.hpp.