|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHfunction.h>


Public Member Functions | |
| void | Copy (ChFunction_Integrate *source) |
| ChFunction * | new_Duplicate () |
| void | ComputeIntegral () |
| void | Set_order (int m_order) |
| int | Get_order () |
| void | Set_num_samples (int m_samples) |
| int | Get_num_samples () |
| void | Set_C_start (double m_val) |
| double | Get_C_start () |
| void | Set_x_start (double m_val) |
| double | Get_x_start () |
| void | Set_x_end (double m_val) |
| double | Get_x_end () |
| void | Set_fa (ChFunction *m_fa) |
| ChFunction * | Get_fa () |
| double | Get_y (double x) |
| void | Extimate_x_range (double &xmin, double &xmax) |
| int | Get_Type () |
| int | MakeOptVariableTree (ChList< chjs_propdata > *mtree) |
| OPT_VARIABLES_START OPT_VARIABLES_END void | StreamOUT (ChStreamOutAscii &mstream) |
| void | StreamIN (ChStreamInBinary &mstream) |
| void | StreamOUT (ChStreamOutBinary &mstream) |
Public Attributes | |
| OPT_VARIABLES_START | C_start |
Uses a numerical quadrature method to compute the definite integral.
| double chrono::ChFunction_Integrate::Get_y | ( | double | x | ) | [virtual] |
Returns the y value of the function, at position x. (For this base class, it will be a constant value y=C).
Reimplemented from chrono::ChFunction.
| void chrono::ChFunction_Integrate::Extimate_x_range | ( | double & | xmin, | |
| double & | xmax | |||
| ) | [virtual] |
These functions can be used to implement automatic zooming on the most representative range of function (if GUI is implemented)
Reimplemented from chrono::ChFunction.
| int chrono::ChFunction_Integrate::Get_Type | ( | ) | [virtual] |
Each class inherited from the ChFunction class must return an unique integer identifier with the virtual function Get_type(). This is useful for run-time downcasting etc.
Reimplemented from chrono::ChFunction.
| void chrono::ChFunction_Integrate::StreamOUT | ( | ChStreamOutAscii & | mstream | ) | [virtual] |
Method to allow serialization of transient data in ascii, as a readable item, for example "chrono::GetLog() << myobject;"
Reimplemented from chrono::ChFunction.
| void chrono::ChFunction_Integrate::StreamIN | ( | ChStreamInBinary & | mstream | ) | [virtual] |
Method to allow deserializing a persistent binary archive (ex: a file) into transient data.
Reimplemented from chrono::ChFunction.
| void chrono::ChFunction_Integrate::StreamOUT | ( | ChStreamOutBinary & | mstream | ) | [virtual] |
Method to allow serializing transient data into a persistent binary archive (ex: a file).
Reimplemented from chrono::ChFunction.
CHRONO::ENGINE