Struct FOExtrapLoader¶
Defined in File fo_extrap_loader.hpp
Inheritance Relationships¶
Base Type¶
public ripple::PaddingLoader< FOExtrapLoader >(Template Class PaddingLoader)
Struct Documentation¶
-
struct
ripple::FOExtrapLoader: public ripple::PaddingLoader<FOExtrapLoader>¶ The FOExtrapLoader is an implementation of an BoundaryLoader which copies the data from the closest valid cell inside the domain to all padding cells.
It performs a first order extrapolation of the data in an iterator into the padding data for the iterator.
Public Functions
-
template<typename
Iterator, typenameDim>
constexpr autoload_front(Iterator &&it, int index, Dim &&dim) const noexcept -> void¶ Loads the front padding in the dim dimension, using the value of the index in the dimension to find the appropriate cell.
- Parameters
it: An iterator to the padding cell to load.index: The index of the padding cell in the dimension.dim: The dimension to load the padding in.
- Template Parameters
Iterator: The type of the iterator.Dim: The type of the dimension specifier.
-
template<typename
Iterator, typenameDim>
constexpr autoload_back(Iterator &&it, int index, Dim &&dim) const noexcept -> void¶ Loads the back padding in the dim dimension, using the value of the index in the dimension to find the appropriate cell.
- Parameters
it: An iterator to the padding cell to load.index: The index of the padding cell in the dimension.dim: The dimension to load the padding in.
- Template Parameters
Iterator: The type of the iterator.Dim: The type of the dimension specifier.
-
template<typename