Stores one Data object with related mesh.
Stores one Data object with related mesh. Context stores data to be read from and potentially provide...
void trimToDataAfterFor(const cplscheme::ImplicitData &from, double t)
Trims all toData of associated mappings after the given t.
ReadDataContext(const ReadDataContext ©)=delete
Disable copy construction.
ReadDataContext & operator=(ReadDataContext &&)=default
int getWaveformDegree() const
Gets degree of waveform.
ReadDataContext(mesh::PtrData data, mesh::PtrMesh mesh)
Construct a new ReadDataContext object without a mapping.
void readValues(::precice::span< const VertexID > vertices, double time, ::precice::span< double > values) const
Samples data at a given point in time within the current time window for given indices.
void clearToDataFor(const cplscheme::ImplicitData &from)
Removes all toData samples from mappings.
ReadDataContext(ReadDataContext &&)=default
Move constructor, use the implicitly declared.
void appendMappingConfiguration(MappingContext &mappingContext, const MeshContext &meshContext) override
Adds a MappingContext and the MeshContext required by the read mapping to the corresponding ReadDataC...
static logging::Logger _log
ReadDataContext & operator=(const ReadDataContext &assign)=delete
Disable assignment construction.
Holds a data mapping and related information.
Stores a mesh and related objects and data.