We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51251d0 commit 0e07a26Copy full SHA for 0e07a26
examples/PhasorDynamics/Example1/example1.cpp
@@ -104,9 +104,10 @@ int main()
104
};
105
106
// The above lambda is equivalent to writing
107
- // struct
+ // struct OutputCallback
108
// {
109
// SystemModel<double, size_t>& sys;
110
+ // std::vector<OutputData>& output;
111
//
112
// void operator()(double t)
113
@@ -117,7 +118,9 @@ int main()
117
118
// .Vi = yval[1],
119
// .dw = yval[3]});
120
// }
- // } output_cb = {output, bus1, gen};
121
+ // };
122
+ //
123
+ // OutputCallback output_cb = {.sys = sys, .output = output};
124
125
/* Set up simulation */
126
Ida<double, size_t> ida(&sys);
0 commit comments