24#ifndef SUPER_PLANE_INTEGRAL_FLUX_F_2D_H
25#define SUPER_PLANE_INTEGRAL_FLUX_F_2D_H
45template<
typename T,
template<
typename,
typename>
class F>
48 template<
typename DESCRIPTOR>
57 template<
typename DESCRIPTOR>
65 template<
typename DESCRIPTOR>
73 template<
typename DESCRIPTOR>
79 std::vector<int> materials,
81 template<
typename DESCRIPTOR>
103 void print(std::string regionName =
"",
104 std::string fluxSiScaleName =
"N",
105 std::string meanSiScaleName =
"Pa");
120 void print(std::string regionName =
"",
121 std::string fluxSiScaleName =
"m^2/s",
122 std::string meanSiScaleName =
"m/s");
Smart pointer for managing the various ways of passing functors around.
Parametrization of a hyperplane lattice (i.e. a line lattice).
IndicatorF2D is an application from .
Representation of a statistic for a parallel 2D geometry.
functor to get pointwise phys pressure from rho on local lattices
functor to get pointwise phys velocity on local lattice
Super class maintaining block lattices for a cuboid decomposition.
Surface integral of a subset of a interpolated hyperplane.
Template class for building flux integrals based on SuperLatticePhysF2D functors.
SuperPlaneIntegralFluxF2D(SuperLattice< T, DESCRIPTOR > &sLattice, const UnitConverter< T, DESCRIPTOR > &converter, SuperGeometry< T, 2 > &geometry, const HyperplaneLattice2D< T > &hyperplaneLattice, FunctorPtr< SuperIndicatorF2D< T > > &&integrationIndicator, FunctorPtr< IndicatorF2D< T > > &&subplaneIndicator, BlockDataReductionMode mode=BlockDataReductionMode::Analytical)
Pressure flux line integral.
void print(std::string regionName="", std::string fluxSiScaleName="N", std::string meanSiScaleName="Pa")
Velocity flux line integral.
void print(std::string regionName="", std::string fluxSiScaleName="m^2/s", std::string meanSiScaleName="m/s")
Conversion between physical and lattice units, as well as discretization.
Top level namespace for all of OpenLB.
BlockDataReductionMode
Mode of reducing block data from given, possibly higher dimensional data.
@ Analytical
Interpolate block data at exact physical locations.
Definition of a analytical line embedded in 2D space.