|
35 | 35 | ) |
36 | 36 |
|
37 | 37 |
|
38 | | -class _GraphicsContainer: |
| 38 | +class GraphicsObject: |
39 | 39 | """Base class for graphics containers.""" |
40 | 40 |
|
41 | 41 | def __init__(self, solver, **kwargs): |
@@ -64,7 +64,7 @@ def __dir__(self): |
64 | 64 | return sorted(set(super().__dir__()) | set(dir(self._obj))) |
65 | 65 |
|
66 | 66 |
|
67 | | -class Mesh(_GraphicsContainer): |
| 67 | +class Mesh(GraphicsObject): |
68 | 68 | """Mesh visualization object. |
69 | 69 |
|
70 | 70 | Creates a Fluent mesh graphic object on the specified surfaces. |
@@ -111,7 +111,7 @@ def __init__( |
111 | 111 | ) |
112 | 112 |
|
113 | 113 |
|
114 | | -class Surface(_GraphicsContainer): |
| 114 | +class Surface(GraphicsObject): |
115 | 115 | """Surface definition for Fluent post-processing. |
116 | 116 |
|
117 | 117 | The ``Surface`` class represents any Fluent surface generated for |
@@ -371,7 +371,7 @@ def __init__( |
371 | 371 | ) |
372 | 372 |
|
373 | 373 |
|
374 | | -class Contour(_GraphicsContainer): |
| 374 | +class Contour(GraphicsObject): |
375 | 375 | """ |
376 | 376 | Contour visualization object. |
377 | 377 |
|
@@ -426,7 +426,7 @@ def __init__( |
426 | 426 | ) |
427 | 427 |
|
428 | 428 |
|
429 | | -class Vector(_GraphicsContainer): |
| 429 | +class Vector(GraphicsObject): |
430 | 430 | """Vector visualization object. |
431 | 431 |
|
432 | 432 | Parameters |
@@ -513,7 +513,7 @@ def __setattr__(self, attr, value): |
513 | 513 | setattr(self._obj, attr, value) |
514 | 514 |
|
515 | 515 |
|
516 | | -class Pathline(_GraphicsContainer): |
| 516 | +class Pathline(GraphicsObject): |
517 | 517 | """Pathline visualization object. |
518 | 518 |
|
519 | 519 | The ``Pathline`` class generates pathlines, which represent the trajectories |
@@ -569,7 +569,7 @@ def __init__( |
569 | 569 | ) |
570 | 570 |
|
571 | 571 |
|
572 | | -class XYPlot(_GraphicsContainer): |
| 572 | +class XYPlot(GraphicsObject): |
573 | 573 | """XY plot visualization object. |
574 | 574 |
|
575 | 575 | The ``XYPlot`` class creates a Fluent XY plot of a scalar field evaluated |
@@ -633,7 +633,7 @@ def get_field_data(self): |
633 | 633 | return XYPlotDataExtractor(self._obj).fetch_data() |
634 | 634 |
|
635 | 635 |
|
636 | | -class Monitor(_GraphicsContainer): |
| 636 | +class Monitor(GraphicsObject): |
637 | 637 | """Monitor visualization object. |
638 | 638 |
|
639 | 639 | The ``Monitor`` class provides access to Fluent monitor data for plotting, |
|
0 commit comments