OpenLB 1.8.1
Loading...
Searching...
No Matches
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 >{})
 
template<typename T , typename DESCRIPTOR , typename FUNCTOR >
void write (EfficientBlockReduction3D2D< T, DESCRIPTOR, FUNCTOR > &blockReduction, int iT, const plotParam< T > param={}, const std::vector< T > &valueArea=std::vector< T >{})
 

Function Documentation

◆ write() [1/3]

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

Definition at line 120 of file gnuplotHeatMapWriter.h.

120 {}, const std::vector<T>& valueArea = std::vector<T>{}) {
121 detail::genericHeatMapInterface<T>(blockReduction.getPlaneDiscretizationIn3D(), blockReduction, iT,
122 valueArea, param);
123}
HyperplaneLattice3D< T > getPlaneDiscretizationIn3D() const
Returns embedding of the discretized plane in 3D space.

◆ write() [2/3]

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 115 of file gnuplotHeatMapWriter.h.

115 {}, const std::vector<T>& valueArea = std::vector<T>{}) {
116 detail::genericHeatMapInterface<T>(blockReduction, blockReduction, iT, valueArea, param);
117}

◆ write() [3/3]

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

Definition at line 126 of file gnuplotHeatMapWriter.h.

126 {}, const std::vector<T>& valueArea = std::vector<T>{}) {
127 detail::genericHeatMapInterface<T>(blockReduction, blockReduction, iT, valueArea, param);
128}