chrono::fsi::ChBenchmarkTest Class Referenceabstract
Description
Base class for a Chrono FSI benchmark test.
A derived class should set up a complete Chrono FSI model in its constructor and implement GetSystem (to return a pointer to the underlying Chrono system) and ExecuteStep (to perform all operations required to advance the system state by one time step). Timing information for various phases of the simulation is collected for a sequence of steps.
#include <ChBenchmark.h>
Public Member Functions | |
virtual void | ExecuteStep ()=0 |
virtual ChFsiSystem * | GetSystem ()=0 |
void | Simulate (int num_steps) |
void | ResetTimers () |
Public Attributes | |
double | m_timer_step |
time for both CFD and MBS | |
double | m_timer_CFD |
time for CFD | |
double | m_timer_MBS |
time for MBS | |
double | m_timer_collision |
time for collision detection | |
double | m_timer_collision_broad |
time for broad-phase collision | |
double | m_timer_collision_narrow |
time for narrow-phase collision | |
double | m_timer_setup |
time for system update | |
double | m_timer_update |
time for system update | |
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_fsi/utils/ChBenchmark.h