dragonfly_sim.utils.data_handler
Classes
Functions
|
|
|
Module Contents
- class dragonfly_sim.utils.data_handler.DataStore
- compile_store_in_dict()
- open_dict_and_import_data(file_folder='Result_dicts', filename='POD_deployment.npy')
- output_errors(name, relative=True)
(eval_idx, error) arrays of ROM - FOM (divided by |FOM| if relative) of the output name, for the evaluations that have both. A repeated eval_idx in the FOM record (the baseline solve) keeps its last entry.
- record_outputs(kind, eval_idx, values)
Append the named output values of one evaluation; kind is ‘FOM’ or ‘ROM’.
- write_store_to_numpy_file(save_folder='Result_dicts', save_filename='POD_deployment.npy')
- FOM_force_coefficients = []
- FOM_forces = []
- FOM_outputs
- FOM_walltime = []
- ROM_force_coefficients = []
- ROM_lspg_converged = []
- ROM_meets_threshold = []
- ROM_outputs
- ROM_walltime = []
- absolute_l2_bdry_errors_per_iteration = []
- absolute_l2_errors_per_iteration = []
- adjoint_errors = []
- adjoint_solves = []
- fe_dofs = 0
- fom_relative_residuals = []
- global_snapshot_sing_vals_per_iteration = []
- num_var = 0
- property output_names
- parameter_vectors_per_iteration = []
- relative_l2_bdry_errors_per_iteration = []
- relative_l2_errors_per_iteration = []
- rom_coefficient_errors = []
- rom_relative_residuals = []
- dragonfly_sim.utils.data_handler.plot_walltime_boxplots(data_stores, data_legend, yrange=(0, 3), show_yaxis_label=True)
- dragonfly_sim.utils.data_handler.split_list_of_tuples_into_separate_lists(inp_list, iter_acceptance_list=None)