|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
The Chebyshev coefficient recurrence (Golub-Varga; the form multigrid Chebyshev smoothers use). More...
#include <mac_cheb_momentum.hpp>
Public Member Functions | |
| ChebCoeffs (double lo, double hi) | |
| void | next (int it, double &alpha, double &beta) |
Coefficients for iteration it (0-based). Advances the recurrence. | |
Public Attributes | |
| double | theta |
| double | delta |
| double | sigma |
| double | rho |
The Chebyshev coefficient recurrence (Golub-Varga; the form multigrid Chebyshev smoothers use).
Iteration 0 takes alpha = 1/theta, beta = 0; iteration k takes rho_k = 1/(2 sigma - rho_{k-1}), alpha = 2 rho_k / delta, beta = rho_k rho_{k-1}. Holding the recurrence in one small struct keeps the driver free of solver algebra.
Definition at line 115 of file mac_cheb_momentum.hpp.
Definition at line 117 of file mac_cheb_momentum.hpp.
Coefficients for iteration it (0-based). Advances the recurrence.
Definition at line 120 of file mac_cheb_momentum.hpp.
References delta, rho, sigma, and theta.
Referenced by peclet::flow::VelocityMG::chebSmooth(), and peclet::flow::Solver< Grid >::chebSolveComp().
| double peclet::flow::ChebCoeffs::theta |
Definition at line 116 of file mac_cheb_momentum.hpp.
Referenced by next().
| double peclet::flow::ChebCoeffs::delta |
Definition at line 116 of file mac_cheb_momentum.hpp.
Referenced by next().
| double peclet::flow::ChebCoeffs::sigma |
Definition at line 116 of file mac_cheb_momentum.hpp.
Referenced by next(), and anderson_synthetic_maps.LinearMapSolver::step().
| double peclet::flow::ChebCoeffs::rho |
Definition at line 116 of file mac_cheb_momentum.hpp.
Referenced by test_collocated_stability_guard.Path::_build(), steady_acceleration_gates.Case::configure(), steady_acceleration_gates.Case::dt(), and next().