SPH
Public Member Functions | List of all members
AxialDistributionPlot Class Reference

Plots a dependence of given quantity on the distance from given axis. More...

#include <Plot.h>

Inheritance diagram for AxialDistributionPlot:
SpatialPlot< AxialDistributionPlot > IPlot Polymorphic

Public Member Functions

 AxialDistributionPlot (const Vector &axis, const QuantityId id, const Optional< Size > binCnt=NOTHING)
 
INLINE Float getX (const Vector &r) const
 
- Public Member Functions inherited from SpatialPlot< AxialDistributionPlot >
 SpatialPlot (const QuantityId id, const Optional< Size > binCnt=NOTHING)
 Constructs the spatial plot. More...
 
virtual std::string getCaption () const override
 Returns the caption of the plot. More...
 
virtual void onTimeStep (const Storage &storage, const Statistics &UNUSED(stats)) override
 
virtual void clear () override
 Clears all cached data, prepares for next run. More...
 
virtual void plot (IDrawingContext &dc) const override
 Draws the plot into the drawing context. More...
 
- Public Member Functions inherited from IPlot
Interval rangeX () const
 Returns the plotted range in x-coordinate. More...
 
Interval rangeY () const
 Returns the plotted range in y-coordinate. More...
 
virtual void onTimeStep (const Storage &storage, const Statistics &stats)=0
 Updates the plot with new data. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Additional Inherited Members

- Protected Attributes inherited from SpatialPlot< AxialDistributionPlot >
QuantityId id
 
Array< PlotPointpoints
 
Optional< SizebinCnt
 
- Protected Attributes inherited from IPlot
struct {
   Interval   x
 
   Interval   y
 
ranges
 

Detailed Description

Plots a dependence of given quantity on the distance from given axis.

Definition at line 144 of file Plot.h.

Constructor & Destructor Documentation

◆ AxialDistributionPlot()

AxialDistributionPlot::AxialDistributionPlot ( const Vector axis,
const QuantityId  id,
const Optional< Size binCnt = NOTHING 
)
inline

Definition at line 149 of file Plot.h.

Member Function Documentation

◆ getX()

INLINE Float AxialDistributionPlot::getX ( const Vector r) const
inline

Definition at line 153 of file Plot.h.


The documentation for this class was generated from the following file: