fluidsim.base.output.base

Base module for the output (fluidsim.base.output.base)

Provides:

class fluidsim.base.output.base.OutputBase(sim)[source]

Bases: object

Handle the output.

static _complete_info_solver(info_solver)[source]

Complete the ParamContainer info_solver.

static _complete_params_with_default(params, info_solver)[source]

This static method is used to complete the params container.

_init_name_run(self)[source]

Initialize the run name

_init_sim_repr_maker(self)[source]

Create a list of strings to make the run name.

_save_info_solver_params_xml(self, replace=False)[source]

Save files with information on the solver and on the run.

class fluidsim.base.output.base.OutputBasePseudoSpectral(sim)[source]

Bases: fluidsim.base.output.base.OutputBase

compute_energy_fft(self)[source]

Compute energy(k)

compute_energy(self)[source]

Compute the spatially averaged energy.

class fluidsim.base.output.base.SpecificOutput(output, period_save=0, period_plot=0, has_to_plot_saved=False, arrays_1st_time=None)[source]

Bases: object

Small class for features useful for specific outputs

_online_save(self)[source]

Save the values at one time.

Classes

OutputBase(sim)

Handle the output.

OutputBasePseudoSpectral(sim)

SimReprMaker(sim)

Code to create strings to represent a simulation

SpecificOutput(output[, period_save, …])

Small class for features useful for specific outputs