|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Placeholder container for implicit-solver Jacobian matrix storage. More...
#include <Euler.hpp>
Public Types | |
| enum | Type { Diagonal = 0 , DiagonalBlock = 1 , Full = 2 } |
| Jacobian storage mode selector. More... | |
Public Member Functions | |
| void | SetDiagonal (ArrayDOFV< nVarsFixed > &uDof) |
| Initialize storage for diagonal (scalar-per-variable) Jacobian mode. | |
| void | SetDiagonalBlock (ArrayDOFV< nVarsFixed > &uDof) |
| Initialize storage for block-diagonal (dense block-per-cell) Jacobian mode. | |
| void | SetFull (ArrayDOFV< nVarsFixed > &uDof, Geom::tAdjPair &cell2cell) |
| Initialize storage for the full sparse block Jacobian following cell adjacency. | |
| void | InverseDiag () |
| Compute the inverse of the diagonal (or block-diagonal) Jacobian. | |
Public Attributes | |
| ArrayDOFV< nVarsFixed > | diag |
| Diagonal Jacobian values (one vector per cell). | |
| ArrayDOFV< nVarsFixed > | diagInv |
| Inverse of diagonal Jacobian values. | |
| ArrayEigenMatrix< nVarsFixed, nVarsFixed > | diagBlock |
| Block-diagonal Jacobian (one nVars x nVars matrix per cell). | |
| ArrayEigenMatrix< nVarsFixed, nVarsFixed > | diagBlockInv |
| Inverse of block-diagonal Jacobian. | |
| ArrayRECV< nVarsFixed > | offDiagBlock |
| Off-diagonal blocks for full Jacobian (sparse, adjacency-based). | |
Placeholder container for implicit-solver Jacobian matrix storage.
Supports three storage modes for the flux Jacobian \(\partial \mathbf{R}/\partial \mathbf{U}\):
Set* and InverseDiag methods contain only allocation placeholders (marked with // todo). Actual Jacobian assembly and inversion are not yet implemented.| nVarsFixed | Compile-time number of conservative variables, determining the block size for DiagonalBlock and Full modes. |
| enum DNDS::Euler::JacobianValue::Type |
|
inline |
Compute the inverse of the diagonal (or block-diagonal) Jacobian.
Stores the result in diagInv (Diagonal mode) or diagBlockInv (DiagonalBlock mode) for use as a preconditioner in iterative solvers.
|
inline |
|
inline |
|
inline |
Initialize storage for the full sparse block Jacobian following cell adjacency.
| uDof | Reference DOF array whose distribution layout is used for allocation. |
| cell2cell | Cell-to-cell adjacency pair defining the sparsity pattern. |
| ArrayDOFV<nVarsFixed> DNDS::Euler::JacobianValue< nVarsFixed >::diag |
| ArrayEigenMatrix<nVarsFixed, nVarsFixed> DNDS::Euler::JacobianValue< nVarsFixed >::diagBlock |
| ArrayEigenMatrix<nVarsFixed, nVarsFixed> DNDS::Euler::JacobianValue< nVarsFixed >::diagBlockInv |
| ArrayDOFV<nVarsFixed> DNDS::Euler::JacobianValue< nVarsFixed >::diagInv |
| ArrayRECV<nVarsFixed> DNDS::Euler::JacobianValue< nVarsFixed >::offDiagBlock |