ABLATE Source Documentation  0.12.34
ablate::eos::tChemSoot::StateVectorSoot< RealType1DView > Struct Template Reference

#include <stateVectorSoot.hpp>

Public Types

using real_value_type = typename RealType1DView::non_const_value_type
 
using range_type = Kokkos::pair<::TChem::ordinal_type, ::TChem::ordinal_type >
 

Public Member Functions

KOKKOS_INLINE_FUNCTION StateVectorSoot (const ::TChem::ordinal_type nGasSpec, const RealType1DView &v)
 
KOKKOS_INLINE_FUNCTION bool isValid () const
 validate input vector More...
 
KOKKOS_INLINE_FUNCTION ::TChem::ordinal_type size () const
 assign a pointer to update the vector in a batch fashion
 
KOKKOS_INLINE_FUNCTION void assign_data (real_value_type *ptr)
 
KOKKOS_INLINE_FUNCTION RealType1DView KokkosView () const
 copy access to private members
 
KOKKOS_INLINE_FUNCTION ::TChem::ordinal_type NumGasSpecies () const
 
KOKKOS_INLINE_FUNCTION ::TChem::ordinal_type NumSpecies () const
 
KOKKOS_INLINE_FUNCTION real_value_type & Density () const
 interface to state vector
 
KOKKOS_INLINE_FUNCTION real_value_type & Pressure () const
 
KOKKOS_INLINE_FUNCTION real_value_type & Temperature () const
 
KOKKOS_INLINE_FUNCTION auto MassFractions () const -> decltype(Kokkos::subview(_v, range_type(3, 3+_nSpec+1)))
 
KOKKOS_INLINE_FUNCTION real_value_type & MassFractionCarbon () const
 
KOKKOS_INLINE_FUNCTION real_value_type & SootNumberDensity () const
 
KOKKOS_INLINE_FUNCTION real_value_type * DensityPtr () const
 
KOKKOS_INLINE_FUNCTION real_value_type * PressurePtr () const
 
KOKKOS_INLINE_FUNCTION real_value_type * TemperaturePtr () const
 
KOKKOS_INLINE_FUNCTION real_value_type * MassFractionsPtr () const
 
template<typename real_1d_viewType >
void SplitYiState (Impl::StateVector< real_1d_viewType > &gaseousState) const
 

Detailed Description

template<typename RealType1DView>
struct ablate::eos::tChemSoot::StateVectorSoot< RealType1DView >

state vector standard interface defining the internal structure 0. Density (R)

  1. Pressure (P)
  2. Temperature (T)
  3. MassFractions (Yn)

Member Function Documentation

◆ isValid()

template<typename RealType1DView >
KOKKOS_INLINE_FUNCTION bool ablate::eos::tChemSoot::StateVectorSoot< RealType1DView >::isValid ( ) const
inline

validate input vector

for solid carbon


The documentation for this struct was generated from the following file: