44template <
class Double,
class FlowIndices,
int nDim,
size_t nVar = 1>
46 :
public CUpwScalarBase<Double, CScalarFlux_Poisson<Double, FlowIndices, nDim, nVar>, FlowIndices, nDim, nVar> {
61 template <
class VariableType>
70 D(0) = 0.5 * (coeff_i + coeff_j);
A templated matrix/vector-like object.
Definition C2DContainer.hpp:374
Diffusion of the pressure correction, with a diagonal (single-equation) coefficient.
Definition poisson_edge_flux.hpp:46
CPair< Vector< Double, nVar > > coefficients(const FlowIndices &, Int iPoint, const EdgeSide< VariableType > &side_i, Int jPoint, const EdgeSide< VariableType > &side_j, const CPair< Double > &) const
Momentum coefficient, an i/j average, identical for both edge sides (TSL Jacobian).
Definition poisson_edge_flux.hpp:62
typename Base::Int Int
Definition poisson_edge_flux.hpp:52
static constexpr bool Conservative
Definition poisson_edge_flux.hpp:48
static constexpr bool DiagonalDiffusion
Definition poisson_edge_flux.hpp:49
Upwind convection and diffusion of a transported scalar, accumulated into one residual,...
Definition scalar_edge_flux.hpp:316
typename CLaneTraits< Double_ >::Int Int
Definition scalar_edge_flux.hpp:319
Double_ Double
Definition scalar_edge_flux.hpp:318
#define FORCEINLINE
Definition code_config.hpp:44
Double gatherVariables(Int iPoint, const Container &vars, size_t iVar=0)
Gather a single variable, from column iVar (0 by default) of row iPoint of a 2D container,...
Definition util.hpp:277
Model-agnostic convection and diffusion of a transported scalar, shared by every scalar solver (turbu...
Simple pair type for i/j variables.
Definition util.hpp:130
Locates the data of one endpoint of an edge.
Definition scalar_edge_flux.hpp:42
const VariableType & scalarNodes
Scalar solver variables.
Definition scalar_edge_flux.hpp:43