Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
#include <alsfvm/equation/euler/ConservedVariables.hpp>
Public Types | |
typedef Types< nsd >::rvec | rvec |
typedef Types< nsd+2 >::rvec | state_vector |
Public Member Functions | |
__device__ __host__ | ConservedVariables () |
template<class ValueType > | |
__device__ __host__ | ConservedVariables (real rho_, const typename Types< nsd >::template vec< ValueType > &m_, real E_) |
template<class T > | |
__device__ __host__ | ConservedVariables (T rho_, T mx, T my, T mz, T E) |
template<class T > | |
__device__ __host__ | ConservedVariables (T rho_, T mx, T my, T E) |
template<class T > | |
__device__ __host__ | ConservedVariables (T rho_, T mx, T E) |
__device__ __host__ | ConservedVariables (const state_vector &in) |
__device__ __host__ real | operator[] (size_t index) const |
__device__ __host__ real & | operator[] (size_t index) |
__device__ __host__ bool | operator== (const ConservedVariables &other) const |
template<> | |
__device__ __host__ | ConservedVariables (const rvec5 &in) |
template<> | |
__device__ __host__ | ConservedVariables (const rvec4 &in) |
template<> | |
__device__ __host__ | ConservedVariables (const rvec3 &in) |
Static Public Member Functions | |
__device__ static __host__ constexpr size_t | size () |
Public Attributes | |
real | rho |
rvec | m |
real | E |
The holder struct for all relevant variables for the euler flux These are supposed to be the conserved variables
typedef Types<nsd>::rvec alsfvm::equation::euler::ConservedVariables< nsd >::rvec |
typedef Types< nsd + 2 >::rvec alsfvm::equation::euler::ConservedVariables< nsd >::state_vector |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
__device__ __host__ alsfvm::equation::euler::ConservedVariables< nsd >::ConservedVariables | ( | const state_vector & | in | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
real alsfvm::equation::euler::ConservedVariables< nsd >::E |
rvec alsfvm::equation::euler::ConservedVariables< nsd >::m |
real alsfvm::equation::euler::ConservedVariables< nsd >::rho |