|
|
using | MutableData = tmpl::conditional_t< Local, LocalData, RemoteData > |
| |
|
using | Data = tmpl::conditional_t< Mutable, MutableData, const MutableData > |
| |
|
|
size_t | size () const override |
| |
|
const TimeStepId & | operator[] (const size_t n) const override |
| |
|
const TimeStepId & | operator[] (const std::pair< size_t, size_t > &step_and_substep) const override |
| |
|
size_t | integration_order (const size_t n) const override |
| |
|
size_t | integration_order (const TimeStepId &id) const override |
| |
|
size_t | number_of_substeps (const size_t n) const override |
| |
|
size_t | number_of_substeps (const TimeStepId &id) const override |
| |
| template<typename Func > |
| void | for_each (Func &&func) const |
| | Apply func to each entry. More...
|
| |
|
|
Data & | data (const size_t n) const |
| | Access the data stored on the side. When performed through a MutableSideAccess, these allow modification of the data. Performing such modifications likely invalidates the coupling cache for the associated BoundaryHistory object, which should be cleared.
|
| |
|
Data & | data (const TimeStepId &id) const |
| | Access the data stored on the side. When performed through a MutableSideAccess, these allow modification of the data. Performing such modifications likely invalidates the coupling cache for the associated BoundaryHistory object, which should be cleared.
|
| |
|
|
static constexpr size_t | max_size () |
| |
|
|
auto & | parent_data () const |
| |
|
auto & | step_data (const TimeStepId &id) const |
| |
|
auto & | entry (const TimeStepId &id) const |
| |
|
auto & | entry (const std::pair< size_t, size_t > &step_and_substep) const |
| |
|
| SideAccessCommon (const gsl::not_null< StoredHistory * > parent) |
| |
◆ for_each()
template<typename LocalData , typename RemoteData , typename CouplingResult >
template<bool Local, bool Mutable>
template<typename Func >
Apply func to each entry.
The function func must accept two arguments, one of type const TimeStepId& and a second of either type const Data& or gsl::not_null<Data*>, with the not_null version only available if this is a MutableSideAccess. If func takes a not_null, it must return a bool indicating if it modified the entry. If any entries are modified, the coupling cache of parent BoundaryHistory will be cleared.
The documentation for this class was generated from the following file:
- src/Time/BoundaryHistory.hpp