24#ifndef SHAN_CHEN_FORCED_SINGLE_COMPONENT_POST_PROCESSOR_3D_H
25#define SHAN_CHEN_FORCED_SINGLE_COMPONENT_POST_PROCESSOR_3D_H
41template<
typename T,
typename DESCRIPTOR>
45 int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_, T G_, std::vector<T> rho0_,
48 T G_, std::vector<T> rho0_,
54 int extent(
int whichDirection)
const override
60 int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_)
override;
63 int x0, x1, y0, y1, z0, z1;
67 std::vector<BlockStructureD<3>*> partners;
70template<
typename T,
typename DESCRIPTOR>
73 ShanChenForcedSingleComponentGenerator3D(
int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_, T G_, std::vector<T> rho0_,
AnalyticalF<1,T,T>& iP_);
AnalyticalF are applications from DD to XD, where X is set by the constructor.
Platform-abstracted block lattice for external access and inter-block interaction.
PostProcessor3D< T, DESCRIPTOR > * generate(std::vector< BlockStructureD< 3 > * > partners) const override
LatticeCouplingGenerator3D< T, DESCRIPTOR > * clone() const override
ShanChenForcedSingleComponentGenerator3D(int x0_, int x1_, int y0_, int y1_, int z0_, int z1_, T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
LatticeCouplingGenerator for NS coupling.
Multiphysics class for coupling between different lattices.
int extent() const override
Extent of application area (0 for purely local operations)
int extent(int whichDirection) const override
Extent of application area along a direction (0 or 1)
void process(BlockLattice< T, DESCRIPTOR > &blockLattice) override
Execute post-processing step.
void processSubDomain(BlockLattice< T, DESCRIPTOR > &blockLattice, int x0_, int x1_, int y0_, int y1_, int z0_, int z1_) override
Execute post-processing step on a sublattice.
ShanChenForcedSingleComponentPostProcessor3D(int x0_, int x1_, int y0_, int y1_, int z0_, int z1_, T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_, std::vector< BlockStructureD< 3 > * > partners_)
Top level namespace for all of OpenLB.
Interface for post-processing steps – header file.
Base of a field whose size is defined by [C,U_1,...,U_N]^T * [1,V_1,...V_N].