Linear gauss interpolation. More...
#include <LinearGaussImproved.hpp>


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... | |
Linear gauss interpolation.
Definition at line 17 of file LinearGaussImproved.hpp.
| 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.
| eos | Equation of state |
| slf | Slope limiter flag |
| delta_v | The GradV*L/Cs ratio needed for slope limiter |
| theta | The theta from tess in slope limiter. |
| delta_P | The pressure ratio for shock detection |
| ghost | The ghost point generator |
| calc_tracers | Names of tracers for which to calc the slope for |
| skip_key | The sticker name to skip cells for taking them into account for the slope limit |
| SR | Flag for relativity |
Definition at line 556 of file LinearGaussImproved.cpp.

| vector< Slope > & LinearGaussImproved::GetSlopes | ( | void | ) | const |
| vector< Slope > & LinearGaussImproved::GetSlopesUnlimited | ( | void | ) | const |
Returns the unsloped limtied gradients.
Definition at line 717 of file LinearGaussImproved.cpp.
| ComputationalCell LinearGaussImproved::Interp | ( | ComputationalCell const & | cell, |
| size_t | cell_index, | ||
| Vector2D const & | cm, | ||
| Vector2D const & | target | ||
| ) | const |
Interpolates a cell.
| cell | The primitives of the cell |
| cell_index | The index of the cell |
| cm | The cell's center of mass |
| target | The location of the interpolation |
Definition at line 547 of file LinearGaussImproved.cpp.

|
virtual |
interpolates values on both sides of each interface
| tess | Tessellation |
| cells | Computational cells |
| time | The sim time |
| res | List of pairs of primitive values on each edge given as output |
| tracerstickersnames | The names of the tracers and stickers |
| cd | The cache data of the geometry |
Implements SpatialReconstruction.
Definition at line 588 of file LinearGaussImproved.cpp.

1.8.13