|
| | Data (std::string name, DataID id, int dimension, int spatialDimensions=-1, int waveformDegree=time::Time::DEFAULT_WAVEFORM_DEGREE) |
| | Constructor.
|
| | Data (std::string name, DataID id, int dimension, int spatialDimensions, int waveformDegree, std::vector< std::optional< double > > lowerBound, std::vector< std::optional< double > > upperBound) |
| | Constructor with data bounds.
|
| Eigen::VectorXd & | values () |
| | Returns a reference to the data values.
|
| const Eigen::VectorXd & | values () const |
| | Returns a const reference to the data values.
|
| const Eigen::MatrixXd & | gradients () const |
| | Returns a const reference to the gradient data values.
|
| const time::Sample & | sample () const |
| | Returns a const reference to the _sample.
|
| time::SampleResult | sampleAtTime (double time) const |
| | Samples _waveform at given time.
|
| int | getWaveformDegree () const |
| | get degree of _waveform.
|
| time::Waveform & | waveform () |
| | Returns a reference to the waveform.
|
| std::vector< std::optional< double > > | getLowerBound () const |
| std::vector< std::optional< double > > | getUpperBound () const |
| void | moveToNextWindow () |
| auto | stamples () const |
| | Returns a the stamples from the waveform.
|
| void | setSampleAtTime (double time, const time::Sample &sample) |
| | Add sample at given time to the waveform.
|
| void | setGlobalSample (const time::Sample &sample) |
| | Set _sample.
|
| void | emplaceSampleAtTime (double time) |
| | Creates an empty sample at given time.
|
| void | emplaceSampleAtTime (double time, std::initializer_list< double > values) |
| | Creates a sample at given time with given values.
|
| void | emplaceSampleAtTime (double time, std::initializer_list< double > values, std::initializer_list< double > gradients) |
| | Creates a sample at given time with given values and gradients.
|
| const std::string & | getName () const |
| | Returns the name of the data set, as set in the config file.
|
| DataID | getID () const |
| | Returns the ID of the data set (supposed to be unique).
|
| bool | hasGradient () const |
| | Returns if the data contains gradient data.
|
| bool | hasSamples () const |
| | Returns if there are sample of this data.
|
| void | requireDataGradient () |
| | Set the additional requirement of gradient data.
|
| int | getSpatialDimensions () const |
| | Returns the mesh dimension (i.e., number of rows) of one gradient data value .
|
| int | getDimensions () const |
| | Returns the dimension (i.e., number of components) of one data value (i.e number of columns of one gradient data value).
|
| void | allocateValues (int expectedCount) |
| | Allocates memory for the data values and corresponding gradient values.
|
|
| logging::Logger | _log {"mesh::Data"} |
| time::Waveform | _waveform |
| | Sample storage of this Data.
|
| std::vector< std::optional< double > > | _lowerBound |
| | Lower bound for data values. This vector with optional elements has size of the data dimension. The elements only have values if the user has configured relevant attributes.
|
| std::vector< std::optional< double > > | _upperBound |
| | Upper bound for data values. This vector with optional elements has size of the data dimension. The elements only have values if the user has configured relevant attributes.
|
| std::string | _name |
| | Name of the data set.
|
| DataID | _id |
| | ID of the data set (supposed to be unique).
|
| int | _dimensions |
| | Dimensionality of one data value.
|
| int | _spatialDimensions |
| | Spatial Dimension of one element -> number of rows (only 2, 3 allowed for 2D, 3D).
|
| bool | _hasGradient = false |
| | Whether gradient data is available or not.
|
| time::Sample | _sample |
Describes a set of data values belonging to the vertices of a mesh.
Definition at line 26 of file Data.hpp.