Observes and exports coordinates of a point on the geometry.
More...
#include <WatchPoint.hpp>
Observes and exports coordinates of a point on the geometry.
Definition at line 23 of file WatchPoint.hpp.
◆ WatchPoint()
precice::impl::WatchPoint::WatchPoint |
( |
Eigen::VectorXd | pointCoords, |
|
|
mesh::PtrMesh | meshToWatch, |
|
|
const std::string & | exportFilename ) |
Constructor.
- Parameters
-
[in] | meshToWatch | Mesh to be watched, can be empty on construction. |
Definition at line 24 of file WatchPoint.cpp.
◆ exportPointData()
void precice::impl::WatchPoint::exportPointData |
( |
double | time | ) |
|
Writes one line with data of the watchpoint into the output file.
Definition at line 91 of file WatchPoint.cpp.
◆ filename()
const std::string & precice::impl::WatchPoint::filename |
( |
| ) |
const |
◆ getValue() [1/2]
void precice::impl::WatchPoint::getValue |
( |
double & | value, |
|
|
mesh::PtrData & | data ) |
|
private |
◆ getValue() [2/2]
void precice::impl::WatchPoint::getValue |
( |
Eigen::VectorXd & | value, |
|
|
mesh::PtrData & | data ) |
|
private |
◆ initialize()
void precice::impl::WatchPoint::initialize |
( |
| ) |
|
Initializes the watch point for exporting point data.
This can be called repeatedly to reinitialize the WatchPoint.
Definition at line 56 of file WatchPoint.cpp.
◆ isClosest()
bool precice::impl::WatchPoint::isClosest |
( |
| ) |
const |
|
inline |
◆ mesh()
◆ _dataToExport
◆ _interpolation
◆ _isClosest
bool precice::impl::WatchPoint::_isClosest = true |
|
private |
Holds the information if this processor is the closest.
Definition at line 69 of file WatchPoint.hpp.
◆ _log
◆ _mesh
◆ _point
Eigen::VectorXd precice::impl::WatchPoint::_point |
|
private |
◆ _shortestDistance
◆ _txtWriter
The documentation for this class was generated from the following files: