Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Types | Public Member Functions | Public Attributes | List of all members
alsfvm::equation::euler::PrimitiveVariables< nsd > Class Template Reference

#include <alsfvm/equation/euler/PrimitiveVariables.hpp>

Public Types

typedef Types< nsd >::rvec rvec
 

Public Member Functions

__device__ __host__ PrimitiveVariables ()
 
__device__ __host__ PrimitiveVariables (real rho, rvec u, real p)
 
template<class T >
__device__ __host__ PrimitiveVariables (T rho, T ux, T uy, T uz, T p)
 
template<class T >
__device__ __host__ PrimitiveVariables (T rho, T ux, T uy, T p)
 

Public Attributes

real rho
 rho is the density More...
 
rvec u
 u is the velocity More...
 
real p
 p is the pressure More...
 

Detailed Description

template<int nsd>
class alsfvm::equation::euler::PrimitiveVariables< nsd >

The holder struct for all relevant variables for the euler flux These are supposed to be the primitive variables, ie. the variables you would specify for eg. initial conditions.

Member Typedef Documentation

◆ rvec

template<int nsd>
typedef Types<nsd>::rvec alsfvm::equation::euler::PrimitiveVariables< nsd >::rvec

Constructor & Destructor Documentation

◆ PrimitiveVariables() [1/4]

◆ PrimitiveVariables() [2/4]

template<int nsd>
__device__ __host__ alsfvm::equation::euler::PrimitiveVariables< nsd >::PrimitiveVariables ( real  rho,
rvec  u,
real  p 
)
inline

◆ PrimitiveVariables() [3/4]

template<int nsd>
template<class T >
__device__ __host__ alsfvm::equation::euler::PrimitiveVariables< nsd >::PrimitiveVariables ( rho,
ux,
uy,
uz,
p 
)
inline

◆ PrimitiveVariables() [4/4]

template<int nsd>
template<class T >
__device__ __host__ alsfvm::equation::euler::PrimitiveVariables< nsd >::PrimitiveVariables ( rho,
ux,
uy,
p 
)
inline

Member Data Documentation

◆ p

p is the pressure

◆ rho

template<int nsd>
real alsfvm::equation::euler::PrimitiveVariables< nsd >::rho

rho is the density

◆ u

u is the velocity


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