TimeTable Class Reference
|
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
kynema_sgf::actuator::motion::TimeTable Class Reference
#include <TimeTable.H>
Collaboration diagram for kynema_sgf::actuator::motion::TimeTable:
Public Member Functions | |
| void | read (const std::string &filename, int num_values, const std::string &extrapolation="hold") |
| bool | empty () const |
| int | num_values () const |
| const RealList & | times () const |
| RealList | row (int index) const |
| RealList | value (amrex::Real time) const |
| RealList | derivative (amrex::Real time) const |
| RealList | integral (amrex::Real time) const |
Private Member Functions | |
| int | interval (amrex::Real time) const |
| void | warn_hold (amrex::Real time) const |
Private Attributes | |
| std::string | m_filename |
| int | m_num_values {0} |
| RealList | m_time |
| RealList | m_values |
| Row-major values used directly by interp::linear's ncomp interface. | |
| amrex::Vector< RealList > | m_prefix_integral |
| Exact trapezoidal integral of each completed interpolation interval. | |
| bool | m_warned_below {false} |
| bool | m_warned_above {false} |
| bool | m_error_on_extrapolation {false} |
Detailed Description
Piecewise-linear, multi-component time history.
Values, derivatives, and integrals use the same interpolation intervals so that motion reconstructed from a velocity history remains consistent.
Member Function Documentation
◆ derivative()
|
nodiscard |
◆ empty()
|
inlinenodiscard |
◆ integral()
|
nodiscard |
◆ interval()
|
nodiscardprivate |
◆ num_values()
|
inlinenodiscard |
◆ read()
| void kynema_sgf::actuator::motion::TimeTable::read | ( | const std::string & | filename, |
| int | num_values, | ||
| const std::string & | extrapolation = "hold" ) |
◆ row()
|
nodiscard |
◆ times()
|
inlinenodiscard |
◆ value()
|
nodiscard |
◆ warn_hold()
|
private |
Member Data Documentation
◆ m_error_on_extrapolation
|
private |
◆ m_filename
|
private |
◆ m_num_values
|
private |
◆ m_prefix_integral
|
private |
Exact trapezoidal integral of each completed interpolation interval.
◆ m_time
|
private |
◆ m_values
|
private |
Row-major values used directly by interp::linear's ncomp interface.
◆ m_warned_above
|
mutableprivate |
◆ m_warned_below
|
mutableprivate |
The documentation for this class was generated from the following files:
- /home/runner/work/kynema-sgf/kynema-sgf/src/wind_energy/actuator/motion/TimeTable.H
- /home/runner/work/kynema-sgf/kynema-sgf/src/wind_energy/actuator/motion/TimeTable.cpp
Generated by