|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
The pattern of a reactor Jacobian in (Y_1 .. Y_Ns, T) without its rank-one part, an elimination order, the fill of its LU factors and the operations of a factorization without pivoting, on the device. More...
#include <sparse_lu.h>
Public Types | |
| template<typename T > | |
| using | View1 = Kokkos::View< T *, MemorySpace > |
| using | Pairs = Kokkos::View< uint32_t *[2], Kokkos::LayoutRight, MemorySpace > |
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION uint32_t | jacobian_size () const |
| Doubles of a cell's compact Jacobian. | |
| KOKKOS_INLINE_FUNCTION uint32_t | work_size () const |
| Doubles of a cell's work memory: values, z = A_s^-1 u, u and one vector. | |
The pattern of a reactor Jacobian in (Y_1 .. Y_Ns, T) without its rank-one part, an elimination order, the fill of its LU factors and the operations of a factorization without pivoting, on the device.
The Jacobian splits as J = J_s + u v^T: v_j = 1 / W_j for the species (0 for T), and u_k = W_k sum_i nu_ki dq_i/d[M] (eff_i,default) + ... the part of d omega_k / d C_j that is the same for every species j (third-body concentrations with their default efficiency, and the pressure of PLOG and Chebyshev reactions). J_s keeps the mass-action terms, the extra efficiencies and the T row and column. The species are ordered by minimum degree, T last; the static pattern of L + U of I / (gamma h) - J_s is factored without pivoting (a vanishing pivot rejects the sub-step).
| using chemistry::SparseLUPattern< MemorySpace >::Pairs = Kokkos::View<uint32_t *[2], Kokkos::LayoutRight, MemorySpace> |
| using chemistry::SparseLUPattern< MemorySpace >::View1 = Kokkos::View<T *, MemorySpace> |
|
inline |
Doubles of a cell's compact Jacobian.
|
inline |
Doubles of a cell's work memory: values, z = A_s^-1 u, u and one vector.
| uint32_t chemistry::SparseLUPattern< MemorySpace >::chain = 0 |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::chain_offset = 0 |
| Pairs chemistry::SparseLUPattern< MemorySpace >::chain_upper_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::chain_upper_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::column_entry |
| Pairs chemistry::SparseLUPattern< MemorySpace >::column_lower_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::column_lower_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::column_offset |
| Pairs chemistry::SparseLUPattern< MemorySpace >::column_upper_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::column_upper_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::diagonal |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::entry_column |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::entry_row |
| View1<int32_t> chemistry::SparseLUPattern< MemorySpace >::jacobian_source |
| Pairs chemistry::SparseLUPattern< MemorySpace >::lower_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::lower_level_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::lower_level_row |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::lower_offset |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::n = 0 |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::n_entries = 0 |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::n_lower_levels = 0 |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::n_stages = 0 |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::n_upper_levels = 0 |
| uint32_t chemistry::SparseLUPattern< MemorySpace >::nnz = 0 |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::perm |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::pivot_lower_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::pivot_lower_offset |
| Kokkos::View<uint32_t *[3], Kokkos::LayoutRight, MemorySpace> chemistry::SparseLUPattern< MemorySpace >::pivot_update |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::pivot_update_offset |
| Pairs chemistry::SparseLUPattern< MemorySpace >::scale_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::scale_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::source |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::target |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::target_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::target_update |
| Pairs chemistry::SparseLUPattern< MemorySpace >::update |
| Pairs chemistry::SparseLUPattern< MemorySpace >::upper_entry |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::upper_level_offset |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::upper_level_row |
| View1<uint32_t> chemistry::SparseLUPattern< MemorySpace >::upper_offset |
| View1<double> chemistry::SparseLUPattern< MemorySpace >::v |