Loop invariant flags for a scalar edge flux, built once outside the edge loop so the compiler can unswitch the branches they guard.
More...
#include <scalar_edge_flux.hpp>
Loop invariant flags for a scalar edge flux, built once outside the edge loop so the compiler can unswitch the branches they guard.
- Note
- Built through the named constructors below: the flags are too many and too alike to be given positionally, where one transposed pair would change the discretization silently.
◆ BoundaryConvective()
Options of a boundary that imposes a convective flux alone, which is most of them: the diffusive term at an inlet or an outlet causes serious convergence problems.
◆ BoundaryDiffusive()
Options of the diffusive pass of a fluid interface, which follows a convective pass over the donor vertices.
- Parameters
-
| [in] | correctGrad | - Whether the projected gradient is corrected for skewness, which the models do not agree on at this boundary. |
◆ BoundaryFull()
Options of a boundary that imposes both terms, which is the turbomachinery sites.
- Note
- They impose no mass flux, so the bounded scheme contributes nothing here whatever the configuration says.
◆ Interior()
| static ScalarFluxOptions ScalarFluxOptions::Interior |
( |
const CConfig & |
config, |
|
|
bool |
bounded, |
|
|
bool |
accurateJacobians = false |
|
) |
| |
|
inlinestatic |
Options of the interior edge loop: both terms, both rows, and reconstruction and gradient correction as the configuration asks for them.
◆ accurateJacobians
| bool ScalarFluxOptions::accurateJacobians = false |
◆ boundedScalar
| bool ScalarFluxOptions::boundedScalar = false |
◆ convective
| bool ScalarFluxOptions::convective = true |
Whether the convective scheme contributes.
◆ correctGradient
| bool ScalarFluxOptions::correctGradient = false |
◆ dynamicGrid
| bool ScalarFluxOptions::dynamicGrid = false |
◆ implicit
| bool ScalarFluxOptions::implicit = false |
Whether the Jacobians are assembled, and so computed.
◆ muscl
| bool ScalarFluxOptions::muscl = false |
Whether the convective scheme reconstructs.
◆ oneSided
| bool ScalarFluxOptions::oneSided = false |
Whether only the row of i is assembled.
◆ viscous
| bool ScalarFluxOptions::viscous = false |
Whether the diffusion term contributes.
The documentation for this struct was generated from the following file: