|
|
| CDerivative (std::string sSimObjectName, ISimObjectCreator *pCreator) |
| | Constructor.
|
| |
|
void | OdeFcn (const double dT, const double *const adX, double *const adXDot) const |
| |
|
const double * | Output (const double T, const double *const X) |
| |
|
void | AcceptedStep (const double T, const double *const X) override |
| |
| | SignalBlock (const std::string &name, ISimObjectCreator *creator, PortWidthRule rule=PortWidthRule::DefaultOne) |
| |
|
|
void | StartHistory (const double T, const double *const In) |
| | Sets the memory to the input In at time T, with derivative 0.
|
| |
|
int | PortWidth () const |
| | The number of elements in the signals of the block (the parameter PortWidth).
|
| |
| std::vector< double > | ReadScalarOrVector (ISimObjectCreator *creator, const std::string &name, double defaultValue) const |
| |
| std::vector< double > | ReadScalarOrVector (ISimObjectCreator *creator, const std::string &name) const |
| |
|
|
ISignalPort * | m_Input |
| |
|
std::vector< double > | m_LastStepInput |
| | The input at the last accepted step.
|
| |
|
std::vector< double > | m_LastDerivative |
| | The difference over the last accepted step.
|
| |
|
double | m_LastStepTime |
| | The time of the last accepted step (the start time before the first step).
|
| |
|
bool | m_HasHistory |
| | False until the first evaluation, which is at the start time.
|
| |
|
std::vector< double > | m_out |
| | The output buffer, PortWidth() elements. A block may resize it, for example to the width of an output port that differs from PortWidth.
|
| |
|
| enum class | PortWidthRule { DefaultOne
, Required
} |
| | Whether the parameter PortWidth must be in the input file. More...
|
| |
| static int | ReadCount (ISimObjectCreator *creator, const std::string &name, int defaultValue) |
| |
|
static int | ReadCount (ISimObjectCreator *creator, const std::string &name) |
| | As above for a count that must be in the file.
|
| |
The documentation for this class was generated from the following file: