Public Member Functions | List of all members
LinearGaussImproved Class Reference

Linear gauss interpolation. More...

#include <LinearGaussImproved.hpp>

Inheritance diagram for LinearGaussImproved:
Inheritance graph
[legend]
Collaboration diagram for LinearGaussImproved:
Collaboration graph
[legend]

Public Member Functions

 LinearGaussImproved (EquationOfState const &eos, GhostPointGenerator const &ghost, bool slf=true, double delta_v=0.2, double theta=0.5, double delta_P=0.7, const vector< string > &calc_tracers=vector< string >(), string skip_key=string(), bool SR=false)
 Class constructor. More...
 
void operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, vector< pair< ComputationalCell, ComputationalCell > > &res, TracerStickerNames const &tracerstickersnames, CacheData const &cd) const
 interpolates values on both sides of each interface More...
 
ComputationalCell Interp (ComputationalCell const &cell, size_t cell_index, Vector2D const &cm, Vector2D const &target) const
 Interpolates a cell. More...
 
vector< Slope > & GetSlopes (void) const
 Returns the gradients. More...
 
vector< Slope > & GetSlopesUnlimited (void) const
 Returns the unsloped limtied gradients. More...
 

Detailed Description

Linear gauss interpolation.

Definition at line 17 of file LinearGaussImproved.hpp.

Constructor & Destructor Documentation

◆ LinearGaussImproved()

LinearGaussImproved::LinearGaussImproved ( EquationOfState const &  eos,
GhostPointGenerator const &  ghost,
bool  slf = true,
double  delta_v = 0.2,
double  theta = 0.5,
double  delta_P = 0.7,
const vector< string > &  calc_tracers = vector<string>(),
string  skip_key = string(),
bool  SR = false 
)

Class constructor.

Parameters
eosEquation of state
slfSlope limiter flag
delta_vThe GradV*L/Cs ratio needed for slope limiter
thetaThe theta from tess in slope limiter.
delta_PThe pressure ratio for shock detection
ghostThe ghost point generator
calc_tracersNames of tracers for which to calc the slope for
skip_keyThe sticker name to skip cells for taking them into account for the slope limit
SRFlag for relativity

Definition at line 556 of file LinearGaussImproved.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ GetSlopes()

vector< Slope > & LinearGaussImproved::GetSlopes ( void  ) const

Returns the gradients.

Returns
The gradients

Definition at line 712 of file LinearGaussImproved.cpp.

◆ GetSlopesUnlimited()

vector< Slope > & LinearGaussImproved::GetSlopesUnlimited ( void  ) const

Returns the unsloped limtied gradients.

Returns
The gradients

Definition at line 717 of file LinearGaussImproved.cpp.

◆ Interp()

ComputationalCell LinearGaussImproved::Interp ( ComputationalCell const &  cell,
size_t  cell_index,
Vector2D const &  cm,
Vector2D const &  target 
) const

Interpolates a cell.

Parameters
cellThe primitives of the cell
cell_indexThe index of the cell
cmThe cell's center of mass
targetThe location of the interpolation
Returns
The interpolated value

Definition at line 547 of file LinearGaussImproved.cpp.

Here is the call graph for this function:

◆ operator()()

void LinearGaussImproved::operator() ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
double  time,
vector< pair< ComputationalCell, ComputationalCell > > &  res,
TracerStickerNames const &  tracerstickersnames,
CacheData const &  cd 
) const
virtual

interpolates values on both sides of each interface

Parameters
tessTessellation
cellsComputational cells
timeThe sim time
resList of pairs of primitive values on each edge given as output
tracerstickersnamesThe names of the tracers and stickers
cdThe cache data of the geometry

Implements SpatialReconstruction.

Definition at line 588 of file LinearGaussImproved.cpp.

Here is the call graph for this function:

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