NeoPZ
Public Member Functions | Private Member Functions | List of all members
TPZGradientFlux Class Reference

DESCRIBE PLEASE. More...

#include <pzgradientflux.h>

Public Member Functions

 TPZGradientFlux ()
 Default constructor. More...
 
 TPZGradientFlux (const TPZGradientFlux &cp)
 Copy constructor. More...
 
 ~TPZGradientFlux ()
 Destructor. More...
 
void ComputeFlux (TPZVec< STATE > &solL, TPZVec< STATE > &solR, const TPZVec< REAL > &normal, TPZVec< STATE > &F)
 Computes numerical flux. More...
 
void ApplyLimiter (TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright)
 Apply limiter. More...
 

Private Member Functions

void ApplyVanAlbadaLimiter (STATE &soll, STATE &solr, const TPZVec< STATE > &gradL, const TPZVec< STATE > &gradR, const TPZVec< STATE > &normal, const TPZVec< STATE > &dL, const TPZVec< STATE > &dR)
 
void ApplyMinModLimiter (STATE &soll, STATE &solr, const TPZVec< STATE > &gradL, const TPZVec< STATE > &gradR, const TPZVec< STATE > &normal, const TPZVec< STATE > &dL, const TPZVec< STATE > &dR)
 It corrects $ soll $ and $ solr $ values. More...
 
STATE Dot (const TPZVec< STATE > &A, const TPZVec< STATE > &B)
 Computes the dot product (scalar) More...
 

Detailed Description

DESCRIBE PLEASE.

Definition at line 17 of file pzgradientflux.h.

Constructor & Destructor Documentation

◆ TPZGradientFlux() [1/2]

TPZGradientFlux::TPZGradientFlux ( )

Default constructor.

Definition at line 9 of file pzgradientflux.cpp.

◆ TPZGradientFlux() [2/2]

TPZGradientFlux::TPZGradientFlux ( const TPZGradientFlux cp)

Copy constructor.

Definition at line 13 of file pzgradientflux.cpp.

◆ ~TPZGradientFlux()

TPZGradientFlux::~TPZGradientFlux ( )

Destructor.

Definition at line 17 of file pzgradientflux.cpp.

Member Function Documentation

◆ ApplyLimiter()

void TPZGradientFlux::ApplyLimiter ( TPZMaterialData data,
TPZMaterialData dataleft,
TPZMaterialData dataright 
)

◆ ApplyMinModLimiter()

void TPZGradientFlux::ApplyMinModLimiter ( STATE &  soll,
STATE &  solr,
const TPZVec< STATE > &  gradL,
const TPZVec< STATE > &  gradR,
const TPZVec< STATE > &  normal,
const TPZVec< STATE > &  dL,
const TPZVec< STATE > &  dR 
)
private

It corrects $ soll $ and $ solr $ values.

Definition at line 62 of file pzgradientflux.cpp.

References Dot(), and fabs.

◆ ApplyVanAlbadaLimiter()

void TPZGradientFlux::ApplyVanAlbadaLimiter ( STATE &  soll,
STATE &  solr,
const TPZVec< STATE > &  gradL,
const TPZVec< STATE > &  gradR,
const TPZVec< STATE > &  normal,
const TPZVec< STATE > &  dL,
const TPZVec< STATE > &  dR 
)
private

Definition at line 87 of file pzgradientflux.cpp.

References Dot(), and fabs.

Referenced by ApplyLimiter().

◆ ComputeFlux()

void TPZGradientFlux::ComputeFlux ( TPZVec< STATE > &  solL,
TPZVec< STATE > &  solR,
const TPZVec< REAL > &  normal,
TPZVec< STATE > &  F 
)

Computes numerical flux.

Definition at line 21 of file pzgradientflux.cpp.

References TPZVec< T >::Fill(), and TPZVec< T >::Resize().

Referenced by TPZEulerEquation::ContributeBCInterface(), and TPZEulerEquation::ContributeInterface().

◆ Dot()

STATE TPZGradientFlux::Dot ( const TPZVec< STATE > &  A,
const TPZVec< STATE > &  B 
)
inlineprivate

Computes the dot product (scalar)

Definition at line 47 of file pzgradientflux.h.

References TPZVec< T >::NElements().

Referenced by ApplyMinModLimiter(), and ApplyVanAlbadaLimiter().


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