85 : inData{-1, time::Sample(dataDim)}
117 for (
auto &mat :
p) {
constexpr bool equals(const Eigen::MatrixBase< DerivedA > &A, const Eigen::MatrixBase< DerivedB > &B, double tolerance=NUMERICAL_ZERO_DIFFERENCE)
Compares two Eigen::MatrixBase for equality up to tolerance.
Main namespace of the precice library.
static std::unique_ptr< precice::Participant > impl
bool hasDataAtTimeStamp(double time) const
Check, if the current data vector (in inData or the std::vectors) hold data of time time.
std::vector< Eigen::MatrixXd > polynomialContributions
std::vector< Eigen::MatrixXd > p
void setTimeStamp(double time)
Set the timestamp of the MappingDataCache to the specified time.
int getDataDimensions() const
Returns the number of data components.
MappingDataCache(int dataDim)
Constructor.
void resetData()
Reset all data containers to zero.
void resetTimeStamp()
Reset the time stamp associated with the data.
Sample & setZero()
Sets values and gradients to zero.
int dataDims
The dimensionality of the data.
Stample containing timestampled Sample.