Peano 4
Loading...
Searching...
No Matches
applications::exahype2::CompressibleNavierStokes::NavierStokesSolver Class Reference

#include <NavierStokesSolver.h>

Inheritance diagram for applications::exahype2::CompressibleNavierStokes::NavierStokesSolver:
Collaboration diagram for applications::exahype2::CompressibleNavierStokes::NavierStokesSolver:

Public Member Functions

virtual void initialCondition (double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &volumeCentre, const tarch::la::Vector< Dimensions, double > &volumeH, bool gridIsConstructed) override
 
virtual void boundaryConditions (const double *__restrict__ Qinside, double *__restrict__ Qoutside, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, int normal) override
 
virtual::exahype2::RefinementCommand refinementCriterion (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &volumeCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t) override
 
virtual double maxEigenvalue (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal) override
 
virtual void flux (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, double *__restrict__ F) override
 
virtual void nonconservativeProduct (const double *__restrict__ Q, const double *__restrict__ deltaQ, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, double *__restrict__ BTimesDeltaQ) override
 
virtual void sourceTerm (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &volumeCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, double *__restrict__ S) override
 

Static Public Member Functions

static double maxEigenvalue (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, Offloadable)
 
static void flux (const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, double *__restrict__ F, Offloadable)
 
static void nonconservativeProduct (const double *__restrict__ Q, const double *__restrict__ deltaQ, const tarch::la::Vector< Dimensions, double > &faceCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t, double dt, int normal, double *__restrict__ BTimesDeltaQ, Offloadable)
 
static void extrapolateHalo (double *__restrict__ Q)
 
static void calculateDerivatives (double *__restrict__ Q)
 

Static Private Attributes

static tarch::logging::Log _log
 

Detailed Description

Definition at line 54 of file NavierStokesSolver.h.

Member Function Documentation

◆ boundaryConditions()

void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::boundaryConditions ( const double *__restrict__ Qinside,
double *__restrict__ Qoutside,
const tarch::la::Vector< Dimensions, double > & faceCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
int normal )
overridevirtual

◆ calculateDerivatives()

◆ extrapolateHalo()

static void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::extrapolateHalo ( double *__restrict__ Q)
static

Definition at line 349 of file NavierStokesSolver.h.

References peano4::utils::dLinearised(), and j.

Here is the call graph for this function:

◆ flux() [1/2]

void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::flux ( const double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & faceCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
double dt,
int normal,
double *__restrict__ F )
overridevirtual

Definition at line 256 of file NavierStokesSolver.cpp.

◆ flux() [2/2]

static void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::flux ( const double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & faceCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
double dt,
int normal,
double *__restrict__ F,
Offloadable  )
static

◆ initialCondition()

void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::initialCondition ( double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & volumeCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
bool gridIsConstructed )
overridevirtual

◆ maxEigenvalue() [1/2]

double applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::maxEigenvalue ( const double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & faceCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
double dt,
int normal )
overridevirtual

Definition at line 245 of file NavierStokesSolver.cpp.

◆ maxEigenvalue() [2/2]

static double applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::maxEigenvalue ( const double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & faceCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
double dt,
int normal,
Offloadable  )
static

◆ nonconservativeProduct() [1/2]

void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::nonconservativeProduct ( const double *__restrict__ Q,
const double *__restrict__ deltaQ,
const tarch::la::Vector< Dimensions, double > & faceCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
double dt,
int normal,
double *__restrict__ BTimesDeltaQ )
overridevirtual

Definition at line 268 of file NavierStokesSolver.cpp.

◆ nonconservativeProduct() [2/2]

◆ refinementCriterion()

exahype2::RefinementCommand applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::refinementCriterion ( const double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & volumeCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t )
override

◆ sourceTerm()

void applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::sourceTerm ( const double *__restrict__ Q,
const tarch::la::Vector< Dimensions, double > & volumeCentre,
const tarch::la::Vector< Dimensions, double > & volumeH,
double t,
double dt,
double *__restrict__ S )
overridevirtual

Field Documentation

◆ _log

tarch::logging::Log applications::exahype2::CompressibleNavierStokes::NavierStokesSolver::_log
staticprivate

Definition at line 56 of file NavierStokesSolver.h.


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