Skip to content

Commit

Permalink
Propagate useSolver to these variants as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jan 13, 2023
1 parent 89d5175 commit b31d8cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -18,7 +18,7 @@ partial block PartialLogicalClock
infinite many ticks for an infinitesimal short time period."
annotation (Placement(transformation(extent = {{20,-10},{40,10}})));

EventClock clock
EventClock clock(useSolver=useSolver, solverMethod=solverMethod)
annotation (Placement(transformation(extent = {{60,-10},{80,10}})));

// Array of input trackers:
Expand Down
Expand Up @@ -6,7 +6,7 @@ model FixedRotationalClock
parameter SI.Angle trigger_interval = 2*Modelica.Constants.pi
"Rotational-interval the input angle must be changed to trigger the next clock tick";

RotationalClock rotationalClock
RotationalClock rotationalClock(useSolver=useSolver, solverMethod=solverMethod)
annotation (Placement(transformation(extent = {{-10,-10},{10,10}})));
Modelica.Blocks.Sources.Constant threshold(k = trigger_interval)
annotation (Placement(transformation(extent = {{-80,20},{-60,40}})));
Expand Down

0 comments on commit b31d8cf

Please sign in to comment.