OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Classes | Functions
olb::heatmap Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  plotParam
 

Functions

template<typename T >
void write (BlockReduction3D2D< T > &blockReduction, int iT, const plotParam< T > param={}, const std::vector< T > &valueArea=std::vector< T >())
 This function is used to plot heat maps as jpeg files.
 
template<typename T >
void write (BlockReduction2D2D< T > &blockReduction, int iT, const plotParam< T > param={}, const std::vector< T > &valueArea=std::vector< T >())
 This function is used to plot heat maps as jpeg files.
 

Function Documentation

◆ write() [1/2]

template<typename T >
void olb::heatmap::write ( BlockReduction2D2D< T > & blockReduction,
int iT,
const plotParam< T > param = {},
const std::vector< T > & valueArea = std::vector<T>() )

This function is used to plot heat maps as jpeg files.

minValue and maxValue set a defined scalar range. contourlevel sets the number of contours in the plot. zoomOrigin and zoomExtend set a zoom scale in the plot: (zoomOrigin(0 to 1) and zoomExtend(0 to 1-zoomOrigin) Available colour schemes are "grey", "pm3d", "blackbody" and "rainbow"

Definition at line 47 of file gnuplotHeatMapWriter.hh.

48{
49 detail::genericHeatMapInterface(blockReduction.getPlaneDiscretizationIn3D(), blockReduction, iT,
50 valueArea, param);
51}
HyperplaneLattice3D< T > getPlaneDiscretizationIn3D() const
Returns embedding of the discretized plane in 3D space.

References olb::heatmap::detail::genericHeatMapInterface(), and olb::BlockReduction2D2D< T >::getPlaneDiscretizationIn3D().

+ Here is the call graph for this function:

◆ write() [2/2]

template<typename T >
void olb::heatmap::write ( BlockReduction3D2D< T > & blockReduction,
int iT,
const plotParam< T > param = {},
const std::vector< T > & valueArea = std::vector<T>() )

This function is used to plot heat maps as jpeg files.

minValue and maxValue set a defined scalar range. contourlevel sets the number of contours in the plot. zoomOrigin and zoomExtend set a zoom scale in the plot: (zoomOrigin(0 to 1) and zoomExtend(0 to 1-zoomOrigin) Available colour schemes are "grey", "pm3d", "blackbody" and "rainbow"

Definition at line 41 of file gnuplotHeatMapWriter.hh.

42{
43 detail::genericHeatMapInterface(blockReduction, blockReduction, iT, valueArea, param);
44}

References olb::heatmap::detail::genericHeatMapInterface().

+ Here is the call graph for this function: