![]() |
Documentation 6b54b78464
|
Residual of one edge, accumulated by the convective and the diffusive terms. More...
#include <util.hpp>
Public Member Functions | |
| EdgeResidual (size_t nEqn) | |
| Zero the terms of the equations in use, so that both terms can accumulate into them. | |
Public Attributes | |
| Vector< Double, Size > | flux_i |
| Vector< Double, Size > | flux_j |
| Matrix< Double, Size, Size > | jac_ii |
| Matrix< Double, Size, Size > | jac_ij |
| Matrix< Double, Size, Size > | jac_ji |
| Matrix< Double, Size, Size > | jac_jj |
| const size_t | nVar |
Static Public Attributes | |
| static constexpr size_t | Size = Max(2, (nVar_ == Dynamic) ? MaxScalarVar : nVar_) |
| The Matrix<Double,1,1> a static nVar==1 model would otherwise need degenerates to vector-only indexing in C2DContainer (its RowMajor, one-row specialization), so the backing is never smaller than 2; the unused padding row/column is simply never visited, every loop here and in the model bounds itself to nVar, not Size. | |
Residual of one edge, accumulated by the convective and the diffusive terms.
|
inlineexplicit |
Zero the terms of the equations in use, so that both terms can accumulate into them.
| Matrix<Double, Size, Size> EdgeResidual< Double, nVar_ >::jac_ii |
| Matrix<Double, Size, Size> EdgeResidual< Double, nVar_ >::jac_ij |
| Matrix<Double, Size, Size> EdgeResidual< Double, nVar_ >::jac_ji |
| Matrix<Double, Size, Size> EdgeResidual< Double, nVar_ >::jac_jj |
| const size_t EdgeResidual< Double, nVar_ >::nVar |
|
staticconstexpr |
The Matrix<Double,1,1> a static nVar==1 model would otherwise need degenerates to vector-only indexing in C2DContainer (its RowMajor, one-row specialization), so the backing is never smaller than 2; the unused padding row/column is simply never visited, every loop here and in the model bounds itself to nVar, not Size.
<