sfepy.homogenization.band_gaps_app module¶
- class sfepy.homogenization.band_gaps_app.AcousticBandGapsApp(conf, options, output_prefix, **kwargs)[source]¶
Application for computing acoustic band gaps.
- static process_options(options)[source]¶
Application options setup. Sets default values for missing non-compulsory options.
- sfepy.homogenization.band_gaps_app.plot_eigs(ax, plot_rsc, plot_labels, valid, freq_range, plot_range)[source]¶
Plot resonance/eigen-frequencies.
valid must correspond to freq_range
resonances : red masked resonances: dotted red
- sfepy.homogenization.band_gaps_app.plot_gap(ax, ranges, kind, kind_desc, plot_range, plot_rsc)[source]¶
Plot single band gap frequency ranges as rectangles.
- sfepy.homogenization.band_gaps_app.plot_gaps(ax, plot_rsc, gaps, kinds, gap_ranges, freq_range, plot_range)[source]¶
Plot band gaps as rectangles.
- sfepy.homogenization.band_gaps_app.plot_logs(ax, plot_rsc, plot_labels, freqs, logs, valid, freq_range, plot_range, draw_eigs=True, show_legend=True)[source]¶
Plot logs of min/middle/max eigs of a mass matrix.