Template Class StateAccessor¶
Defined in File state.h
Inheritance Relationships¶
Derived Types¶
public ImmersX::StateView< FieldVectorType >(Template Class StateView)public ImmersX::StateView< VectorType >(Template Class StateView)
Class Documentation¶
-
template<typename VectorType>
class StateAccessor¶ Read-only state access supplied by the caller of a residual evaluation.
The requested time is part of the interface so a history- or interpolation-backed implementation can provide a field at a time other than the most recently stored state. Implementations and returned field references are owned by the caller and must remain alive for the duration of the evaluation that uses them.
Subclassed by ImmersX::StateView< FieldVectorType >, ImmersX::StateView< VectorType >
Public Functions
-
virtual ~StateAccessor() = default¶
-
virtual const VectorType &field(FieldId field_id, double time) const = 0¶
-
virtual ~StateAccessor() = default¶