Holds expressions and meta-data corresponding to a physical quantity evolving in time. More...
#include <dae_builder_internal.hpp>
Extra doc: https://github.com/casadi/casadi/wiki/L_t
Definition at line 68 of file dae_builder_internal.hpp.
Public Member Functions | |
double | attribute (Attribute a) const |
Get by attribute name. More... | |
void | set_attribute (Attribute a, double val) |
Set by attribute name. More... | |
std::string | string_attribute (Attribute a) const |
Get by attribute name (string-valued) More... | |
void | set_string_attribute (Attribute a, const std::string &val) |
Set by attribute name (string-valued) More... | |
XmlNode | export_xml (const DaeBuilderInternal &self) const |
bool | is_real () const |
bool | has_start () const |
Static Public Member Functions | |
static Initial | default_initial (Causality causality, Variability variability) |
Public Attributes | |
casadi_int | index |
Location in variable vector. More... | |
casadi_int | numel |
Number of elements - product of all dimensions. More... | |
std::vector< casadi_int > | dimension |
Dimensions. More... | |
casadi_int | alg |
casadi_int | der |
std::vector< double > | value |
Numerical value (also for booleans, integers, enums) More... | |
std::string | stringvalue |
String value (if string-valued) More... | |
bool | dependency |
Do other expressions depend on this variable. More... | |
std::vector< casadi_int > | dependencies |
Dependencies. More... | |
std::vector< DependenciesKind > | dependenciesKind |
Dependencies. More... | |
MX | v |
Variable expression. More... | |
MX | beq |
Binding equation. More... | |
std::string | name |
unsigned int | value_reference |
std::string | description |
Type | type |
Causality | causality |
Variability | variability |
std::string | unit |
std::string | display_unit |
Initial | initial |
double | min |
double | max |
double | nominal |
std::vector< double > | start |
casadi_int | der_of |
Friends | |
class | DaeBuilderInternal |
double casadi::Variable::attribute | ( | Attribute | a | ) | const |
|
static |
XmlNode casadi::Variable::export_xml | ( | const DaeBuilderInternal & | self | ) | const |
bool casadi::Variable::has_start | ( | ) | const |
|
inline |
Definition at line 158 of file dae_builder_internal.hpp.
void casadi::Variable::set_attribute | ( | Attribute | a, |
double | val | ||
) |
void casadi::Variable::set_string_attribute | ( | Attribute | a, |
const std::string & | val | ||
) |
std::string casadi::Variable::string_attribute | ( | Attribute | a | ) | const |
|
friend |
Definition at line 69 of file dae_builder_internal.hpp.
casadi_int casadi::Variable::alg |
Definition at line 113 of file dae_builder_internal.hpp.
MX casadi::Variable::beq |
Definition at line 137 of file dae_builder_internal.hpp.
Causality casadi::Variable::causality |
Attributes common to all types of variables, cf. Table 17 in FMI specification
Definition at line 91 of file dae_builder_internal.hpp.
|
mutable |
Definition at line 128 of file dae_builder_internal.hpp.
|
mutable |
Definition at line 131 of file dae_builder_internal.hpp.
bool casadi::Variable::dependency |
Definition at line 125 of file dae_builder_internal.hpp.
casadi_int casadi::Variable::der |
Definition at line 116 of file dae_builder_internal.hpp.
casadi_int casadi::Variable::der_of |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 108 of file dae_builder_internal.hpp.
std::string casadi::Variable::description |
Attributes common to all types of variables, cf. Table 17 in FMI specification
Definition at line 89 of file dae_builder_internal.hpp.
std::vector<casadi_int> casadi::Variable::dimension |
Definition at line 83 of file dae_builder_internal.hpp.
std::string casadi::Variable::display_unit |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 99 of file dae_builder_internal.hpp.
casadi_int casadi::Variable::index |
Definition at line 77 of file dae_builder_internal.hpp.
Initial casadi::Variable::initial |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 100 of file dae_builder_internal.hpp.
double casadi::Variable::max |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 105 of file dae_builder_internal.hpp.
double casadi::Variable::min |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 104 of file dae_builder_internal.hpp.
std::string casadi::Variable::name |
Attributes common to all types of variables, cf. Table 17 in FMI specification
Definition at line 87 of file dae_builder_internal.hpp.
double casadi::Variable::nominal |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 106 of file dae_builder_internal.hpp.
casadi_int casadi::Variable::numel |
Definition at line 80 of file dae_builder_internal.hpp.
std::vector<double> casadi::Variable::start |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 107 of file dae_builder_internal.hpp.
std::string casadi::Variable::stringvalue |
Definition at line 122 of file dae_builder_internal.hpp.
Type casadi::Variable::type |
Attributes common to all types of variables, cf. Table 17 in FMI specification
Definition at line 90 of file dae_builder_internal.hpp.
std::string casadi::Variable::unit |
Type specific attributes common to all types, cf. Table FMI 3.0 specification
Definition at line 98 of file dae_builder_internal.hpp.
MX casadi::Variable::v |
Definition at line 134 of file dae_builder_internal.hpp.
std::vector<double> casadi::Variable::value |
Definition at line 119 of file dae_builder_internal.hpp.
unsigned int casadi::Variable::value_reference |
Attributes common to all types of variables, cf. Table 17 in FMI specification
Definition at line 88 of file dae_builder_internal.hpp.
Variability casadi::Variable::variability |
Attributes common to all types of variables, cf. Table 17 in FMI specification
Definition at line 92 of file dae_builder_internal.hpp.