Differences From Artifact [57afb07876]:
- Executable file mttroot/mtt/lib/cr/hh/squarelaw.hh — part of check-in [b22e319862] at 2004-08-09 17:45:56 on branch origin/master — cmath is preferred to math.h (user: geraint@users.sourceforge.net, size: 500) [annotate] [blame] [check-ins using] [more...]
To Artifact [2920b23040]:
- Executable file mtt/lib/cr/hh/squarelaw.hh — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 525) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/lib/cr/hh/squarelaw.hh — part of check-in [ef84c3718b] at 2004-08-29 17:28:42 on branch origin/master — include causality.hh to define effort, flow and state. (user: geraint@users.sourceforge.net, size: 525) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 | #ifndef SQUARELAW_HH #define SQUARELAW_HH #include <cmath #include "sign.hh" inline double squarelaw(const double gain, const causality_t causality, const int port, const double input, const causality_t in_causality, const int in_port) /* * implements P = R Q^2 * direction of flow is retained | > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #ifndef SQUARELAW_HH #define SQUARELAW_HH #include <cmath #include "sign.hh" #include "causality.hh" inline double squarelaw(const double gain, const causality_t causality, const int port, const double input, const causality_t in_causality, const int in_port) /* * implements P = R Q^2 * direction of flow is retained |
︙ | ︙ |