11#ifndef PECLET_AMR_ADVECT_RECON_HPP
12#define PECLET_AMR_ADVECT_RECON_HPP
14#include <morton/morton.hpp>
26 const double t = (1.0 + 2.0 *
r) / 3.0;
27 double m = (2.0 *
r <
t) ? (2.0 *
r) :
t;
30 return (m > 0.0) ? m : 0.0;
43 return 1.5 *
up - 0.5 *
upup;
double korenPsi(double r)
psi = max(0, min(2r, (1+2r)/3, 2)) — the Koren limiter, written once for the two reconstructions belo...
double hoFaceValue(double upup, double up, double down, int scheme)
High-order advected face value from the two upwind cells (upup, up) and the downwind cell (down).
double hoFaceValueSeam(double upup, double up, double upStar, double downStar, double d1, double dUU, double dD, int scheme)
The same reconstruction with every distance and every sample made explicit — the rule of docs/amr_cf_...
std::vector< std::array< double, Dim > > transferFieldGradients(const BlockOctree< Dim, Bits > &oldT, const std::vector< double > &oldF)
Per-old-leaf minmod prolongation gradients (per fine-coordinate unit) — transferField's stencil,...