* Incorporate Webserver into Trick, so one only has to include HttpServer.sm * Tweaks in default index.html file * Rename HTTPServer.sm to WebServer.sm * Rename http_server to WebServer * Add --retry to curl invocations in HttpServer makefile. * Fix #include in VariableServerVariable.hh * Include cleanup and curl tweaks in the hopes of making Jenkins happy. * Doh! problem in makefile masked by preinstalled mongoose in usr/local/lib * DIE Make Bug DIE * Fix include in WebServer.sm * WebServer.sm constructor name * Don't SWIG mongoose.h * Compile with -std=c++11 * Attempt to fix race condition in makefile * makefie tweek * Fix trick library name problem for Centos and Redhat
SIM_cannon_numeric
This is the second in a series example cannon ball simulations that one builds in the Trick Tutorial (Sections 9, 10). It's purpose is to introduce Trick supported numerical methods.
Rather than using the analytic solutions of SIM_cannon_analytic, this simulation uses Trick's numerical integration, and root-finding methods to:
- Determine the cannon ball state (velocity, position) at each time step, and
- Determine when and where the cannon ball impacts the ground.
The simulation is otherwise the same as SIM_cannon_analytic.
Parameterization
Same as in SIM_cannon_analytic.
Initialization
Same as in SIM_cannon_analytic.
State Propagation
This Trick simulation calculates the cannonball state by numerical integration. Acceleration is calculated in the "derivative" job cannon_deriv. It is then used in "integration" job cannon_integ to calculate the cannonball's velocity and position, using the Trick integrate function.
When and Where the Ball Impacts the Ground
The time and position of impact is determined by the "dynamic_event" event job cannon_impact, using the Trick regula_falsi function.