46 const Eigen::VectorXd &
values()
const;
serialized representation of CouplingData
Eigen::VectorXd _gradients
Buffer for serialized gradients of stamples.
void deserializeInto(const Eigen::VectorXd &timeStamps, const cplscheme::PtrCouplingData data)
Deserialize data from this SerializedStamples into provided CouplingData.
int _timeSteps
number of timesteps stored in SerializedStamples
void deserialize(const Eigen::VectorXd timeStamps, cplscheme::PtrCouplingData data) const
Deserialize _values and (if required by data) _gradients into timeStepsStorage of data....
void serializeValues(const cplscheme::PtrCouplingData data)
Serialize values from timeStepsStorage of data into _values.
const Eigen::VectorXd & gradients() const
const reference to serialized gradients. Used for sending serialized gradients.
SerializedStamples()=default
void allocate(const cplscheme::PtrCouplingData data)
static SerializedStamples empty(Eigen::VectorXd timeStamps, const cplscheme::PtrCouplingData data)
Create SerializedStamples with allocated buffers according to size of CouplingData.
Eigen::VectorXd _values
Buffer for serialized values of stamples.
void serializeGradients(const cplscheme::PtrCouplingData data)
Serialize gradients from timeStepsStorage of data into _gradients.
int nTimeSteps() const
Returns number of timeSteps.
static SerializedStamples serialize(const cplscheme::PtrCouplingData data)
Serializes a given CouplingData into SerializedStamples.
const Eigen::VectorXd & values() const
const reference to serialized values. Used for sending serialized values.
Main namespace of the precice library.