DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp::FluxTensor Struct Reference

Flux tensor field (aggregate initialization). More...

#include <dbpp_FluxTensor.h>

Public Member Functions

std::pair< float64, float64asFFPair () const
 pair of flux componengt
bool isZeroValue () const
 check zero value
std::tuple< short, float64, float64asFFTuple () const
 C++17 structured binding.

Public Attributes

short m_cellIdx
float64 FF1
float64 FF2

Detailed Description

Flux tensor field (aggregate initialization).

Member Function Documentation

◆ asFFPair()

std::pair< float64, float64 > dbpp::FluxTensor::asFFPair ( ) const
inline

pair of flux componengt

Returns
pair

◆ asFFTuple()

std::tuple< short, float64, float64 > dbpp::FluxTensor::asFFTuple ( ) const
inline

C++17 structured binding.

Returns
tuple

◆ isZeroValue()

bool dbpp::FluxTensor::isZeroValue ( ) const
inline

check zero value

Returns
true/false

Member Data Documentation

◆ FF1

float64 dbpp::FluxTensor::FF1

flux of the state variable A

◆ FF2

float64 dbpp::FluxTensor::FF2

flux of the state variable Q

◆ m_cellIdx

short dbpp::FluxTensor::m_cellIdx

cell face index it belongs


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