Continue tensor values into a specified boundary of another tensor domain. More...
#include <external_domain_extrapolation_rule.hpp>

Public Member Functions | |
| template<class Domain , class Element > | |
| KOKKOS_FUNCTION auto | value (Domain const &domain, Element element) const |
| template<class Field , class Element > | |
| KOKKOS_FUNCTION auto | operator() (Field const &field, Element element) const |
Public Attributes | |
| NeighborTensor | neighbor |
| ExternalDomainBoundaryMap< Dimension > | boundary_map |
| double | jump = 0.0 |
| double | orientation = 1.0 |
| TargetRule | target_rule = {} |
Static Public Attributes | |
| static constexpr bool | IS_INTERFACE = true |
Continue tensor values into a specified boundary of another tensor domain.
Install this rule on the corresponding side of ExtrapolationRules. Stored samples retain their values. Exterior samples are mapped with boundary_map and evaluated by target_rule in the donor. The default clamps samples that also cross a tangential donor boundary; another rule can supply that closure. ExtrapolationRules handles corners using its normalized-distance blend.
orientation * donor_value + jump applies an affine transformation to sampled values. The reverse connection must use reciprocal orientation and jump -jump/orientation. The tensor view and target rule must be accessible in the execution space; the caller owns the donor allocation and synchronizes donor updates before sampling. Sampling does not merge the tensor allocations.
Definition at line 121 of file external_domain_extrapolation_rule.hpp.
|
inline |
Definition at line 131 of file external_domain_extrapolation_rule.hpp.
|
inline |
Definition at line 143 of file external_domain_extrapolation_rule.hpp.
|
staticconstexpr |
Definition at line 123 of file external_domain_extrapolation_rule.hpp.
| NeighborTensor sil::tensor::ExternalDomainExtrapolationRule< Dimension, NeighborTensor, TargetRule >::neighbor |
Definition at line 124 of file external_domain_extrapolation_rule.hpp.
| ExternalDomainBoundaryMap<Dimension> sil::tensor::ExternalDomainExtrapolationRule< Dimension, NeighborTensor, TargetRule >::boundary_map |
Definition at line 125 of file external_domain_extrapolation_rule.hpp.
| double sil::tensor::ExternalDomainExtrapolationRule< Dimension, NeighborTensor, TargetRule >::jump = 0.0 |
Definition at line 126 of file external_domain_extrapolation_rule.hpp.
| double sil::tensor::ExternalDomainExtrapolationRule< Dimension, NeighborTensor, TargetRule >::orientation = 1.0 |
Definition at line 127 of file external_domain_extrapolation_rule.hpp.
| TargetRule sil::tensor::ExternalDomainExtrapolationRule< Dimension, NeighborTensor, TargetRule >::target_rule = {} |
Definition at line 128 of file external_domain_extrapolation_rule.hpp.