PlotPropertiesMHD

class sapphireppplot.plot_properties_mhd.PlotPropertiesMHD(series_names=<factory>, labels=<factory>, data_type='POINTS', representation_type='UnstructuredGridRepresentation', use_legacy_pvtu_reader=True, preview_size_1d=<factory>, preview_size_2d=<factory>, camera_view_2d=<factory>, preview_size_3d=<factory>, camera_view_3d=<factory>, background_color=<factory>, screenshot_transparent_background=True, animation_transparent_background=False, animation_frame_stride=1, extracts_frame_stride=1, extracts_compressor='ZLib', extracts_compression_level=5, font_family='Arial', text_color=<factory>, label_size=18, text_size=24, title_size=30, line_colors=<factory>, line_styles=<factory>, line_widths=<factory>, default_line_width=2.0, legend_location='TopRight', legend_symbol_width=30, left_axis_labels=<factory>, bottom_axis_labels=<factory>, show_grid=False, grid_labels=<factory>, grid_color=<factory>, color_map='Viridis (matplotlib)', color_bar_label_format='', color_bar_range_labels=True, color_bar_range_label_format='%-#6.1e', color_bar_orientation='Vertical', color_bar_position='Lower Right Corner', color_bar_length=0.25, color_bar_thickness=16, axes_scale=<factory>, axes_stretch=<factory>, axes_ticks=<factory>, time_format='$t = {time:.2f}$', time_location='Upper Left Corner', sampling_pattern='center', sampling_resolution=None, stream_tracer_maximum_error=1e-06, stream_tracer_minimum_step=0.01, stream_tracer_initial_step=0.2, stream_tracer_maximum_step=0.5, export_precision=5, dimension=3, show_indicators=False, prefix_numeric=False, project=False, interpol=False, annotation_project_interpol='exact', quantity_names=<factory>)

Bases: PlotProperties

Specialized plot properties for MHD plots.

dimension: int = 3

Dimensionality of the results.

show_indicators: bool = False

Show debug indicators, like the shock indicator?

prefix_numeric: bool = False

Use numeric prefix for results?

project: bool = False

Show projected exact solution?

interpol: bool = False

Show interpolated exact solution?

annotation_project_interpol: str = 'exact'

Label annotation for exact solution.

quantity_names: dict[str, str]

Translation of MHD quantity names to ParaView series names.

quantity_name(quantity, prefix='')

Look up of ParaView series names for quantities.

Parameters:
  • quantity (str) – The physical quantity.

  • prefix (str) – Prefix

Return type:

str

Returns:

quantity_name (str) – The ParaView Series name for the quantity.

quantity_label(quantity, annotation='')

Look up of label for quantities.

Parameters:
  • quantity (str) – The physical quantity.

  • annotation (str) – Postfix annotation of quantity.

Return type:

str

Returns:

quantity_label (str) – The label for the quantity.