preCICE v3.2.0
|
#include <SampleResult.hpp>
Public Member Functions | |
SampleResult (const Eigen::VectorXd &ref) noexcept | |
Creates a non-owning SampleResult. | |
SampleResult (Eigen::VectorXd &&vec) | |
Creates an owning SampleResult. | |
SampleResult (const SampleResult &other)=delete | |
SampleResult & | operator= (const SampleResult &other)=delete |
SampleResult (SampleResult &&other)=default | |
SampleResult & | operator= (SampleResult &&other)=default |
Eigen::Map< const Eigen::VectorXd > | values () const noexcept |
Access the values as a vector. | |
auto | operator() (Eigen::Index index) const |
Direct read-access to a value in the underlying view. | |
Private Attributes | |
Eigen::VectorXd | _owned |
Eigen::Map< const Eigen::VectorXd > | _view |
Result of a sampling operation which is optionally owning.
This covers two cases:
Definition at line 14 of file SampleResult.hpp.
|
inlinenoexcept |
Creates a non-owning SampleResult.
Definition at line 17 of file SampleResult.hpp.
|
inline |
Creates an owning SampleResult.
Definition at line 21 of file SampleResult.hpp.
|
delete |
|
default |
|
inline |
Direct read-access to a value in the underlying view.
Definition at line 39 of file SampleResult.hpp.
|
delete |
|
default |
|
inlinenoexcept |
Access the values as a vector.
Definition at line 33 of file SampleResult.hpp.
|
private |
Definition at line 45 of file SampleResult.hpp.
|
private |
Definition at line 46 of file SampleResult.hpp.