MFEM  v4.5.2
Finite element discretization library
Classes | Functions | Variables
ex18.hpp File Reference

Go to the source code of this file.


class  FE_Evolution
class  RiemannSolver
class  FaceIntegrator


bool StateIsPhysical (const Vector &state, const int dim)
double ComputePressure (const Vector &state, int dim)
void ComputeFlux (const Vector &state, int dim, DenseMatrix &flux)
void ComputeFluxDotN (const Vector &state, const Vector &nor, Vector &fluxN)
double ComputeMaxCharSpeed (const Vector &state, const int dim)
void InitialCondition (const Vector &x, Vector &y)


int problem
double max_char_speed
const int num_equation
const double specific_heat_ratio
const double gas_constant

Function Documentation

◆ ComputeFlux()

void ComputeFlux ( const Vector state,
int  dim,
DenseMatrix flux 

Definition at line 166 of file ex18.hpp.

◆ ComputeFluxDotN()

void ComputeFluxDotN ( const Vector state,
const Vector nor,
Vector fluxN 

Definition at line 194 of file ex18.hpp.

◆ ComputeMaxCharSpeed()

double ComputeMaxCharSpeed ( const Vector state,
const int  dim 

Definition at line 221 of file ex18.hpp.

◆ ComputePressure()

double ComputePressure ( const Vector state,
int  dim 

Definition at line 152 of file ex18.hpp.

◆ InitialCondition()

void InitialCondition ( const Vector x,
Vector y 

Definition at line 430 of file ex18.hpp.

◆ StateIsPhysical()

bool StateIsPhysical ( const Vector state,
const int  dim 

Definition at line 383 of file ex18.hpp.

Variable Documentation

◆ gas_constant

const double gas_constant

Definition at line 56 of file ex18.cpp.

◆ max_char_speed

double max_char_speed

Definition at line 59 of file ex18.cpp.

◆ num_equation

const int num_equation

Definition at line 54 of file ex18.cpp.

◆ problem

int problem

Definition at line 62 of file ex15.cpp.

◆ specific_heat_ratio

const double specific_heat_ratio

Definition at line 55 of file ex18.cpp.