|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mac_cutcell_mg.hpp>
Classes | |
| struct | Level |
| struct | ExitDot |
| struct | StartResidual |
| struct | OverlayScope |
| struct | AmgRows |
| struct | AmgRhsAnatomy |
| struct | ExitDotDist |
Public Types | |
| enum | : int { kPAp = 0 , kRn = 1 , kStop = 2 , kBottomFlag = 3 , kRz = 4 , kRzNew = 5 , kBeta = 6 , kAlpha = 7 , kMsum = 8 , kGRref = 9 , kG11 = 10 , kG12 = 11 , kG22 = 12 , kGb1 = 13 , kGb2 = 14 , kChebRz = 15 } |
| enum | : int { kVcycleAuto = 0 , kVcycleFp64 = 1 , kVcycleFp32 = 2 } |
| enum class | EigenStart { Cold , ColdKeep , Warm } |
| enum | : int { kBottomAuto = 0 , kBottomDirect = 1 , kBottomAlgebraic = 2 } |
| using | PinnedHost = Kokkos::SharedHostPinnedSpace |
Public Member Functions | |
| void | assignLineAxes () |
| void | setMetric (const double hp[3]) |
| Per-axis cell spacings h_a' = h_a / hRef of the physical domain (doc/anisotropic_metric.md §1.1). | |
| std::vector< C3 > | levelRatios () const |
| The per-level coarsening ratio actually chosen (the level table of §5, gate §8.5). | |
| void | init (int nx, int ny, int nz, int nLevels) |
| C3 | levelRatio (C3 gs, C3 cf, const bool canA[3], C3 &next) const |
| int | nLevels () const |
| int | fp32Last () const |
| void | computeFp32Last () |
| Level & | level (int L) |
| void | setBoundaryConditions (const int bc[6]) |
| void | applyOutflowGhost (const Level &lv, CCField x, int g=G) |
| void | applyNeumannGhost (const Level &lv, CCField x, int g=G) |
| void | applyNeumannGhost (const Level &lv, VField x, int g=G) |
| template<class V> | |
| void | applyNeumannGhostT (const Level &lv, V x, int g) |
| void | applyBoundaryOpenness (Level &lv, Level *fine=nullptr) |
| void | applyBoundaryOpennessFrom (Level &lv, const CCField *fo, C3 fext, int fg, C3 fratio) |
| void | saveOutflowPlanes (Level &lv) |
| void | noteFluidCells (Level &lv) |
| void | noteFluidCellsDevice (Level &lv) |
| bool | hostAllFluid (const Level &lv) const |
| CCField | level0Coefficient (int a) const |
| bool | distributed () const |
| void | setOpenness (CCConst ox, CCConst oy, CCConst oz, double idx2, double idy2, double idz2) |
| int | solvePCG (CCField b, CCField x, CCField r, CCField p, CCField z, CCField Ap, int maxit, double rtol, int pre, int post, int bottom, const StarOverlay *star=nullptr, int nStar=0, C3 nnStar=C3{0, 0, 0}) |
| template<class Attempt> | |
| int | solveWithRestart (CCField x, int maxit, Attempt &&attempt) |
| bool | beginAttemptPrecision (int &maxit) |
| int | failNonFiniteZ (const char *who, Level &l0, CCField x, int maxit) |
| int | commRank () const |
| double | guessResidual (Level &l0, CCField b, CCField x, CCField r, CCField Ap, const StarOverlay *star, int nStar, C3 nnStar) |
| double | armStopTest (double r0, double rtol) |
| double | matvecPAp (Level &l0, CCField Ap, CCField p, const StarOverlay *star, int nStar, C3 nnStar) |
| double | cgUpdate (Level &l0, CCField x, CCField r, CCField p, CCField Ap, double alpha, bool fuse) |
| void | finalRemoveMean (Level &l0, CCField x) |
| bool | pApBreakdown (double pAp) |
| bool | cgConverged (int &it, double rn, double r0, double rtol, double rref, bool trace) |
| double | pcgPrecondRz (Level &l0, bool f32, bool fuse, CCField z, CCField r, double rn, int k, CCField p) |
| int | solvePCGAttempt (CCField b, CCField x, CCField r, CCField p, CCField z, CCField Ap, int maxit, double rtol, int pre, int post, int bottom, const StarOverlay *star, int nStar, C3 nnStar) |
| void | ensureScalars () |
| Kokkos::View< double, CCMem > | slot (int k) const |
| double | readSlot (int k) const |
| void | setSlot (int k, double v) |
| void | dotTo (Level &lv, CCField a, CCField b, int k) |
| void | copyDotTo (Level &lv, CCField p, CCField r, CCField z, int k) |
| bool | hostKrylovFusion () const |
| void | matvecDotTo (Level &l0, CCField y, CCField v, int k) |
| void | pcgUpdateSum (Level &l0, CCField x, CCField r, CCField p, CCField Ap) |
| void | meanSubtractMaxTo (Level &lv, CCField f, int k) |
| void | maxabsTo (Level &lv, CCField a, int k) |
| void | setDebugBreakdown (int which, int iter) |
| template<int ND> | |
| void | matvecGuessDots (Level &l0, CCField y, CCField v, CCField w, CCField r, int kvy, int kvr, int kwy) |
| void | guessMatvec (Level &l0, CCField y, CCField v, const StarOverlay *star, int nStar, C3 nnStar) |
| double | projectedGuess (Level &l0, CCField b, CCField x, CCField r, CCField av1, CCField av2, const StarOverlay *star, int nStar, C3 nnStar, bool fused, double *r0w) |
| void | guessTraceSave (CCField x) |
| void | guessTraceExit (Level &l0, CCField b, CCField x, double rref, double r0w, int it, int hist, const StarOverlay *star, int nStar, C3 nnStar) |
| double | initialResidual (Level &l0, CCField b, CCField x, CCField r, CCField Ap, const StarOverlay *star, int nStar, C3 nnStar) |
| StartResidual | startResidual (CCField b, CCField x, CCField r, CCField Ap, CCField z, const StarOverlay *star, int nStar, C3 nnStar, bool fused, bool resident) |
| void | matvecDotPAp (Level &l0, CCField Ap, CCField p, bool fuse, const StarOverlay *star, int nStar, C3 nnStar) |
| void | noteHealth (double rzOld, int it, bool trace, bool f32) |
| bool | precondDotTo (bool f32, bool fuse, int e, int k, CCField z, CCField r, CCField pz) |
| double | firstPrecondRz (Level &l0, bool f32, bool fuse, int e, CCField z, CCField r, CCField p) |
| void | residentAlpha (int it) |
| void | residentUpdate (Level &l0, CCField xx, CCField rr, CCField pp, CCField aa, bool fuse) |
| bool | residentPacketExit (int &it, double rtol, double rref, double r0, bool trace, double &rn) |
| void | residentPrecondRz (Level &l0, bool f32, bool fuse, int e, CCField z, CCField r, int it, bool health, bool trace) |
| void | residentBetaAypx (CCField pp, CCField zz, std::size_t n) |
| int | solvePCGResident (CCField b, CCField x, CCField r, CCField p, CCField z, CCField Ap, int maxit, double rtol, int pre, int post, int bottom, const StarOverlay *star, int nStar, C3 nnStar) |
| int | solveFCG (CCField b, CCField x, CCField r, CCField p, CCField z, CCField zp, CCField Ap, int maxit, double rtol, int pre, int post, int bottom, const StarOverlay *star=nullptr, int nStar=0, C3 nnStar=C3{0, 0, 0}) |
| double | fcgPrecondRz (Level &l0, bool f32, bool fuse, CCField z, CCField r, double rn, CCField p) |
| void | fcgNotePr (int it, double beta, double rznew, double rzcross, bool trace) |
| int | solveFCGAttempt (CCField b, CCField x, CCField r, CCField p, CCField z, CCField zp, CCField Ap, int maxit, double rtol, int pre, int post, int bottom, const StarOverlay *star, int nStar, C3 nnStar) |
| void | gpMatvec (Level &l0, CCField y, CCField q, const GpOverlayReal< MReal > &ov, int nOv, C3 nn) |
| void | precondVcycleCopy (CCField zz, CCField rr) |
| void | noteBicgExit (int exitCode, int it, int maxit, double r0n, double rnLast, double rtol) |
| int | solveBiCGStab (CCField b, CCField x, CCField r, CCField rh, CCField p, CCField v, CCField t, CCField z, CCField z2, int maxit, double rtol, int pre, int post, int bottom, const GpOverlayReal< MReal > &ov, int nOv, C3 nn) |
| void | precondVcycle (CCField zz, CCField rr) |
| void | vcycle (int L, bool sym) |
| void | vcycleImpl (int L, bool sym) |
| bool | caSmooth (const Level &lv) const |
| bool | fusedWrapReads () const |
| bool | fusedWrapSmooth (const Level &lv) const |
| int | effectiveVprec () const |
| bool | fp32Mode () const |
| bool | fp32Carriable () const |
| bool | fp32Build (int L) |
| void | allocFp64 (Level &v) |
| bool | fp64Deferrable () const |
| int * | fp32RangeFlag (int L) |
| bool | fp32WeightsOk (int L) const |
| void | fp32Reconfigure (bool wasCarriable, bool wasDeferrable) |
| void | ensureFp64 () |
| void | releaseFp64 () |
| void | buildFp32Weights () |
| bool | fp32VcycleSolve () |
| void | setHealthTrace (bool on) |
| const std::vector< double > & | healthLog () const |
| void | precondVcycleFp32 (CCField zz, CCField rr, int e, int k, CCField p) |
| void | smoothFp32 (Level &lv, int sweeps, bool reverse, bool skipFirst) |
| void | vcycleFp32Impl (int L, bool sym) |
| void | exitFp32 (Level &l0, CCField zz, CCField rr, double s, int k, CCField p) |
| void | debugSetOverlaySolve (bool on) |
| void | debugSetStencilHaloOff (bool on) |
| void | setVcyclePrecision (int mode) |
| int | vcyclePrecision () const |
| bool | lastVcycleFp32 () const |
| int | vcycleRestarts () const |
| int | lastDiscardedIters () const |
| bool | lastSolveConverged () const |
| void | debugSetFp32Fault (int kind, int at) |
| bool | restartArmed () const |
| void | fp32DecoupledCounts (int L, long &n32, long &n64) |
| void | checkFp32DecoupledSets () |
| const char * | fp32VcycleIneligible (bool krylov) const |
| bool | lineRelaxOn (const Level &lv) const |
| bool | linePeriodic (int s) const |
| void | lineSmoothColor (Level &lv, int s, int color) |
| void | lineSmoothColorFp32 (Level &lv, int s, int color) |
| void | smooth (Level &lv, int sweeps, bool reverse) |
| bool | agglomerateBottom () const |
| bool | agglomerateAuto (long gx, long gy, long gz) const |
| bool | bottomAdmissibleHere (C3 g) const |
| void | printDepthCensus (int nLevels, bool more) const |
| std::vector< int > | lineAxes () const |
| std::vector< int > | lineSmoothedLevels () const |
| std::string | lineAxisLabel (int L) const |
| const char * | directBottomIneligible () const |
| int | bottomLabelCode () const |
| const char * | directBottomIneligibleAll () const |
| void | requireDirectBottom () const |
| void | buildBottomStore () |
| Level & | bottomLv () |
| const Level & | bottomLv () const |
| bool | buildGlobalBottomLevel () |
| long | gbIndex (int gid) const |
| void | buildGlobalBottomOp () |
| void | gatherGlobalBottomRhs () |
| void | scatterGlobalBottomX () |
| void | evalBottomComponents () |
| template<class FR = float> | |
| BottomKernel< FR > | makeBottomKernel (bool precondOnly) |
| void | noteBottomFlag (double v) |
| template<class FR> | |
| int | launchDirectFactor (const BottomDirect< FR > &D, int team, double tauPiv0, bool probe=true, bool teamAlgorithm=false, const CCExec &exec=CCExec()) |
| template<class FR> | |
| int | launchDirectKernel (const BottomDirect< FR > &D, bool precondOnly, int team, bool noMean, CCField zOut=CCField(), CCField rIn=CCField(), bool probe=true, bool teamAlgorithm=false) |
| bool | directPrefactorEligible () const |
| void | prefactorBottom () |
| long | prefactorLaunches () const |
| bool | joinPrefactor () const |
| ~CutcellMG () | |
| void | directBottomSolve () |
| void | buildAmg (Level &lv) |
| C3 | amgBottomDims () const |
| AmgRows | amgLocalRows (const Level &lv, C3 gb) const |
| void | amgCellCouplings (C3 gc, C3 gb, int gid, const double(&bc)[6], AmgRows &o) const |
| void | amgLabelComponents (const AmgRows &rows) |
| void | printAmgBuildCensus (const AmgRows &rows) const |
| peclet::core::solver::HostCsrOp | amgAssembleCsr (const AmgRows &rows) const |
| void | graphAmgSolveBottom (Level &lv) |
| AmgRhsAnatomy | amgRhsAnatomy (const std::vector< double > &b) const |
| void | amgMeanZero (std::vector< double > &v) const |
| void | amgReport (const AmgRhsAnatomy &a, const std::vector< double > &x, const std::vector< double > &r, int it, double r0, int dbg) |
| void | pcgAmg (std::vector< double > &b, std::vector< double > &x) |
| void | matvecOverlap (Level &l0, CCField y, CCField v) |
| void | fill (Level &lv, CCField f) |
| void | fillLocal (Level &lv, CCField f) |
| void | fill (Level &lv, VField f) |
| template<class V> | |
| void | fillWrap (Level &lv, V f) |
| void | fillOpenness (Level &lv) |
| void | fillAxis (Level &lv, CCField f, int axis) |
| void | axpy (CCField y, double a, CCField x) |
| void | aypx (CCField y, double a, CCField x) |
| void | scale (CCField y, double a) |
| void | lin (CCField out, double a, CCField x, double b, CCField y) |
| void | maskSolid (Level &lv, CCField f) |
| void | addSeedNoise (Level &lv, CCField f, double amp) |
| CCField | workVector (int slot, std::size_t n, const char *label) |
| bool | eigenWarmReady () const |
| CCField | eigenWarmMax () const |
| CCField | eigenWarmMin () const |
| void | setEigenWarm (CCField vmax, CCField vmin) |
| double | lanczosTop (Level &l0, CCField v, bool ritz) |
| void | eigSeedRhs (Level &l0, CCField srhs, CCConst seed) |
| void | eigApplyT (Level &l0, CCField out, CCField in, CCField w) |
| double | eigNormalize (Level &l0, CCField x) |
| double | eigSeed (Level &l0, CCField x, CCField src) |
| void | eigKeep (CCField &dst, CCField x, const char *label, std::size_t n) |
| double | eigPowerMax (Level &l0, CCField v, CCField w, CCField z, int iters) |
| double | eigPowerMin (Level &l0, CCField v, CCField w, CCField z, int iters, double shift) |
| void | eigBracket (double shift, double mu, double &lmin, double &lmax) |
| void | estimateEigenvalues (CCConst seed, double &lmin, double &lmax, int iters, int pre, int post, int bottom, EigenStart start=EigenStart::Cold, double bracket=1.0) |
| void | debugSetEigenScale (double s) |
| int | solveChebyshev (CCField b, CCField x, int maxit, double rtol, int pre, int post, int bottom, double a, double bnd, bool guard3=false, bool guardGrowth=false) |
| void | setStopReference (double ref) |
| void | setZeroInitialGuess (bool on) |
| void | setProjectedGuess (CCField v1, int hist) |
| void | clearProjectedGuess () |
| long | numEigenEstimates () const |
| bool | chebyshevGuardTripped () const |
| double | rhsNorm (CCField b, CCField scratch) |
| double | residualNorm (CCField b, CCField x, CCField r, CCField Ap) |
| double | cgTrueResidual (CCField b, CCField x, CCField r, CCField Ap, const StarOverlay *star=nullptr, int nStar=0, C3 nnStar=C3{0, 0, 0}) |
| double | dot (Level &lv, CCField a, CCField b) |
| void | dotPair (Level &lv, CCField a, CCField b, CCField c, double &ab, double &ac) |
| double | maxabs (Level &lv, CCField a) |
| double | maxabsWithLocalSum (Level &lv, CCField a, Kokkos::View< double, PinnedHost > part, double &sum) |
| double | maxabsLocal (Level &lv, CCField a) |
| void | removeMeanHostCounted (Level &lv, CCField f, bool stopGuard) |
| void | meanSumHostCounted (Level &lv, CCField f) |
| void | meanSubtractHostCounted (Level &lv, CCField f, bool stopGuard) |
| void | removeMeanDotTo (Level &lv, int k, CCField p) |
| void | removeMean (Level &lv, CCField f, bool stopGuard=false) |
| bool | globalMean (Level &lv, double sum, long cnt, double &mean) |
| bool | distKrylovFusion () const |
| double | pcgUpdateMeanMaxDist (Level &l0, CCField x, CCField r, CCField p, CCField Ap, double alpha) |
| double | removeMeanDotDist (Level &lv) |
| double | precondDotDist (CCField z, CCField r) |
| void | setMeanRemovalScope (bool all) |
| double | allreduceSeconds () const |
| long | allreduceCount () const |
| bool | lastSolveFailed () |
| void | resetAllreduceCounters () |
| void | setAgglomerationMode (int mode) |
| void | setAgglomerationExtent (int cells) |
| int | agglomerationExtent () const |
| void | setTelescope (bool on) |
| void | setCoarseGhost (bool on) |
| Neumann coarse ghost on wall/inflow faces before the prolongation (see bcGhost_). | |
| bool | coarseGhost () const |
| void | setAspectThreshold (double theta) |
| Anisotropic-coarsening aspect threshold theta (see aspectTheta_). | |
| void | setLineRelaxation (bool on) |
| A2.4 (doc/mg_depth_policy.md, WO-7): zebra line relaxation along the blocked strong axis on the triggered smoothed levels (A2.3); default on. | |
| bool | lineRelaxation () const |
| void | setSymmetricVcycle (bool on) |
| A3 (doc/mg_depth_policy.md Amendment A3, WO-S1): the symmetric pressure V-cycle – piecewise-constant prolongation P = c R^T of the average restriction on every transfer (FP64, FP32, the FP32 <- FP64 bottom interface, the telescope transition; no coarse-ghost refresh before it) and the palindromic smoothed bottom: the DEFAULT since WO-S3. | |
| bool | symmetricVcycle () const |
| double | aspectThreshold () const |
| void | setCommAvoiding (int mask) |
| Communication-avoiding smoothing mask (kCaMomentum | kCaMg); only kCaMg is read here. | |
| int | commAvoiding () const |
| void | setStrictPressure (bool on) |
| Throw instead of reporting when the preconditioner returns a non-finite correction. | |
| bool | strictPressure () const |
| void | setExactResidual (bool on) |
| The exact double flux-form level-0 apply in the residual and the Krylov matvec. | |
| bool | exactResidual () const |
| void | setOutflowCoefficient (bool on) |
| bool | outflowCoefficient () const |
| int | telescopeCount () const |
| int | repartitionCount () const |
| C3 | coarsestGlobal () const |
| bool | telescope () const |
| void | setTelescopeForceLevel (int L) |
| void | setTelescopeMinExtent (int e) |
| void | setRepartition (bool on) |
| Repartition stages for a weighted level-0 decomposition (see repartition_); before initMpi. | |
| bool | repartition () const |
| int | localLevels () const |
| int | agglomerationMode () const |
| void | setGraphAmgBottom (bool on) |
| void | setBottomSolver (int m) |
| int | bottomSolver () const |
| bool | bottomConnected () const |
| int | bottomComponents () const |
| void | bottomForceForTest () |
| const BottomPlanes & | directPlanes () const |
| template<class FR> | |
| BottomDirect< FR > | directFactorForTest (int team, double tauPiv0=kBottomPivotTol, int *Tused=nullptr, bool teamAlgorithm=false) |
| template<class FR> | |
| int | directApplyForTest (const BottomDirect< FR > &D, CCField z, CCField r, int team, bool noMean=false, bool teamAlgorithm=false) |
| int | directSolveForTest () |
| int | directSolveTeamForTest (int team, int *Tused=nullptr) |
| int | directRestarts () const |
| void | directPivotTolForTest (double t) |
| void | directMarkStaleForTest () |
Static Public Member Functions | |
| static C3 | parityOg (const Level &lv) |
| static C3 | mgChooseRatio (const double H[3], const bool canA[3], bool aniso, double theta) |
| static int | lineAxisTrigger (int L, C3 g, C3 cf, const double hp[3], double theta, const int bc[6], double *aspect) |
| static bool | canHalve (int d) |
| static bool | touchesGlobalFace (const Level &lv, int f) |
| static C3 | boxLo (int g, int m) |
| static C3 | boxHi (C3 e, int g, int m) |
| static void | allocLine (Level &v) |
| static bool | bottomAdmissible (C3 g, int extent, bool anchored, int agglomMode, const int bc[6]) |
| static std::string | depthRequestLabel (int nLevels) |
| static const char * | bottomLabelWhy (int code) |
| template<class K> | |
| static int | directTeam (const K &k, int team, bool probe, std::size_t scratch=0, int hostTeam=kBottomHostTeam) |
| static double | amgDot (const std::vector< double > &a, const std::vector< double > &c, std::size_t n) |
| static double | symTridiagTop (int m, const double *d, const double *e, double *y) |
Public Attributes | |
| Kokkos::View< double *, CCMem > | ks_ |
| Kokkos::View< long, CCMem > | kcnt_ |
| Kokkos::View< double *, PinnedHost > | kpk_ |
| Kokkos::View< double *, PinnedHost > | kgp_ |
| Kokkos::View< double, PinnedHost > | krd_ |
| Kokkos::View< double, PinnedHost > | kcz_ |
| ExitDot | exitDot_ |
| ExitDotDist | exitDotDist_ |
Static Public Attributes | |
| static constexpr int | G = 1 |
| static constexpr int | kNSlots = 16 |
| static constexpr int | kGuessPacket = 6 |
| static constexpr int | kPacket = 4 |
| static constexpr double | kBrkPAp = 1.0 |
| static constexpr double | kBrkRz = 2.0 |
| static constexpr bool | kHostMemory |
| static constexpr double | kChebSymShift = 1.15 |
| static constexpr double | kChebBracket = 1.15 |
| static constexpr int | kLanczosSteps = 10 |
| static constexpr double | kLanczosTol = 1e-3 |
Definition at line 1094 of file mac_cutcell_mg.hpp.
| using peclet::flow::CutcellMG::PinnedHost = Kokkos::SharedHostPinnedSpace |
Definition at line 2755 of file mac_cutcell_mg.hpp.
| anonymous enum : int |
| Enumerator | |
|---|---|
| kPAp | |
| kRn | |
| kStop | |
| kBottomFlag | |
| kRz | |
| kRzNew | |
| kBeta | |
| kAlpha | |
| kMsum | |
| kGRref | |
| kG11 | |
| kG12 | |
| kG22 | |
| kGb1 | |
| kGb2 | |
| kChebRz | |
Definition at line 2725 of file mac_cutcell_mg.hpp.
| anonymous enum : int |
| Enumerator | |
|---|---|
| kVcycleAuto | |
| kVcycleFp64 | |
| kVcycleFp32 | |
Definition at line 4256 of file mac_cutcell_mg.hpp.
|
strong |
| Enumerator | |
|---|---|
| Cold | |
| ColdKeep | |
| Warm | |
Definition at line 6563 of file mac_cutcell_mg.hpp.
| anonymous enum : int |
| Enumerator | |
|---|---|
| kBottomAuto | |
| kBottomDirect | |
| kBottomAlgebraic | |
Definition at line 8026 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 5724 of file mac_cutcell_mg.hpp.
References joinPrefactor().
Definition at line 1224 of file mac_cutcell_mg.hpp.
Referenced by lineSmoothColor(), lineSmoothColorFp32(), precondVcycleFp32(), smooth(), and smoothFp32().
|
inlinestatic |
Definition at line 1246 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::ScalarMG::chooseRatio(), peclet::flow::VelocityMG::init(), and levelRatio().
|
inlinestatic |
Definition at line 1284 of file mac_cutcell_mg.hpp.
References canHalve().
Referenced by assignLineAxes().
|
inline |
Definition at line 1303 of file mac_cutcell_mg.hpp.
References lineAxisTrigger().
Referenced by init().
|
inline |
Per-axis cell spacings h_a' = h_a / hRef of the physical domain (doc/anisotropic_metric.md §1.1).
Call BEFORE init/initMpi (trap 5): the level table is built there, long before setOpenness, and the aspect rule of §5 needs the metric at that point. The default (1, 1, 1) is the isotropic / cell-unit path, on which the rule is inert BY CONSTRUCTION (aniso_ is false, so mgChooseRatio returns today's decision verbatim).
Definition at line 1314 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
The per-level coarsening ratio actually chosen (the level table of §5, gate §8.5).
Definition at line 1320 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Definition at line 1330 of file mac_cutcell_mg.hpp.
References allocFp64(), assignLineAxes(), bottomAdmissibleHere(), buildBottomStore(), canHalve(), computeFp32Last(), depthRequestLabel(), G, joinPrefactor(), peclet::flow::kAutoMaxLevels, peclet::flow::kAutoMinLevels, levelRatio(), lineAxisLabel(), peclet::flow::mgDebugLevel(), nLevels(), printDepthCensus(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by main(), and peclet_flow_fp32_problems::setUp().
|
inlinestatic |
Definition at line 1737 of file mac_cutcell_mg.hpp.
Referenced by init(), and lineAxisTrigger().
Definition at line 1740 of file mac_cutcell_mg.hpp.
References mgChooseRatio(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by init().
|
inline |
Definition at line 2089 of file mac_cutcell_mg.hpp.
Referenced by depthRequestLabel(), init(), main(), mgChecks(), and printDepthCensus().
|
inline |
Definition at line 2093 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 2094 of file mac_cutcell_mg.hpp.
Referenced by init().
|
inline |
Definition at line 2105 of file mac_cutcell_mg.hpp.
Referenced by main(), mgChecks(), mgSolve(), setupAndSolve(), solveSteps(), and solveSteps().
|
inline |
Definition at line 2110 of file mac_cutcell_mg.hpp.
Referenced by configure(), main(), peclet_flow_fp32_problems::setUp(), and solveSteps().
Definition at line 2126 of file mac_cutcell_mg.hpp.
References peclet::flow::bcZeroPressureGhost(), G, and touchesGlobalFace().
Referenced by gpMatvec(), graphAmgSolveBottom(), initialResidual(), lineSmoothColor(), matvecOverlap(), smooth(), vcycleFp32Impl(), and vcycleImpl().
Definition at line 2156 of file mac_cutcell_mg.hpp.
References applyNeumannGhostT(), and G.
Referenced by vcycleFp32Impl(), and vcycleImpl().
Definition at line 2158 of file mac_cutcell_mg.hpp.
References applyNeumannGhostT(), and G.
|
inline |
Definition at line 2160 of file mac_cutcell_mg.hpp.
References peclet::flow::bcNeumannGhostT(), and touchesGlobalFace().
Referenced by applyNeumannGhost(), and applyNeumannGhost().
|
inlinestatic |
Definition at line 2173 of file mac_cutcell_mg.hpp.
Referenced by applyBoundaryOpennessFrom(), applyNeumannGhostT(), applyOutflowGhost(), and saveOutflowPlanes().
Definition at line 2184 of file mac_cutcell_mg.hpp.
References applyBoundaryOpennessFrom().
Referenced by buildGlobalBottomOp(), and setOpenness().
|
inline |
Definition at line 2196 of file mac_cutcell_mg.hpp.
References peclet::flow::bcSetOpenness(), peclet::flow::mgCoarsenFacePlane(), peclet::flow::mgRestoreFacePlane(), and touchesGlobalFace().
Referenced by applyBoundaryOpenness(), and setOpenness().
|
inline |
Definition at line 2230 of file mac_cutcell_mg.hpp.
References peclet::flow::mgSaveFacePlane(), and touchesGlobalFace().
Referenced by setOpenness().
|
inline |
Definition at line 2249 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3(), and kHostMemory.
Referenced by ensureFp64(), and setOpenness().
|
inline |
Definition at line 2272 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3(), and kHostMemory.
Referenced by ensureFp64(), and setOpenness().
|
inline |
Definition at line 2293 of file mac_cutcell_mg.hpp.
References kHostMemory.
Referenced by copyDotTo(), dot(), dotPair(), dotTo(), matvecDotTo(), matvecGuessDots(), maxabsLocal(), maxabsTo(), and projectedGuess().
|
inline |
Definition at line 2301 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 2305 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 2309 of file mac_cutcell_mg.hpp.
References allocFp64(), applyBoundaryOpenness(), applyBoundaryOpennessFrom(), peclet::flow::buildCutcellOpFace(), peclet::flow::buildCutcellOpFaceFp32(), buildGlobalBottomOp(), checkFp32DecoupledSets(), peclet::flow::coarsenOpenAvg(), evalBottomComponents(), peclet::flow::CutcellMG::Level::ext, fillOpenness(), fp32Build(), fp32RangeFlag(), fp64Deferrable(), G, peclet::flow::CutcellMG::Level::g, joinPrefactor(), kHostMemory, peclet::flow::kOpFp64Diag, peclet::flow::kOpFp64Full, peclet::flow::kOpFp64None, noteFluidCells(), noteFluidCellsDevice(), peclet::flow::CutcellMG::Level::ox, peclet::flow::CutcellMG::Level::oy, peclet::flow::CutcellMG::Level::oz, peclet::flow::CutcellMG::Level::ratio, and saveOutflowPlanes().
Referenced by main(), mgSolve(), peclet_flow_fp32_problems::setUp(), setupAndSolve(), setupAndSolve(), solveSteps(), and solveSteps().
|
inline |
Definition at line 2455 of file mac_cutcell_mg.hpp.
Referenced by main(), mgSolve(), setupAndSolve(), setupAndSolve(), solveSteps(), and solveSteps().
|
inline |
Definition at line 2471 of file mac_cutcell_mg.hpp.
References commRank(), fp32Carriable(), fp32Reconfigure(), fp64Deferrable(), and kVcycleAuto.
|
inline |
Definition at line 2509 of file mac_cutcell_mg.hpp.
References fp32VcycleSolve().
Referenced by solveFCGAttempt(), solvePCGAttempt(), and solvePCGResident().
|
inline |
Definition at line 2523 of file mac_cutcell_mg.hpp.
References restartArmed(), and peclet::flow::CutcellMG::Level::x.
Referenced by solveFCGAttempt(), solvePCGAttempt(), and solvePCGResident().
|
inline |
Definition at line 2538 of file mac_cutcell_mg.hpp.
Referenced by guessTraceExit(), noteBicgExit(), solveChebyshev(), solveFCGAttempt(), solvePCGAttempt(), and solveWithRestart().
|
inline |
Definition at line 2548 of file mac_cutcell_mg.hpp.
References axpy(), guessMatvec(), maxabs(), and removeMean().
Referenced by startResidual().
|
inline |
Definition at line 2559 of file mac_cutcell_mg.hpp.
Referenced by solveFCGAttempt(), solvePCGAttempt(), and solvePCGResident().
|
inline |
Definition at line 2566 of file mac_cutcell_mg.hpp.
References dot(), guessMatvec(), and removeMean().
Referenced by solveFCGAttempt(), and solvePCGAttempt().
|
inline |
Definition at line 2575 of file mac_cutcell_mg.hpp.
References axpy(), maxabs(), pcgUpdateMeanMaxDist(), and removeMean().
Referenced by solveFCGAttempt(), and solvePCGAttempt().
Definition at line 2584 of file mac_cutcell_mg.hpp.
References removeMean(), and peclet::flow::CutcellMG::Level::x.
Referenced by solveFCGAttempt(), and solvePCGAttempt().
|
inline |
Definition at line 2591 of file mac_cutcell_mg.hpp.
Referenced by solveFCGAttempt(), and solvePCGAttempt().
|
inline |
Definition at line 2601 of file mac_cutcell_mg.hpp.
Referenced by residentPacketExit(), solveFCGAttempt(), and solvePCGAttempt().
|
inline |
Definition at line 2615 of file mac_cutcell_mg.hpp.
References dot(), precondDotDist(), precondVcycle(), precondVcycleFp32(), and readSlot().
Referenced by solvePCGAttempt().
|
inline |
Definition at line 2639 of file mac_cutcell_mg.hpp.
References armStopTest(), aypx(), beginAttemptPrecision(), cgConverged(), cgUpdate(), commRank(), distKrylovFusion(), failNonFiniteZ(), finalRemoveMean(), guessTraceExit(), kRz, kRzNew, matvecPAp(), peclet::flow::mgDebugLevel(), peclet::flow::mgDebugSolves(), pApBreakdown(), pcgPrecondRz(), solvePCGResident(), startResidual(), and peclet::flow::CutcellMG::Level::x.
|
inline |
Definition at line 2760 of file mac_cutcell_mg.hpp.
References kcnt_, kcz_, kgp_, kGuessPacket, kNSlots, kPacket, kpk_, krd_, and ks_.
Referenced by makeBottomKernel(), precondVcycleFp32(), projectedGuess(), removeMean(), solveChebyshev(), and solvePCGResident().
|
inline |
Definition at line 2770 of file mac_cutcell_mg.hpp.
References ks_.
Referenced by copyDotTo(), dotTo(), exitFp32(), matvecDotTo(), matvecGuessDots(), maxabsTo(), meanSubtractMaxTo(), meanSumHostCounted(), pcgUpdateSum(), readSlot(), removeMean(), removeMeanDotTo(), setSlot(), solveChebyshev(), and workVector().
|
inline |
Definition at line 2773 of file mac_cutcell_mg.hpp.
Referenced by firstPrecondRz(), lastSolveFailed(), noteHealth(), pcgPrecondRz(), and solvePCGResident().
|
inline |
Definition at line 2778 of file mac_cutcell_mg.hpp.
References slot().
Referenced by noteBottomFlag(), residentAlpha(), residentPrecondRz(), and solvePCGResident().
Definition at line 2781 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), hostAllFluid(), and slot().
Referenced by copyDotTo(), matvecDotPAp(), projectedGuess(), residentPrecondRz(), and solveChebyshev().
|
inline |
Definition at line 2811 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), dotTo(), fusedWrapSmooth(), hostAllFluid(), kHostMemory, and slot().
Referenced by firstPrecondRz().
|
inline |
Definition at line 2845 of file mac_cutcell_mg.hpp.
References fusedWrapReads(), G, peclet::flow::CutcellMG::Level::g, kHostMemory, and peclet::flow::CutcellMG::Level::nFluid.
Referenced by solveFCGAttempt(), and solvePCGResident().
Definition at line 2852 of file mac_cutcell_mg.hpp.
References AC, peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::AFX, peclet::flow::CutcellMG::Level::AFY, peclet::flow::CutcellMG::Level::AFZ, peclet::flow::ccReduce3Lanes(), peclet::flow::ccWrapNbrs(), peclet::flow::cutcellApplyExactCell(), peclet::flow::cutcellApplyFaceCell(), ensureFp64(), peclet::flow::CutcellMG::Level::ext, G, hostAllFluid(), peclet::flow::CutcellMG::Level::inner, peclet::flow::CutcellMG::Level::ox, peclet::flow::CutcellMG::Level::oy, peclet::flow::CutcellMG::Level::oz, and slot().
Referenced by matvecDotPAp().
|
inline |
Definition at line 2901 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::allFluid, peclet::flow::ccReduce3Lanes(), peclet::flow::CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::g, kAlpha, kMsum, ks_, kStop, and slot().
Referenced by residentUpdate().
Definition at line 2925 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3(), kMsum, ks_, kStop, mean(), peclet::flow::meanSubtractCell(), and slot().
Referenced by residentUpdate().
Definition at line 2952 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3(), hostAllFluid(), and slot().
Referenced by projectedGuess(), and residentUpdate().
|
inline |
Definition at line 2984 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 2993 of file mac_cutcell_mg.hpp.
References AC, peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::AFX, peclet::flow::CutcellMG::Level::AFY, peclet::flow::CutcellMG::Level::AFZ, peclet::flow::ccReduce3Lanes(), peclet::flow::ccWrapNbrs(), peclet::flow::cutcellApplyExactCell(), peclet::flow::cutcellApplyFaceCell(), ensureFp64(), peclet::flow::CutcellMG::Level::ext, G, hostAllFluid(), peclet::flow::CutcellMG::Level::inner, peclet::flow::CutcellMG::Level::ox, peclet::flow::CutcellMG::Level::oy, peclet::flow::CutcellMG::Level::oz, and slot().
Referenced by projectedGuess().
|
inline |
Definition at line 3060 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::ext, G, matvecOverlap(), and peclet::flow::starApplyDelta().
Referenced by guessResidual(), guessTraceExit(), initialResidual(), matvecDotPAp(), matvecPAp(), and projectedGuess().
|
inline |
Definition at line 3065 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::ccFor3(), dotTo(), ensureScalars(), peclet::flow::CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::g, guessMatvec(), hostAllFluid(), kG11, kG12, kG22, kGb1, kGb2, kgp_, kGRref, kGuessPacket, ks_, matvecGuessDots(), maxabs(), maxabsTo(), and removeMean().
Referenced by startResidual().
|
inline |
Definition at line 3163 of file mac_cutcell_mg.hpp.
Referenced by startResidual().
|
inline |
Definition at line 3171 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, axpy(), peclet::flow::ccReduce3(), commRank(), dot(), peclet::flow::CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::g, guessMatvec(), maxabs(), and removeMean().
Referenced by solveFCGAttempt(), solvePCGAttempt(), and solvePCGResident().
|
inline |
Definition at line 3217 of file mac_cutcell_mg.hpp.
References applyOutflowGhost(), axpy(), fill(), fusedWrapReads(), guessMatvec(), maxabs(), and removeMean().
Referenced by startResidual().
|
inline |
Definition at line 3244 of file mac_cutcell_mg.hpp.
References guessResidual(), guessTraceSave(), initialResidual(), peclet::flow::mgDebugLevel(), peclet::flow::mgDebugSolves(), and projectedGuess().
Referenced by solveFCGAttempt(), solvePCGAttempt(), and solvePCGResident().
|
inline |
Definition at line 3265 of file mac_cutcell_mg.hpp.
References dotTo(), guessMatvec(), kPAp, matvecDotTo(), and removeMean().
Referenced by solvePCGResident().
|
inline |
Definition at line 3278 of file mac_cutcell_mg.hpp.
References kRzNew, and readSlot().
Referenced by residentPrecondRz().
|
inline |
Definition at line 3290 of file mac_cutcell_mg.hpp.
References exitDot_, precondVcycle(), and precondVcycleFp32().
Referenced by firstPrecondRz(), and residentPrecondRz().
|
inline |
Definition at line 3303 of file mac_cutcell_mg.hpp.
References copyDotTo(), fusedWrapSmooth(), kHostMemory, kRz, precondDotTo(), and readSlot().
Referenced by solvePCGResident().
|
inline |
Definition at line 3313 of file mac_cutcell_mg.hpp.
References kAlpha, kBrkPAp, kPAp, kRz, ks_, kStop, and setSlot().
Referenced by solvePCGResident().
|
inline |
Definition at line 3332 of file mac_cutcell_mg.hpp.
References kAlpha, kRn, ks_, kStop, maxabsTo(), meanSubtractMaxTo(), pcgUpdateSum(), and removeMean().
Referenced by solvePCGResident().
|
inline |
Definition at line 3355 of file mac_cutcell_mg.hpp.
References cgConverged(), kBrkPAp, kBrkRz, kPacket, kpk_, ks_, and noteBottomFlag().
Referenced by solvePCGResident().
|
inline |
Definition at line 3376 of file mac_cutcell_mg.hpp.
References dot(), dotTo(), kRzNew, noteHealth(), precondDotTo(), and setSlot().
Referenced by solvePCGResident().
Definition at line 3388 of file mac_cutcell_mg.hpp.
References kBeta, kBrkRz, kRz, kRzNew, ks_, and kStop.
Referenced by solvePCGResident().
|
inline |
Definition at line 3408 of file mac_cutcell_mg.hpp.
References armStopTest(), beginAttemptPrecision(), ensureScalars(), exitDot_, failNonFiniteZ(), firstPrecondRz(), guessTraceExit(), hostKrylovFusion(), kBrkRz, kStop, matvecDotPAp(), peclet::flow::mgDebugLevel(), peclet::flow::mgDebugSolves(), readSlot(), removeMean(), residentAlpha(), residentBetaAypx(), residentPacketExit(), residentPrecondRz(), residentUpdate(), setSlot(), and startResidual().
Referenced by solvePCGAttempt().
|
inline |
Definition at line 3499 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Definition at line 3510 of file mac_cutcell_mg.hpp.
References dot(), precondDotDist(), precondVcycle(), and precondVcycleFp32().
Referenced by solveFCGAttempt().
|
inline |
Definition at line 3532 of file mac_cutcell_mg.hpp.
Referenced by solveFCGAttempt().
|
inline |
Definition at line 3540 of file mac_cutcell_mg.hpp.
References armStopTest(), aypx(), beginAttemptPrecision(), cgConverged(), cgUpdate(), commRank(), distKrylovFusion(), dot(), failNonFiniteZ(), fcgNotePr(), fcgPrecondRz(), finalRemoveMean(), guessTraceExit(), hostKrylovFusion(), matvecPAp(), peclet::flow::mgDebugLevel(), peclet::flow::mgDebugSolves(), pApBreakdown(), startResidual(), and peclet::flow::CutcellMG::Level::x.
|
inline |
Definition at line 3610 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::AFX, peclet::flow::CutcellMG::Level::AFY, peclet::flow::CutcellMG::Level::AFZ, peclet::flow::applyCutcellOpFace(), applyOutflowGhost(), peclet::flow::CutcellMG::Level::ext, fill(), G, and peclet::flow::gpApplyDelta().
Definition at line 3635 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::rhs, vcycle(), and peclet::flow::CutcellMG::Level::x.
|
inline |
Definition at line 3647 of file mac_cutcell_mg.hpp.
References commRank(), peclet::flow::mgDebugLevel(), and peclet::flow::mgDebugSolves().
|
inline |
Definition at line 3673 of file mac_cutcell_mg.hpp.
Definition at line 4011 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::caOk, peclet::flow::CutcellMG::Level::rhs, vcycle(), and peclet::flow::CutcellMG::Level::x.
Referenced by eigApplyT(), fcgPrecondRz(), lanczosTop(), main(), pcgPrecondRz(), precondDotDist(), precondDotTo(), and solveChebyshev().
|
inline |
Definition at line 4027 of file mac_cutcell_mg.hpp.
References ensureFp64(), fp32VcycleIneligible(), kVcycleFp32, peclet::flow::mgDebugLevel(), requireDirectBottom(), and vcycleImpl().
Referenced by precondVcycle(), precondVcycleCopy(), vcycleFp32Impl(), and vcycleImpl().
|
inline |
Definition at line 4060 of file mac_cutcell_mg.hpp.
References agglomerateBottom(), applyNeumannGhost(), applyOutflowGhost(), boxHi(), boxLo(), directBottomIneligible(), directBottomSolve(), exitDot_, exitDotDist_, fill(), fusedWrapReads(), graphAmgSolveBottom(), kBottomAlgebraic, kBottomDirect, peclet::flow::prolongAdd(), peclet::flow::prolongConstAdd(), removeMean(), removeMeanDotDist(), removeMeanDotTo(), peclet::flow::residualCutcellBoxFace(), peclet::flow::residualCutcellFace(), peclet::flow::residualCutcellFaceWrap(), peclet::flow::restrictAvg(), peclet::flow::restrictAvgZeroX(), smooth(), and vcycle().
Referenced by vcycle().
|
inline |
Definition at line 4216 of file mac_cutcell_mg.hpp.
Referenced by smooth().
|
inlinestatic |
Definition at line 4220 of file mac_cutcell_mg.hpp.
Referenced by matvecOverlap(), smooth(), and vcycleImpl().
Definition at line 4223 of file mac_cutcell_mg.hpp.
Referenced by matvecOverlap(), smooth(), and vcycleImpl().
|
inline |
Definition at line 4246 of file mac_cutcell_mg.hpp.
Referenced by fusedWrapSmooth(), hostKrylovFusion(), initialResidual(), matvecOverlap(), and vcycleImpl().
|
inline |
Definition at line 4247 of file mac_cutcell_mg.hpp.
References fusedWrapReads().
Referenced by copyDotTo(), firstPrecondRz(), fp32VcycleIneligible(), lineSmoothColor(), and smooth().
|
inline |
Definition at line 4262 of file mac_cutcell_mg.hpp.
References kHostMemory, kVcycleAuto, and kVcycleFp64.
Referenced by fp32Mode().
|
inline |
Definition at line 4265 of file mac_cutcell_mg.hpp.
References effectiveVprec(), and kVcycleFp64.
Referenced by fp32Build(), fp32VcycleSolve(), and fp64Deferrable().
|
inline |
Definition at line 4270 of file mac_cutcell_mg.hpp.
References peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by fp32Build(), fp32Reconfigure(), fp64Deferrable(), setExactResidual(), setMeanRemovalScope(), and solveWithRestart().
|
inline |
Definition at line 4300 of file mac_cutcell_mg.hpp.
References fp32Carriable(), and fp32Mode().
Referenced by buildFp32Weights(), ensureFp64(), and setOpenness().
|
inline |
Definition at line 4343 of file mac_cutcell_mg.hpp.
References allocLine().
Referenced by ensureFp64(), init(), and setOpenness().
|
inlinestatic |
Definition at line 4357 of file mac_cutcell_mg.hpp.
Referenced by allocFp64().
|
inline |
Definition at line 4368 of file mac_cutcell_mg.hpp.
References fp32Carriable(), and fp32Mode().
Referenced by fp32Reconfigure(), setExactResidual(), setMeanRemovalScope(), setOpenness(), setVcyclePrecision(), and solveWithRestart().
|
inline |
Definition at line 4376 of file mac_cutcell_mg.hpp.
Referenced by buildFp32Weights(), ensureFp64(), and setOpenness().
|
inline |
Definition at line 4386 of file mac_cutcell_mg.hpp.
Referenced by checkFp32DecoupledSets(), and fp32VcycleIneligible().
|
inline |
Definition at line 4415 of file mac_cutcell_mg.hpp.
References buildFp32Weights(), fp32Carriable(), fp64Deferrable(), and releaseFp64().
Referenced by setExactResidual(), setMeanRemovalScope(), and solveWithRestart().
|
inline |
Definition at line 4425 of file mac_cutcell_mg.hpp.
References allocFp64(), peclet::flow::buildCutcellOpFace(), peclet::flow::buildCutcellOpFaceFp32(), fp32Build(), fp32RangeFlag(), peclet::flow::kOpFp64Full, noteFluidCells(), and noteFluidCellsDevice().
Referenced by fp32DecoupledCounts(), matvecDotTo(), matvecGuessDots(), matvecOverlap(), and vcycle().
|
inline |
Definition at line 4452 of file mac_cutcell_mg.hpp.
Referenced by fp32Reconfigure(), and setVcyclePrecision().
|
inline |
Definition at line 4476 of file mac_cutcell_mg.hpp.
References peclet::flow::buildCutcellOpFaceFp32(), checkFp32DecoupledSets(), fp32Build(), fp32RangeFlag(), and peclet::flow::kOpFp64None.
Referenced by fp32Reconfigure(), and setVcyclePrecision().
|
inline |
Definition at line 4498 of file mac_cutcell_mg.hpp.
References fp32Mode(), fp32VcycleIneligible(), and kVcycleFp32.
Referenced by beginAttemptPrecision().
|
inline |
Definition at line 4512 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4513 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4519 of file mac_cutcell_mg.hpp.
References ensureScalars(), peclet::flow::entryFp32(), exitFp32(), peclet::flow::CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::g, parityOg(), requireDirectBottom(), peclet::flow::CutcellMG::Level::rhsf, vcycleFp32Impl(), peclet::flow::CutcellMG::Level::WX, peclet::flow::CutcellMG::Level::WY, peclet::flow::CutcellMG::Level::WZ, and peclet::flow::CutcellMG::Level::xf.
Referenced by fcgPrecondRz(), pcgPrecondRz(), and precondDotTo().
|
inline |
Definition at line 4539 of file mac_cutcell_mg.hpp.
References peclet::flow::cutcellSmoothColorFp32Wrap(), lineRelaxOn(), lineSmoothColorFp32(), and parityOg().
Referenced by vcycleFp32Impl().
|
inline |
Definition at line 4559 of file mac_cutcell_mg.hpp.
References applyNeumannGhost(), applyOutflowGhost(), fill(), fillWrap(), peclet::flow::prolongConstFp32(), peclet::flow::prolongConstFp32FromD(), peclet::flow::prolongFp32(), peclet::flow::prolongFp32FromD(), peclet::flow::residualFp32Wrap(), peclet::flow::restrictFp32ToDZeroX(), peclet::flow::restrictFp32ZeroX(), smoothFp32(), vcycle(), and vcycleFp32Impl().
Referenced by precondVcycleFp32(), and vcycleFp32Impl().
|
inline |
Definition at line 4726 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::allFluid, peclet::flow::ccFor3(), peclet::flow::ccReduce3Lanes(), peclet::flow::CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::g, kcnt_, kHostMemory, kMsum, ks_, peclet::flow::CutcellMG::Level::nFluid, peclet::flow::CutcellMG::Level::nFluidDev, peclet::flow::CutcellMG::Level::nFluidDevValid, slot(), and peclet::flow::CutcellMG::Level::xf.
Referenced by precondVcycleFp32().
|
inline |
Definition at line 4819 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4822 of file mac_cutcell_mg.hpp.
Referenced by solveSteps().
|
inline |
Definition at line 4823 of file mac_cutcell_mg.hpp.
References buildFp32Weights(), fp64Deferrable(), kVcycleAuto, kVcycleFp32, kVcycleFp64, and releaseFp64().
Referenced by main(), peclet_flow_fp32_problems::setUp(), and solveSteps().
|
inline |
Definition at line 4834 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4836 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Definition at line 4839 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4840 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4841 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4845 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 4851 of file mac_cutcell_mg.hpp.
References kVcycleAuto.
Referenced by failNonFiniteZ().
|
inline |
Definition at line 4854 of file mac_cutcell_mg.hpp.
References AC, peclet::flow::ccReduce3(), and ensureFp64().
Referenced by checkFp32DecoupledSets().
|
inline |
Definition at line 4877 of file mac_cutcell_mg.hpp.
References fp32DecoupledCounts(), and fp32WeightsOk().
Referenced by buildFp32Weights(), and setOpenness().
|
inline |
Definition at line 4891 of file mac_cutcell_mg.hpp.
References fp32WeightsOk(), and fusedWrapSmooth().
Referenced by fp32VcycleSolve(), and vcycle().
|
inline |
Definition at line 4951 of file mac_cutcell_mg.hpp.
Referenced by smooth(), and smoothFp32().
|
inline |
Definition at line 4955 of file mac_cutcell_mg.hpp.
Referenced by lineSmoothColor(), and lineSmoothColorFp32().
|
inline |
Definition at line 4959 of file mac_cutcell_mg.hpp.
References applyOutflowGhost(), fill(), fusedWrapSmooth(), linePeriodic(), peclet::flow::lineRelaxColorFace(), and parityOg().
Referenced by smooth().
|
inline |
Definition at line 4984 of file mac_cutcell_mg.hpp.
References linePeriodic(), peclet::flow::lineRelaxColorFp32(), and parityOg().
Referenced by smoothFp32().
|
inline |
Definition at line 5003 of file mac_cutcell_mg.hpp.
References applyOutflowGhost(), boxHi(), boxLo(), caSmooth(), peclet::flow::cutcellSmoothColorBoxFace(), peclet::flow::cutcellSmoothColorFace(), peclet::flow::cutcellSmoothColorFaceWrap(), fill(), fusedWrapSmooth(), lineRelaxOn(), lineSmoothColor(), and parityOg().
Referenced by vcycleImpl().
|
inline |
Definition at line 5109 of file mac_cutcell_mg.hpp.
References agglomerateAuto().
Referenced by directBottomIneligible(), lineSmoothedLevels(), main(), and vcycleImpl().
|
inline |
Definition at line 5126 of file mac_cutcell_mg.hpp.
Referenced by agglomerateBottom(), and directBottomIneligibleAll().
|
inlinestatic |
Definition at line 5151 of file mac_cutcell_mg.hpp.
References peclet::flow::bottomChoosePlanes(), peclet::flow::kAnchoredFollowsGrid, peclet::flow::kBottomMaxCells, and peclet::flow::BottomPlanes::valid().
Referenced by bottomAdmissibleHere().
|
inline |
Definition at line 5163 of file mac_cutcell_mg.hpp.
References bottomAdmissible().
Referenced by init(), and printDepthCensus().
|
inlinestatic |
Definition at line 5166 of file mac_cutcell_mg.hpp.
References nLevels().
Referenced by init(), and printDepthCensus().
|
inline |
Definition at line 5173 of file mac_cutcell_mg.hpp.
References bottomAdmissibleHere(), depthRequestLabel(), peclet::flow::kAutoMinLevels, lineSmoothedLevels(), and nLevels().
Referenced by init().
|
inline |
Definition at line 5207 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 5214 of file mac_cutcell_mg.hpp.
References agglomerateBottom().
Referenced by printDepthCensus().
|
inline |
Definition at line 5224 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::lineAxis, and peclet::flow::CutcellMG::Level::strongAspect.
Referenced by init().
|
inline |
Definition at line 5244 of file mac_cutcell_mg.hpp.
References agglomerateBottom(), bottomLabelCode(), bottomLabelWhy(), peclet::flow::kBottomMaxCells, and kHostMemory.
Referenced by directBottomIneligibleAll(), directPrefactorEligible(), and vcycleImpl().
|
inline |
Definition at line 5258 of file mac_cutcell_mg.hpp.
Referenced by directBottomIneligible().
|
inlinestatic |
Definition at line 5269 of file mac_cutcell_mg.hpp.
Referenced by directBottomIneligible(), and directBottomIneligibleAll().
|
inline |
Definition at line 5288 of file mac_cutcell_mg.hpp.
References agglomerateAuto(), bottomLabelWhy(), directBottomIneligible(), peclet::flow::kBottomMaxCells, and kHostMemory.
Referenced by requireDirectBottom().
|
inline |
Definition at line 5304 of file mac_cutcell_mg.hpp.
References directBottomIneligibleAll(), and kBottomDirect.
Referenced by precondVcycleFp32(), and vcycle().
|
inline |
Definition at line 5343 of file mac_cutcell_mg.hpp.
References peclet::flow::BottomDirect< FacReal >::allocate(), peclet::flow::bottomChoosePlanes(), bottomLv(), buildGlobalBottomLevel(), joinPrefactor(), peclet::flow::kBottomMaxCells, peclet::flow::kBottomMaxComponents, and kHostMemory.
Referenced by bottomForceForTest(), and init().
|
inline |
Definition at line 5378 of file mac_cutcell_mg.hpp.
Referenced by buildBottomStore(), directBottomSolve(), directFactorForTest(), evalBottomComponents(), launchDirectFactor(), and makeBottomKernel().
|
inline |
Definition at line 5379 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 5390 of file mac_cutcell_mg.hpp.
References peclet::flow::kBottomMaxCells, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by buildBottomStore().
|
inline |
Definition at line 5447 of file mac_cutcell_mg.hpp.
Referenced by buildGlobalBottomOp(), gatherGlobalBottomRhs(), and scatterGlobalBottomX().
|
inline |
Definition at line 5456 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::AFX, peclet::flow::CutcellMG::Level::AFY, peclet::flow::CutcellMG::Level::AFZ, applyBoundaryOpenness(), peclet::flow::buildCutcellOpFace(), peclet::flow::CutcellMG::Level::cfac, peclet::flow::CutcellMG::Level::ext, fillLocal(), peclet::flow::CutcellMG::Level::g, gbIndex(), peclet::flow::CutcellMG::Level::ox, peclet::flow::CutcellMG::Level::oy, peclet::flow::CutcellMG::Level::oz, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by setOpenness().
|
inline |
Definition at line 5509 of file mac_cutcell_mg.hpp.
References gbIndex().
Referenced by directBottomSolve().
|
inline |
Definition at line 5531 of file mac_cutcell_mg.hpp.
References gbIndex().
Referenced by directBottomSolve().
|
inline |
Definition at line 5551 of file mac_cutcell_mg.hpp.
References bottomLv(), peclet::flow::kBottomMaxComponents, and peclet::flow::mgDebugLevel().
Referenced by bottomForceForTest(), and setOpenness().
|
inline |
Definition at line 5584 of file mac_cutcell_mg.hpp.
References bottomLv(), ensureScalars(), kBottomFlag, and ks_.
Referenced by launchDirectKernel().
|
inline |
Definition at line 5614 of file mac_cutcell_mg.hpp.
References kBottomFlag, and setSlot().
Referenced by lastSolveFailed(), and residentPacketExit().
|
inlinestatic |
Definition at line 5626 of file mac_cutcell_mg.hpp.
References peclet::flow::kBottomHostTeam, and kHostMemory.
Referenced by launchDirectFactor(), and launchDirectKernel().
|
inline |
Definition at line 5642 of file mac_cutcell_mg.hpp.
References bottomLv(), directTeam(), peclet::flow::kBottomHostFactorTeam, and peclet::flow::BottomFactorKernel< FacReal, OpV >::scratchBytes().
Referenced by directBottomSolve(), directFactorForTest(), directSolveTeamForTest(), main(), and prefactorBottom().
|
inline |
Definition at line 5670 of file mac_cutcell_mg.hpp.
References directTeam(), and makeBottomKernel().
Referenced by directApplyForTest(), directBottomSolve(), and directSolveTeamForTest().
|
inline |
Definition at line 5693 of file mac_cutcell_mg.hpp.
References directBottomIneligible(), kBottomAlgebraic, and kHostMemory.
Referenced by prefactorBottom().
|
inline |
Definition at line 5701 of file mac_cutcell_mg.hpp.
References directPrefactorEligible(), kHostMemory, and launchDirectFactor().
|
inline |
Definition at line 5716 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 5717 of file mac_cutcell_mg.hpp.
Referenced by buildBottomStore(), directBottomSolve(), directFactorForTest(), directMarkStaleForTest(), directRestarts(), directSolveTeamForTest(), init(), setOpenness(), and ~CutcellMG().
|
inline |
Definition at line 5728 of file mac_cutcell_mg.hpp.
References bottomLv(), gatherGlobalBottomRhs(), joinPrefactor(), launchDirectFactor(), launchDirectKernel(), peclet::flow::mgDebugLevel(), peclet::flow::mgDebugSolves(), and scatterGlobalBottomX().
Referenced by directSolveForTest(), and vcycleImpl().
|
inline |
Definition at line 5769 of file mac_cutcell_mg.hpp.
References amgAssembleCsr(), amgBottomDims(), amgLabelComponents(), amgLocalRows(), peclet::flow::CutcellMG::AmgRows::gid, printAmgBuildCensus(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by graphAmgSolveBottom().
|
inline |
Definition at line 5798 of file mac_cutcell_mg.hpp.
Referenced by buildAmg().
Definition at line 5809 of file mac_cutcell_mg.hpp.
References amgCellCouplings(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by buildAmg().
|
inline |
Definition at line 5842 of file mac_cutcell_mg.hpp.
References peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by amgLocalRows().
|
inline |
Definition at line 5884 of file mac_cutcell_mg.hpp.
Referenced by buildAmg().
|
inline |
Definition at line 5915 of file mac_cutcell_mg.hpp.
Referenced by buildAmg().
|
inline |
Definition at line 5963 of file mac_cutcell_mg.hpp.
Referenced by buildAmg().
|
inline |
Definition at line 6002 of file mac_cutcell_mg.hpp.
References applyOutflowGhost(), buildAmg(), fill(), maxabs(), pcgAmg(), and peclet::flow::residualCutcellFace().
Referenced by vcycleImpl().
|
inline |
Definition at line 6072 of file mac_cutcell_mg.hpp.
Referenced by pcgAmg().
|
inline |
Definition at line 6101 of file mac_cutcell_mg.hpp.
Referenced by pcgAmg().
|
inlinestatic |
Definition at line 6128 of file mac_cutcell_mg.hpp.
Referenced by amgReport(), and pcgAmg().
|
inline |
|
inline |
Definition at line 6163 of file mac_cutcell_mg.hpp.
References amgDot(), amgMeanZero(), amgReport(), and amgRhsAnatomy().
Referenced by graphAmgSolveBottom().
Definition at line 6235 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::CutcellMG::Level::AFX, peclet::flow::CutcellMG::Level::AFY, peclet::flow::CutcellMG::Level::AFZ, peclet::flow::applyCutcellOpBoxFace(), peclet::flow::applyCutcellOpExact(), peclet::flow::applyCutcellOpExactBox(), peclet::flow::applyCutcellOpExactWrap(), peclet::flow::applyCutcellOpFace(), peclet::flow::applyCutcellOpFaceWrap(), applyOutflowGhost(), boxHi(), boxLo(), ensureFp64(), peclet::flow::CutcellMG::Level::ext, fill(), fusedWrapReads(), G, peclet::flow::CutcellMG::Level::inner, peclet::flow::CutcellMG::Level::ox, peclet::flow::CutcellMG::Level::oy, peclet::flow::CutcellMG::Level::oz, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by eigApplyT(), guessMatvec(), lanczosTop(), main(), residualNorm(), and solveChebyshev().
Definition at line 6284 of file mac_cutcell_mg.hpp.
References fillLocal().
Referenced by fillOpenness(), gpMatvec(), graphAmgSolveBottom(), initialResidual(), lineSmoothColor(), matvecOverlap(), smooth(), vcycleFp32Impl(), and vcycleImpl().
Definition at line 6295 of file mac_cutcell_mg.hpp.
References fillAxis(), and fillWrap().
Referenced by buildGlobalBottomOp(), and fill().
Definition at line 6309 of file mac_cutcell_mg.hpp.
References fillWrap().
|
inline |
Definition at line 6327 of file mac_cutcell_mg.hpp.
References G, and peclet::flow::hostRunSerial().
Referenced by fill(), fillLocal(), and vcycleFp32Impl().
|
inline |
Definition at line 6474 of file mac_cutcell_mg.hpp.
Referenced by cgUpdate(), guessResidual(), guessTraceExit(), initialResidual(), lanczosTop(), main(), residualNorm(), and solveChebyshev().
Definition at line 6482 of file mac_cutcell_mg.hpp.
Referenced by solveFCGAttempt(), and solvePCGAttempt().
|
inline |
Definition at line 6490 of file mac_cutcell_mg.hpp.
Referenced by eigNormalize(), and lanczosTop().
Definition at line 6498 of file mac_cutcell_mg.hpp.
Referenced by eigPowerMin(), lanczosTop(), and solveChebyshev().
Definition at line 6507 of file mac_cutcell_mg.hpp.
Referenced by eigApplyT(), eigSeed(), and lanczosTop().
Definition at line 6522 of file mac_cutcell_mg.hpp.
Referenced by eigSeedRhs().
|
inline |
Definition at line 6548 of file mac_cutcell_mg.hpp.
References slot().
Referenced by estimateEigenvalues(), lanczosTop(), and solveChebyshev().
|
inline |
Definition at line 6573 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 6579 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 6580 of file mac_cutcell_mg.hpp.
Definition at line 6581 of file mac_cutcell_mg.hpp.
Definition at line 6600 of file mac_cutcell_mg.hpp.
References axpy(), dot(), kLanczosSteps, kLanczosTol, lin(), maskSolid(), matvecOverlap(), peclet::flow::CutcellMG::Level::n, precondVcycle(), removeMean(), scale(), symTridiagTop(), and workVector().
Referenced by estimateEigenvalues().
|
inlinestatic |
Definition at line 6680 of file mac_cutcell_mg.hpp.
References kLanczosSteps.
Referenced by lanczosTop().
Definition at line 6733 of file mac_cutcell_mg.hpp.
References addSeedNoise(), and maxabs().
Referenced by estimateEigenvalues().
Definition at line 6742 of file mac_cutcell_mg.hpp.
References maskSolid(), matvecOverlap(), precondVcycle(), and removeMean().
Referenced by eigPowerMax(), and eigPowerMin().
Definition at line 6749 of file mac_cutcell_mg.hpp.
References dot(), and scale().
Referenced by eigPowerMax(), eigPowerMin(), and eigSeed().
Definition at line 6756 of file mac_cutcell_mg.hpp.
References eigNormalize(), maskSolid(), and removeMean().
Referenced by estimateEigenvalues().
|
inline |
Definition at line 6763 of file mac_cutcell_mg.hpp.
Referenced by estimateEigenvalues().
|
inline |
Definition at line 6770 of file mac_cutcell_mg.hpp.
References dot(), dotPair(), eigApplyT(), and eigNormalize().
Referenced by estimateEigenvalues().
|
inline |
Definition at line 6793 of file mac_cutcell_mg.hpp.
References dot(), eigApplyT(), eigNormalize(), and lin().
Referenced by estimateEigenvalues().
|
inline |
Definition at line 6806 of file mac_cutcell_mg.hpp.
Referenced by estimateEigenvalues().
|
inline |
Definition at line 6824 of file mac_cutcell_mg.hpp.
References Cold, eigBracket(), eigKeep(), eigPowerMax(), eigPowerMin(), eigSeed(), eigSeedRhs(), kChebSymShift, lanczosTop(), peclet::flow::CutcellMG::Level::n, Warm, and workVector().
|
inline |
Definition at line 6875 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 6896 of file mac_cutcell_mg.hpp.
References axpy(), commRank(), dotTo(), ensureScalars(), kChebRz, kcz_, lin(), matvecOverlap(), maxabs(), maxabsWithLocalSum(), peclet::flow::mgDebugLevel(), peclet::flow::mgDebugSolves(), peclet::flow::CutcellMG::Level::n, precondVcycle(), removeMean(), slot(), and workVector().
|
inline |
Definition at line 6995 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::solveBalancedForceSystem().
|
inline |
Definition at line 6998 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::projectSolve().
|
inline |
Definition at line 7005 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7009 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::projectSolve().
|
inline |
Definition at line 7015 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7017 of file mac_cutcell_mg.hpp.
Definition at line 7019 of file mac_cutcell_mg.hpp.
References maxabs(), and removeMean().
Definition at line 7026 of file mac_cutcell_mg.hpp.
References axpy(), matvecOverlap(), maxabs(), and removeMean().
|
inline |
Definition at line 7042 of file mac_cutcell_mg.hpp.
Definition at line 7057 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), and hostAllFluid().
Referenced by eigNormalize(), eigPowerMax(), eigPowerMin(), fcgPrecondRz(), guessTraceExit(), lanczosTop(), main(), matvecPAp(), pcgPrecondRz(), precondDotDist(), residentPrecondRz(), and solveFCGAttempt().
|
inline |
Definition at line 7089 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), and hostAllFluid().
Referenced by eigPowerMax().
Definition at line 7114 of file mac_cutcell_mg.hpp.
References maxabsLocal().
Referenced by cgUpdate(), eigSeedRhs(), graphAmgSolveBottom(), guessResidual(), guessTraceExit(), initialResidual(), main(), projectedGuess(), residualNorm(), rhsNorm(), and solveChebyshev().
|
inline |
Definition at line 7125 of file mac_cutcell_mg.hpp.
References maxabsLocal().
Referenced by solveChebyshev().
Definition at line 7164 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3(), and hostAllFluid().
Referenced by maxabs(), and maxabsWithLocalSum().
|
inline |
Definition at line 7198 of file mac_cutcell_mg.hpp.
References meanSubtractHostCounted(), and meanSumHostCounted().
Referenced by removeMean().
Definition at line 7203 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), kMsum, and slot().
Referenced by removeMeanDotTo(), and removeMeanHostCounted().
|
inline |
Definition at line 7228 of file mac_cutcell_mg.hpp.
References peclet::flow::ccFor3(), kMsum, ks_, kStop, mean(), and peclet::flow::meanSubtractCell().
Referenced by removeMeanHostCounted().
Definition at line 7253 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), kMsum, ks_, mean(), peclet::flow::meanSubtractCell(), meanSumHostCounted(), and slot().
Referenced by vcycleImpl().
Definition at line 7284 of file mac_cutcell_mg.hpp.
References peclet::flow::ccFor3(), peclet::flow::ccReduce3Lanes(), ensureScalars(), globalMean(), kcnt_, kHostMemory, kMsum, ks_, kStop, mean(), peclet::flow::meanSubtractCell(), removeMeanHostCounted(), and slot().
Referenced by cgUpdate(), eigApplyT(), eigSeed(), finalRemoveMean(), guessResidual(), guessTraceExit(), initialResidual(), lanczosTop(), main(), matvecDotPAp(), matvecPAp(), projectedGuess(), residentUpdate(), residualNorm(), rhsNorm(), solveChebyshev(), solvePCGResident(), and vcycleImpl().
|
inline |
Definition at line 7354 of file mac_cutcell_mg.hpp.
References mean().
Referenced by pcgUpdateMeanMaxDist(), removeMean(), and removeMeanDotDist().
|
inline |
Definition at line 7377 of file mac_cutcell_mg.hpp.
References kHostMemory.
Referenced by solveFCGAttempt(), and solvePCGAttempt().
|
inline |
Definition at line 7388 of file mac_cutcell_mg.hpp.
References peclet::flow::CutcellMG::Level::AC, peclet::flow::ccReduce3(), peclet::flow::ccReduce3Lanes(), peclet::flow::CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::g, globalMean(), mean(), and peclet::flow::meanSubtractCell().
Referenced by cgUpdate().
|
inline |
Definition at line 7435 of file mac_cutcell_mg.hpp.
References peclet::flow::ccReduce3Lanes(), globalMean(), mean(), and peclet::flow::meanSubtractCell().
Referenced by vcycleImpl().
Definition at line 7475 of file mac_cutcell_mg.hpp.
References dot(), exitDotDist_, and precondVcycle().
Referenced by fcgPrecondRz(), and pcgPrecondRz().
|
inline |
Definition at line 7499 of file mac_cutcell_mg.hpp.
References fp32Carriable(), fp32Reconfigure(), and fp64Deferrable().
|
inline |
Definition at line 7508 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7509 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7515 of file mac_cutcell_mg.hpp.
References kBottomFlag, noteBottomFlag(), and readSlot().
Referenced by main().
|
inline |
Definition at line 7520 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7775 of file mac_cutcell_mg.hpp.
Referenced by configure(), and main().
|
inline |
Definition at line 7776 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7777 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7778 of file mac_cutcell_mg.hpp.
Referenced by configure(), main(), and solveSteps().
|
inline |
Neumann coarse ghost on wall/inflow faces before the prolongation (see bcGhost_).
Definition at line 7780 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7781 of file mac_cutcell_mg.hpp.
|
inline |
Anisotropic-coarsening aspect threshold theta (see aspectTheta_).
Definition at line 7783 of file mac_cutcell_mg.hpp.
|
inline |
A2.4 (doc/mg_depth_policy.md, WO-7): zebra line relaxation along the blocked strong axis on the triggered smoothed levels (A2.3); default on.
Off is the point RB-GS smoother bit for bit. Read at smoothing time; a change invalidates the kept Chebyshev eigenvalue vectors.
Definition at line 7787 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Definition at line 7792 of file mac_cutcell_mg.hpp.
|
inline |
A3 (doc/mg_depth_policy.md Amendment A3, WO-S1): the symmetric pressure V-cycle – piecewise-constant prolongation P = c R^T of the average restriction on every transfer (FP64, FP32, the FP32 <- FP64 bottom interface, the telescope transition; no coarse-ghost refresh before it) and the palindromic smoothed bottom: the DEFAULT since WO-S3.
Off is the trilinear prolongation and the forward bottom bit for bit. Read at V-cycle time; a change invalidates the kept Chebyshev eigenvalue vectors.
Definition at line 7799 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Definition at line 7804 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7805 of file mac_cutcell_mg.hpp.
|
inline |
Communication-avoiding smoothing mask (kCaMomentum | kCaMg); only kCaMg is read here.
Definition at line 7807 of file mac_cutcell_mg.hpp.
Referenced by mgChecks(), and solveSteps().
|
inline |
Definition at line 7808 of file mac_cutcell_mg.hpp.
|
inline |
Throw instead of reporting when the preconditioner returns a non-finite correction.
Definition at line 7810 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7811 of file mac_cutcell_mg.hpp.
|
inline |
The exact double flux-form level-0 apply in the residual and the Krylov matvec.
Definition at line 7813 of file mac_cutcell_mg.hpp.
References fp32Carriable(), fp32Reconfigure(), and fp64Deferrable().
Referenced by solveSteps().
|
inline |
Definition at line 7818 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7822 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7823 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 7827 of file mac_cutcell_mg.hpp.
Referenced by main(), and solveSteps().
|
inline |
Definition at line 7836 of file mac_cutcell_mg.hpp.
Referenced by main(), and solveSteps().
|
inline |
Definition at line 7844 of file mac_cutcell_mg.hpp.
Referenced by main(), and solveSteps().
|
inline |
Definition at line 8008 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8009 of file mac_cutcell_mg.hpp.
Referenced by configure(), main(), and solveSteps().
|
inline |
Definition at line 8010 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Repartition stages for a weighted level-0 decomposition (see repartition_); before initMpi.
Definition at line 8012 of file mac_cutcell_mg.hpp.
Referenced by configure(), and main().
|
inline |
Definition at line 8013 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8016 of file mac_cutcell_mg.hpp.
Referenced by main(), solveSteps(), and solveSteps().
|
inline |
Definition at line 8017 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8018 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8027 of file mac_cutcell_mg.hpp.
Referenced by solveSteps().
|
inline |
Definition at line 8028 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8032 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8033 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8034 of file mac_cutcell_mg.hpp.
References buildBottomStore(), and evalBottomComponents().
Referenced by main().
|
inline |
Definition at line 8048 of file mac_cutcell_mg.hpp.
Referenced by main().
|
inline |
Definition at line 8050 of file mac_cutcell_mg.hpp.
References peclet::flow::BottomDirect< FacReal >::allocate(), bottomLv(), joinPrefactor(), peclet::flow::kBottomPivotTol, and launchDirectFactor().
Referenced by main().
|
inline |
Definition at line 8061 of file mac_cutcell_mg.hpp.
References launchDirectKernel().
Referenced by main().
|
inline |
Definition at line 8067 of file mac_cutcell_mg.hpp.
References directBottomSolve().
Referenced by main().
|
inline |
Definition at line 8076 of file mac_cutcell_mg.hpp.
References joinPrefactor(), launchDirectFactor(), and launchDirectKernel().
|
inline |
Definition at line 8091 of file mac_cutcell_mg.hpp.
References joinPrefactor().
|
inline |
Definition at line 8096 of file mac_cutcell_mg.hpp.
|
inline |
Definition at line 8102 of file mac_cutcell_mg.hpp.
References joinPrefactor().
|
staticconstexpr |
Definition at line 1219 of file mac_cutcell_mg.hpp.
Referenced by applyNeumannGhost(), applyNeumannGhost(), applyOutflowGhost(), fillAxis(), fillWrap(), gpMatvec(), guessMatvec(), hostKrylovFusion(), init(), matvecDotTo(), matvecGuessDots(), matvecOverlap(), and setOpenness().
|
staticconstexpr |
Definition at line 2746 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars().
|
staticconstexpr |
Definition at line 2747 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), and projectedGuess().
|
staticconstexpr |
Definition at line 2748 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), and residentPacketExit().
|
staticconstexpr |
Definition at line 2749 of file mac_cutcell_mg.hpp.
Referenced by residentAlpha(), and residentPacketExit().
|
static |
Definition at line 2749 of file mac_cutcell_mg.hpp.
Referenced by residentBetaAypx(), residentPacketExit(), and solvePCGResident().
| Kokkos::View<double*, CCMem> peclet::flow::CutcellMG::ks_ |
Definition at line 2750 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), exitFp32(), makeBottomKernel(), meanSubtractHostCounted(), meanSubtractMaxTo(), pcgUpdateSum(), projectedGuess(), removeMean(), removeMeanDotTo(), residentAlpha(), residentBetaAypx(), residentPacketExit(), residentUpdate(), and slot().
| Kokkos::View<long, CCMem> peclet::flow::CutcellMG::kcnt_ |
Definition at line 2751 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), exitFp32(), and removeMean().
| Kokkos::View<double*, PinnedHost> peclet::flow::CutcellMG::kpk_ |
Definition at line 2756 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), and residentPacketExit().
| Kokkos::View<double*, PinnedHost> peclet::flow::CutcellMG::kgp_ |
Definition at line 2757 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), and projectedGuess().
| Kokkos::View<double, PinnedHost> peclet::flow::CutcellMG::krd_ |
Definition at line 2758 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), and readSlot().
| Kokkos::View<double, PinnedHost> peclet::flow::CutcellMG::kcz_ |
Definition at line 2759 of file mac_cutcell_mg.hpp.
Referenced by ensureScalars(), and solveChebyshev().
| ExitDot peclet::flow::CutcellMG::exitDot_ |
Definition at line 2844 of file mac_cutcell_mg.hpp.
Referenced by precondDotTo(), solvePCGResident(), and vcycleImpl().
|
staticconstexpr |
Definition at line 5237 of file mac_cutcell_mg.hpp.
Referenced by buildBottomStore(), copyDotTo(), directBottomIneligible(), directBottomIneligibleAll(), directPrefactorEligible(), directTeam(), distKrylovFusion(), effectiveVprec(), exitFp32(), firstPrecondRz(), hostAllFluid(), hostKrylovFusion(), noteFluidCells(), noteFluidCellsDevice(), prefactorBottom(), removeMean(), and setOpenness().
|
staticconstexpr |
Definition at line 6566 of file mac_cutcell_mg.hpp.
Referenced by estimateEigenvalues().
|
staticconstexpr |
Definition at line 6571 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::solveBalancedForceSystem(), and peclet::flow::Solver< Grid >::solvePressureSystem().
|
staticconstexpr |
Definition at line 6598 of file mac_cutcell_mg.hpp.
Referenced by lanczosTop(), and symTridiagTop().
|
staticconstexpr |
Definition at line 6599 of file mac_cutcell_mg.hpp.
Referenced by lanczosTop().
| ExitDotDist peclet::flow::CutcellMG::exitDotDist_ |
Definition at line 7474 of file mac_cutcell_mg.hpp.
Referenced by precondDotDist(), and vcycleImpl().