FENICS_model.get_timers

FENICS_model.get_timers(verbose=False)

Returns the timers of each step of the FEM computation

Parameters:

verbose (bool) – if true, timer are also passed to the log and the terminal (if verbosity level > 2)

Returns:

  • meshing_timer (float) – time spent to mesh the FEM problem, in s

  • setup_timer (float) – time spent to mesh the setup (i.e. generating variab connecting to the server), in s

  • solving_timer (float) – time spent to mesh the FEM problem, in s

  • total_timer (float) – time spent to mesh the FEM problem, in s