|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Namespaces | |
| namespace | varrho |
| namespace | binding_checks |
| namespace | bindings |
| namespace | scd |
| namespace | bcdetail |
| namespace | ccdetail |
| namespace | scg |
| namespace | sco |
| namespace | skr |
| The device slots of the resident pass, and the stop codes (exact in double). | |
| namespace | smg |
| namespace | vof |
Classes | |
| class | AndersonAccelerator |
| struct | IbmOverlayT |
| struct | UniformFaceProps |
| struct | FieldFaceProps |
| struct | VarFaceProps |
| class | Solver |
| class | FlowReference |
| struct | GpOverlayT |
| Per-overlay-row SoA. More... | |
| struct | GpRowCensus |
| Row/face census of the overlay: face-state counts, the theta and rho histograms and the max |closure weight| per row (QUAD/LIN faces only, both weight sets). More... | |
| struct | GpRhoMismatch |
| Neighbour rho mismatch: the row scaling is a LEFT diagonal scaling of a nonsymmetric operator, so a row whose rho differs sharply from its neighbours' has coefficients a_ij / a_ji differing by that ratio. More... | |
| struct | Staggered |
| struct | Colocated |
| struct | B3 |
| struct | BcVelFace |
| struct | BcVelFaces |
| struct | ChebCoeffs |
| The Chebyshev coefficient recurrence (Golub-Varga; the form multigrid Chebyshev smoothers use). More... | |
| struct | C3 |
| class | HostSerialRegion |
| struct | CcNbrs |
| struct | BottomLevel |
| struct | BottomLabelKernel |
| struct | BottomKernel |
| class | CutcellMG |
| struct | Off3 |
| class | MgPoisson |
| struct | Ext3 |
| struct | SumMax |
| {sum, max|.|} reduction value. More... | |
| struct | I3 |
| struct | T3 |
| class | VelocityMG |
| struct | BottomPlanes |
| struct | BottomDirect |
| struct | BottomFactorKernel |
| struct | LineRowFp64 |
| struct | LineRowFp32 |
| struct | LineScratchGlobal |
| struct | LineScratchLocal |
| struct | Closure |
| struct | ScalarWallSpec |
| Wall condition per body (§1.1, §8.1 set_scalar_wall), in the caller's PHYSICAL units; the conversion to internal units is done at advance time (§1.2). More... | |
| struct | ScalarCutState |
| The per-cut-cell-scalar state (ScalarField::cut). More... | |
| struct | ScalarKrylovResult |
| Outcome of one scalarBiCGStab call. More... | |
| struct | ScalarVec |
| A Krylov vector (§5.1): the fluid field and, for a conjugate scalar, the solid field (WO-7). More... | |
| struct | ScalarKrylovOps |
| The injected pieces as callables (host-side calls that launch kernels; the overhead of the indirection is nothing next to a block-wide kernel). More... | |
| class | ScalarMG |
| struct | ScalarField |
| struct | StarOverlay |
| One entry per eliminated solid-centered cell: packed INNER flat index + the apertures of its (up to 6) faces to FLUID-CENTERED axis neighbours (order: +x,-x,+y,-y,+z,-z; 0 where the neighbour is solid-centered or the face is closed). More... | |
Typedefs | |
| using | IMem = Kokkos::DefaultExecutionSpace::memory_space |
| template<class Real> | |
| using | IbmOverlayReal = IbmOverlayT<IMem, Real> |
| using | IbmSolver = Solver<Staggered> |
| using | RegMask = Kokkos::View<std::uint8_t*, CCMem> |
| Per-component regular-node mask (§5.4): 1 = a velocity node with neither a solid nor a cut row. | |
| using | RegConst = Kokkos::View<const std::uint8_t*, CCMem> |
| template<class Real> | |
| using | GpOverlayReal = GpOverlayT<CCMem, Real> |
| using | GpOverlay = GpOverlayReal<float> |
| template<class Real> | |
| using | GpOverlayHost = GpOverlayT<Kokkos::HostSpace, Real> |
| The report's host view of an overlay: the first nRows rows of every array it reads (w_bc is not read and stays empty). | |
| using | MConst = Kokkos::View<const float*, CCMem> |
| using | BExec = Kokkos::DefaultExecutionSpace |
| using | BMem = BExec::memory_space |
| using | BField = Kokkos::View<double*, BMem> |
| using | CCExec = Kokkos::DefaultExecutionSpace |
| using | CCMem = CCExec::memory_space |
| using | CCField = Kokkos::View<double*, CCMem> |
| using | CCConst = Kokkos::View<const double*, CCMem> |
| using | MReal = float |
| using | FPV = Kokkos::View<MReal*, CCMem> |
| using | FPC = Kokkos::View<const MReal*, CCMem> |
| using | VReal = float |
| using | mreal = MReal |
| using | IbmOverlay = IbmOverlayT<IMem, mreal> |
| using | GpOverlayMReal = GpOverlayReal<mreal> |
| using | Exec = Kokkos::DefaultExecutionSpace |
| using | Mem = Exec::memory_space |
| using | DField = Kokkos::View<double*, Mem> |
| using | DConst = Kokkos::View<const double*, Mem> |
| using | SExec = Kokkos::DefaultExecutionSpace |
| using | SMem = SExec::memory_space |
| using | SField = Kokkos::View<double*, SMem> |
| using | SConst = Kokkos::View<const double*, SMem> |
| using | TExec = Kokkos::DefaultExecutionSpace |
| using | TMem = TExec::memory_space |
| using | TField = Kokkos::View<double*, TMem> |
| using | TConst = Kokkos::View<const double*, TMem> |
| using | VField = Kokkos::View<VReal*, CCMem> |
| using | VConst = Kokkos::View<const VReal*, CCMem> |
| template<class Exec> | |
| using | MDRange2 |
| 2-D range, first index fastest (both the tile order and the order within a tile). | |
| template<class Exec> | |
| using | MDRange3 |
| 3-D range, x (the first index) fastest (both the tile order and the order within a tile). | |
Enumerations | |
| enum | : int { kOpFp64None = 0 , kOpFp64Diag = 1 , kOpFp64Full = 2 } |
| enum | : int { kCaMomentum = 1 , kCaMg = 2 , kCaBoth = kCaMomentum | kCaMg } |
| enum class | ClosureKind { LinearMix , BoussinesqForce , ArrheniusMu , Table1D } |
| enum class | ScalarBc { Periodic = 0 , Neumann = 1 , Dirichlet = 2 } |
Functions | |
| void | buildFaceAccelVar (CCField af, CCConst P, CCConst rho, CCConst fb, bool haveFb, bool haveRho, double rhoC, double fc, bool incr, double scale, long s, C3 e, int g, double wa=1.0) |
| void | addFaceAccelCsf (CCField af, CCConst cv, CCConst kp, CCConst kb, CCConst rho, bool haveRho, double rhoC, double sigma, double hGrad, double scale, long s, C3 e, int g) |
| void | centerToFaceMassWeighted (CCField uf, CCField vf, CCField wf, CCConst U, CCConst V, CCConst W, CCConst rho, C3 e, int g) |
| void | correctCellFaceAverageVar (CCField u, CCConst phi, CCConst rho, CCConst o, bool haveRho, double rho0, long s, C3 e, int g, double wa=1.0) |
| template<class Real> | |
| Real | poly_D (Real xi) |
| template<class Real> | |
| Real | poly_N_nb (Real xi) |
| template<class Real> | |
| Real | poly_Nc (Real xi) |
| template<class Real> | |
| Real | poly_Nbc (Real) |
| template<class Real> | |
| Real | poly_D_avg (Real xi) |
| template<class Real> | |
| Real | poly_Nnb_avg (Real xi) |
| template<class Real> | |
| Real | poly_Nc_avg (Real xi) |
| template<class Real> | |
| Real | poly_Nbc_avg (Real) |
| template<class Real> | |
| Real | poly_D_slip (Real xi, Real lam) |
| template<class Real> | |
| Real | poly_N_nb_slip (Real xi, Real lam) |
| template<class Real> | |
| Real | poly_Nc_slip (Real xi, Real lam) |
| template<class Real> | |
| Real | poly_D_sandwich (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_N_c_sandwich (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_Nbc_pp_sw (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_Nbc_mp_sw (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_D_sandwich_avg (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_N_c_sandwich_avg (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_Nbc_pp_sw_avg (Real xi_m, Real xi_p) |
| template<class Real> | |
| Real | poly_Nbc_mp_sw_avg (Real xi_m, Real xi_p) |
| template<int SCHEME, class OV> | |
| void | ibmFillEntry (const OV &o, int list_idx, int c_idx, typename OV::value_type sdf_c, const typename OV::value_type sdf_n[6], int bc_type, const typename OV::value_type *thEx, const typename OV::value_type *lamAxis=nullptr, int *sandwichSkipped=nullptr) |
| template<int SCHEME, class OV> | |
| void | ibmFillEntry (const OV &o, int list_idx, int c_idx, typename OV::value_type sdf_c, const typename OV::value_type sdf_n[6], int bc_type) |
| template<class MV> | |
| void | ibmBuildDiffusion (MV AC, MV AW, MV AE, MV AS, MV AN, MV AB, MV AT, int ex, int ey, int ez, double bx, double by, double bz, double idiag) |
| template<class MV> | |
| void | ibmBuildDiffusion (MV AC, MV AW, MV AE, MV AS, MV AN, MV AB, MV AT, int ex, int ey, int ez, double beta, double idiag) |
| template<class FaceProps, class MV> | |
| void | ibmBuildDiffusionVar (MV AC, MV AW, MV AE, MV AS, MV AN, MV AB, MV AT, int ex, int ey, int ez, int g, FaceProps fp, double wx=1.0, double wy=1.0, double wz=1.0) |
| template<class MV, class OV> | |
| void | ibmModifyStencil (MV AC, MV AW, MV AE, MV AS, MV AN, MV AB, MV AT, Kokkos::View< double *, IMem > a_inhom, Kokkos::View< double *, IMem > rhs_scale, const OV &ibm, int numActive, typename OV::value_type u_bc_val, Kokkos::View< const double *, IMem > u_bc=Kokkos::View< const double *, IMem >()) |
| void | gpDecouplePockets (std::vector< double > &work, int nx, int ny, int nz, bool verbose) |
| template<class FaceProps, bool kSolid> | |
| void | addFullStressRhs (int c, CCField bb, CCConst rs, const CCConst(&v)[3], FaceProps fp, C3 e, int g, double wc, bool skipLoC, const RegConst(®)[3]={RegConst(), RegConst(), RegConst()}) |
| Add rs_c · T_c(uⁿ) to the momentum RHS bb of component c over the inner cells [g, e−g)³. | |
| void | muRangeInner (CCConst mu, C3 e, int g, double &lo, double &hi) |
| The local min and max of mu over [g−1, e−g+1)³ — the inner cells plus the one ghost ring the transpose term reads (§4.3 step 2). | |
| void | gpCenterGrad (CCField out, CCConst p, CCConst sdf, int axis, C3 e, int g, double wa=1.0) |
| Directional cell-center gradient (collocated ghost path) of a cell field p whose solid-centered rows are DECOUPLED (hold 0): central difference where both axis neighbours are fluid-centered; 2nd-order one-sided toward the fluid where a neighbour center is solid ((-3p_i + 4p_{i+1} - p_{i+2})/2, falling back to the 2-point one-sided when the +/-2 cell is solid too); 0 when sandwiched. | |
| template<class Real = float> | |
| GpOverlayReal< Real > | gpMakeOverlay (long n) |
| int | gpWrap (int v, int n) |
| template<class Real> | |
| int | buildGpOverlay (CCConst sdf, C3 ext, int g, C3 nn, const GpOverlayReal< Real > &ov, Kokkos::View< int *, CCMem > idMap, Kokkos::View< int, CCMem > counter, int matrixOrder=2, int rhsOrder=2, CCConst tx=CCConst(), CCConst ty=CCConst(), CCConst tz=CCConst(), bool useGhost=false) |
| Build the overlay over the inner grid nn from the cell-centered sdf on the extended block (ext, ghost width g). | |
| void | gpBinaryOpenness (CCField ox, CCField oy, CCField oz, CCConst sdf, C3 ext) |
| Binary openness for the symmetric MG surrogate, on the extended-block layout of buildOpenness: o(face) = 1 iff the face point is fluid AND both adjacent cell centers are fluid, else 0. | |
| template<class Real> | |
| void | gpApplyDelta (CCField y, CCConst x, const GpOverlayReal< Real > &ov, int nOv, C3 nn, C3 extY, int gbY, C3 extX, int gbX, bool useGhost=false) |
| Overlay matvec correction: y(r) = rho_r * (y(r) + closure-face phi terms), where y currently holds the binary-openness (COUPLED-part) matvec. | |
| template<class Real> | |
| void | gpDivergDelta (CCField d, CCConst u, CCConst v, CCConst w, const GpOverlayReal< Real > &ov, int nOv, C3 nn, C3 extb, int gb, bool useGhost=false) |
| Overlay divergence correction: d(r) = rho_r * (d(r) + closure/BC/explicit face values), where d currently holds the binary-openness divergence (divergOpen on the binary fields: COUPLED faces only). | |
| int | gpDebugLevel () |
| 0 = off (default). Read once per call; cheap enough, and keeps the flag hot-swappable in tests. | |
| template<class Real> | |
| GpOverlayHost< Real > | gpOverlayRowsToHost (const GpOverlayReal< Real > &ov, int nRows) |
| template<class Real> | |
| float | gpRowFaceCensus (const GpOverlayHost< Real > &h, int s, GpRowCensus &c) |
| Face census of row s into c; returns the row's max |closure weight|. | |
| template<class Real> | |
| GpRowCensus | gpRowCensus (const GpOverlayHost< Real > &h, int nRows) |
| template<class Real> | |
| GpRhoMismatch | gpRhoMismatch (const GpOverlayHost< Real > &h, int nRows, C3 nn, Kokkos::View< int *, Kokkos::HostSpace > hId) |
| void | gpPrintCensus (int rank, int nRows, long nInner, const GpRowCensus &c, const GpRhoMismatch &m) |
| template<class Real> | |
| void | gpPrintWorstRows (const GpOverlayHost< Real > &h, int nRows, C3 nn, const GpRowCensus &c, const GpRhoMismatch &m) |
| The 20 worst rows by rho, with their full face anatomy. | |
| template<class Real> | |
| void | gpDumpRows (const GpOverlayHost< Real > &h, int nRows, C3 nn, int rank) |
| PECLET_FLOW_GP_DEBUG=2: every overlay row to <PECLET_FLOW_GP_DEBUG_FILE>_rank<r>.bin (record layout in the file header). | |
| template<class Real> | |
| void | gpDebugReport (const GpOverlayReal< Real > &ov, int nRows, C3 nn, Kokkos::View< int *, CCMem > idMap, int rank=0) |
| Census + optional per-row dump of the built overlay. | |
| void | centerToFace (CCField uf, CCField vf, CCField wf, CCConst U, CCConst V, CCConst W, C3 e, int g) |
| int | wallAwareFaceStencil (CCConst sdf, long i, long sa, int cFace, int eAxis, double xcen, long idx[3], double w[3]) |
| double | wallAwareFaceValue (CCConst U, CCConst sdf, long i, long sa, int cFace, int eAxis, double xcen) |
| void | buildFaceCentroidDist (CCField xcx, CCField xcy, CCField xcz, CCConst sdf, C3 e) |
| void | centerToFaceWallAware (CCField uf, CCField vf, CCField wf, CCConst U, CCConst V, CCConst W, CCConst sdf, CCConst xcx, CCConst xcy, CCConst xcz, bool useCen, C3 e, int g) |
| void | transposeGradWallAware (CCField out, CCConst p, CCConst sdf, CCConst o, CCConst xc, bool useCen, int axis, C3 e, int g, double wa=1.0) |
| void | buildCellFraction (CCField cs, CCConst sdf, C3 e, int g) |
| double | eQuad (double xx, double a1, double a2, double a3) |
| double | embedDirichletGradient (CCConst U, CCConst sdf, C3 e, int x, int y, int z, double nx, double ny, double nz, double px, double py, double pz) |
| void | embedViscousApply (CCField Lu, CCConst U, CCConst sdf, CCConst cs, CCConst ox, CCConst oy, CCConst oz, double mu, double idt, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0, double hpx=1.0, double hpy=1.0, double hpz=1.0) |
| template<class MC> | |
| void | stencilMatvec (CCField y, CCConst u, MC AC, MC AW, MC AE, MC AS, MC AN, MC AB, MC AT, C3 e, int g) |
| void | subtractField (CCField u, CCConst d, C3 e, int g) |
| void | centerGradOpen (CCField out, CCConst p, CCConst o, int axis, C3 e, int g, double wa=1.0) |
| void | projectCorrectCenterOpen (CCField u, CCField v, CCField w, CCConst phi, CCConst ox, CCConst oy, CCConst oz, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | projectCorrectCenter (CCField u, CCField v, CCField w, CCConst phi, CCConst ox, CCConst oy, CCConst oz, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | bcVelocityComp (BField f, B3 ext, int g, int a, int s, int comp, double wall, int fold, BField prof=BField(), int prof_nc=0) |
| void | bcVelocityFaces (const BcVelFaces &J, B3 ext, int g, int a, int fold) |
| void | bcSlipComp (BField f, B3 ext, int g, int a, int s, int comp, int fold) |
| void | bcMirrorGhost (BField f, B3 ext, int g, int a, int s) |
| void | bcVelocityColocated (BField f, B3 ext, int g, int a, int s, double wall, int comp=0, BField prof=BField(), int prof_nc=0) |
| template<class FV> | |
| void | bcNeumannGhostCell (const FV &f, long base, long sa, int bic, int lo, int hi) |
| template<class FV> | |
| void | bcZeroPressureGhostCell (const FV &phi, long base, long sa, int lo, int hi) |
| template<class FV> | |
| void | bcNeumannGhostT (FV f, B3 ext, int g, int a, int s) |
| void | bcNeumannGhost (BField f, B3 ext, int g, int a, int s) |
| void | bcOutflowComp (BField f, B3 ext, int g, int a, int s, int comp, int fold) |
| void | bcDiffusionFold (BField dcorr, BField brhs, B3 ext, int g, int a, int s, double dval, double bval) |
| void | bcZeroPressureGhost (BField phi, B3 ext, int g, int a, int s) |
| void | bcCorrectOutflow (BField f, BField phi, B3 ext, int g, int a, double wa=1.0) |
| void | bcCorrectOutflowVar (BField f, BField phi, BField rho, double rho0, B3 ext, int g, int a, bool harmonic, double wa=1.0) |
| void | bcSaveHighFacePlaneInner (BField dst, BField src, B3 ext, int g, int a) |
| void | bcRestoreHighFacePlaneInner (BField dst, BField src, B3 ext, int g, int a) |
| void | bcHighFacePlaneToLastInner (BField scratch, BField src, B3 ext, int g, int a) |
| void | bcHighFacePlaneEdgesFromLastInner (BField dst, BField scratch, B3 ext, int g, int a) |
| void | bcSetOpenness (BField oa, B3 ext, int g, int a, int s, double val) |
| void | bcZeroOpenness (BField oa, B3 ext, int g, int a, int s) |
| template<class MC> | |
| void | ibmStencilJacobiBounds (MC AC, MC AW, MC AE, MC AS, MC AN, MC AB, MC AT, CCConst solidmask, C3 e, int g, double &lo, double &hi) |
| Gershgorin bounds [lo, hi] on the spectrum of the Jacobi-preconditioned cut-cell Helmholtz diag(AC)^-1 A, over the UNPINNED rows of the inner block. | |
| void | ibmChebUpdate (CCField x, CCField d, CCConst r, FPC AC, CCConst solidmask, C3 e, int g, double alpha, double beta) |
| One Chebyshev update on the Jacobi-preconditioned system: d <- beta*d + alpha*r/AC ; x += d. | |
| double | ccFractionCore (double sd, double sxp, double sxm, double syp, double sym, double szp, double szm, int type, double dx, double dy, double dz) |
| double | ccSampleExt (CCConst sdf, C3 ext, double x, double y, double z) |
| double | ccFaceOpen (CCConst sdf, C3 ext, double fx, double fy, double fz, int type, double dx, double dy, double dz) |
| double | ccTriFrac (double a, double b, double c) |
| double | ccFaceOpenMS (CCConst sdf, C3 ext, double fx, double fy, double fz, int type) |
| void | buildOpenness (CCField ox, CCField oy, CCField oz, CCConst sdf, C3 ext, double dx, double dy, double dz, int order=1) |
| void | buildOpennessHighFace (CCField oa, CCConst sdf, C3 ext, int g, int a, double dx, double dy, double dz, int order=1) |
| bool | hostRunSerial (long cells) |
| template<class F> | |
| void | ccFor3 (const char *name, C3 lo, C3 hi, F f) |
| template<class F> | |
| void | ccForRows3 (const char *name, C3 lo, C3 hi, F f) |
| template<class Run> | |
| void | ccBoxShellRuns (const char *name, C3 rlo, C3 rhi, C3 slo, C3 shi, Run run) |
| CcNbrs | ccMaskNbrs (int lx, int ly, int lz, C3 n, int g, long i, long sy, long sz, int m) |
| template<class Cell> | |
| void | ccMaskRow (int ly, int lz, int lx0, int x1, int step, C3 e, C3 n, int g, int m, const Cell &cell) |
| template<class F, class... R> | |
| void | ccReduce3 (const char *name, C3 lo, C3 hi, F f, R &&... reducers) |
| template<class F, class... R> | |
| void | ccReduce3Lanes (const char *name, C3 lo, C3 hi, F f, R &&... reducers) |
| template<class CV, class FV> | |
| void | coarsenOpenAvgCell (const CV &oxc, const CV &oyc, const CV &ozc, const FV &oxf, const FV &oyf, const FV &ozf, C3 cext, C3 fext, int gc, int gf, C3 ratio, int icx, int icy, int icz) |
| void | coarsenOpenAvg (CCField oxc, CCField oyc, CCField ozc, CCConst oxf, CCConst oyf, CCConst ozf, C3 cext, C3 fext, int gc, int gf, C3 cinner, C3 ratio) |
| void | mgSaveFacePlane (CCField dst, CCConst src, C3 e, int g, int a, int s) |
| void | mgRestoreFacePlane (CCField dst, CCConst src, C3 e, int g, int a, int s) |
| void | mgCoarsenFacePlane (CCField oc, CCConst of, C3 cext, C3 fext, int gc, int gf, C3 cinner, C3 ratio, int a, int s) |
| template<class RV, class XV, class BV, class OpV> | |
| void | cutcellResidualCell (const RV &r, const XV &x, const BV &b, const OpV &AC, const OpV &AW, const OpV &AE, const OpV &AS, const OpV &AN, const OpV &AB, const OpV &AT, long i, long xp, long xm, long yp, long ym, long zp, long zm) |
| void | residualCutcell (CCField r, CCConst x, CCConst b, FPC AC, FPC AW, FPC AE, FPC AS, FPC AN, FPC AB, FPC AT, C3 e, int g) |
| void | residualCutcellBox (CCField r, CCConst x, CCConst b, FPC AC, FPC AW, FPC AE, FPC AS, FPC AN, FPC AB, FPC AT, C3 e, C3 rlo, C3 rhi, C3 slo, C3 shi) |
| void | residualCutcellFace (CCField r, CCConst x, CCConst b, FPC AC, FPC AFX, FPC AFY, FPC AFZ, C3 e, int g) |
| void | residualCutcellBoxFace (CCField r, CCConst x, CCConst b, FPC AC, FPC AFX, FPC AFY, FPC AFZ, C3 e, C3 rlo, C3 rhi, C3 slo, C3 shi, int wrapMask=0, int g=1) |
| CcNbrs | ccWrapNbrs (int lx, int ly, int lz, C3 n, int g, long i, long sy, long sz) |
| template<class Cell> | |
| void | ccWrapRowPeeled (int ly, int lz, C3 e, C3 n, int g, int lx0, int step, const Cell &cell) |
| template<class Cell> | |
| void | ccWrapForPeeled (const char *name, C3 e, C3 n, int g, const Cell &cell) |
| void | cutcellSmoothColorFaceWrap (CCField phi, CCConst b, FPC AC, FPC AFX, FPC AFY, FPC AFZ, C3 e, C3 n, C3 og, int g, int color) |
| void | residualCutcellFaceWrap (CCField r, CCConst x, CCConst b, FPC AC, FPC AFX, FPC AFY, FPC AFZ, C3 e, C3 n, int g) |
| void | applyCutcellOpFaceWrap (CCField y, CCConst x, FPC AC, FPC AFX, FPC AFY, FPC AFZ, C3 e, C3 n, int g) |
| void | applyCutcellOpExactWrap (CCField y, CCConst x, CCConst ox, CCConst oy, CCConst oz, C3 e, C3 n, int g, double gfx, double gfy, double gfz) |
| template<class CV, class FV> | |
| void | restrictAvgCell (const CV &coarse, const FV &fine, C3 cext, C3 fext, int gc, int gf, C3 ratio, int icx, int icy, int icz) |
| template<class FV, class CV> | |
| void | prolongAddCell (const FV &fine, const CV &coarse, C3 fext, C3 cext, int gf, int gc, C3 ratio, int ifx, int ify, int ifz) |
| template<class FV, class CV> | |
| void | prolongConstAddCell (const FV &fine, const CV &coarse, C3 fext, C3 cext, int gf, int gc, C3 ratio, int ifx, int ify, int ifz) |
| template<class FV, class AV> | |
| void | meanSubtractCell (const FV &f, const AV &ac, long i, double mean) |
| void | restrictAvg (CCField coarse, CCConst fine, C3 cext, C3 fext, int gc, int gf, C3 cinner, C3 ratio) |
| void | restrictAvgZeroX (CCField coarse, CCField coarseX, CCConst fine, C3 cext, C3 fext, int gc, int gf, C3 cinner, C3 ratio) |
| template<class OpV, class WV> | |
| void | buildCutcellOpFaceFp32 (OpV AC, OpV AFX, OpV AFY, OpV AFZ, WV WX, WV WY, WV WZ, CCConst ox, CCConst oy, CCConst oz, C3 e, int gb, double gfx, double gfy, double gfz, int fp64, int *bad) |
| void | prolongAdd (CCField fine, CCConst coarse, C3 fext, C3 cext, int gf, int gc, C3 finner, C3 ratio) |
| void | prolongConstAdd (CCField fine, CCConst coarse, C3 fext, C3 cext, int gf, int gc, C3 finner, C3 ratio) |
| int | mgDebugLevel () |
| int | mgDebugSolves () |
| template<class Real> | |
| bool | ibmIsCut (Real sc, const Real sn[6]) |
| template<int SCHEME> | |
| int | buildIbmOverlay (CCConst sdf, C3 ext, int g, Off3 off, int bc_type, const IbmOverlay &ov, Kokkos::View< int *, CCMem > idMap, Kokkos::View< int, CCMem > counter, CCConst tx=CCConst(), CCConst ty=CCConst(), CCConst tz=CCConst(), C3 nn=C3{0, 0, 0}, mreal slipLambda=mreal(0), int comp=-1, Kokkos::View< int, CCMem > sandwichSkipped=Kokkos::View< int, CCMem >(), mreal hpx=mreal(1), mreal hpy=mreal(1), mreal hpz=mreal(1)) |
| slipLambda (WO-V6b, in CELLS, 0 = the validated no-slip closure) + comp (which velocity component this overlay carries: 0/1/2, -1 = none) turn the tangential wall Dirichlet datum into a NAVIER condition u_t(wall) = lambda du_t/dn. | |
| void | ibmVolfrac (CCField theta, CCConst sdf, C3 ext, Off3 off, bool aniso=false, double hpx=1.0, double hpy=1.0, double hpz=1.0, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | ibmSolidMask (CCField mask, CCConst sdf, C3 ext, Off3 off) |
| void | ibmCleanFluidMask (CCField m, CCConst sdf, C3 ext, Off3 off) |
| template<class MC> | |
| void | ibmRbgsStencilColor (CCField x, CCConst b, MC AC, MC AW, MC AE, MC AS, MC AN, MC AB, MC AT, CCConst solidmask, C3 ext, C3 og, int g, int color) |
| template<class MC> | |
| double | ibmRbgsStencilColorDu (CCField x, CCConst b, MC AC, MC AW, MC AE, MC AS, MC AN, MC AB, MC AT, CCConst solidmask, C3 ext, C3 og, int g, int color) |
| template<class MC> | |
| void | ibmRbgsStencilColorBox (CCField x, CCConst b, MC AC, MC AW, MC AE, MC AS, MC AN, MC AB, MC AT, CCConst solidmask, C3 ext, C3 og, int color, C3 rlo, C3 rhi, C3 slo, C3 shi) |
| template<class MC> | |
| double | ibmRbgsStencilColorDuBox (CCField x, CCConst b, MC AC, MC AW, MC AE, MC AS, MC AN, MC AB, MC AT, CCConst solidmask, C3 ext, C3 og, int color, C3 rlo, C3 rhi, C3 slo, C3 shi) |
| void | ibmRbgsSweep (CCField x, CCConst b, MConst AC, MConst AW, MConst AE, MConst AS, MConst AN, MConst AB, MConst AT, CCConst solidmask, C3 ext, C3 og, int g) |
| void | mgPeriodicFill (SField f, I3 e, int N, int g) |
| template<class OpV, class OV> | |
| void | cutcellBuildOpCell (const OpV &AC, const OpV &AW, const OpV &AE, const OpV &AS, const OpV &AN, const OpV &AB, const OpV &AT, const OV &ox, const OV &oy, const OV &oz, long i, long sx, long sy, long sz, double gfx, double gfy, double gfz) |
| template<class PV, class BV, class OpV> | |
| void | cutcellSmoothCell (const PV &phi, const BV &b, const OpV &AC, const OpV &AW, const OpV &AE, const OpV &AS, const OpV &AN, const OpV &AB, const OpV &AT, long i, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class XV, class OpV> | |
| double | cutcellApplyCell (const XV &x, const OpV &AC, const OpV &AW, const OpV &AE, const OpV &AS, const OpV &AN, const OpV &AB, const OpV &AT, long i, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class XV, class OV> | |
| double | cutcellApplyExactCell (const XV &x, const OV &ox, const OV &oy, const OV &oz, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm, double gfx, double gfy, double gfz) |
| template<class OpV> | |
| void | buildCutcellOp (OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, CCConst ox, CCConst oy, CCConst oz, C3 e, int g, double gfx, double gfy, double gfz) |
| template<class OpV, class OV> | |
| void | cutcellBuildFaceOpCell (const OpV &AC, const OpV &AFX, const OpV &AFY, const OpV &AFZ, const OV &ox, const OV &oy, const OV &oz, long i, long sx, long sy, long sz, double gfx, double gfy, double gfz, bool diag) |
| template<class PV, class BV, class OpV> | |
| void | cutcellSmoothFaceCell (const PV &phi, const BV &b, const OpV &AC, const OpV &AFX, const OpV &AFY, const OpV &AFZ, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class XV, class OpV> | |
| double | cutcellApplyFaceCell (const XV &x, const OpV &AC, const OpV &AFX, const OpV &AFY, const OpV &AFZ, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class RV, class XV, class BV, class OpV> | |
| void | cutcellResidualFaceCell (const RV &r, const XV &x, const BV &b, const OpV &AC, const OpV &AFX, const OpV &AFY, const OpV &AFZ, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class OpV> | |
| void | buildCutcellOpFace (OpV AC, OpV AFX, OpV AFY, OpV AFZ, CCConst ox, CCConst oy, CCConst oz, C3 e, int gb, double gfx, double gfy, double gfz) |
| template<class OpV> | |
| void | cutcellSmoothColorFace (CCField phi, CCConst b, OpV AC, OpV AFX, OpV AFY, OpV AFZ, C3 e, C3 og, int g, int color) |
| template<class OpV> | |
| void | cutcellSmoothColorBoxFace (CCField phi, CCConst b, OpV AC, OpV AFX, OpV AFY, OpV AFZ, C3 e, C3 og, int color, C3 rlo, C3 rhi, C3 slo, C3 shi, int wrapMask=0, int g=1) |
| template<class OpV> | |
| void | applyCutcellOpFace (CCField y, CCConst x, OpV AC, OpV AFX, OpV AFY, OpV AFZ, C3 e, int g) |
| template<class OpV> | |
| void | applyCutcellOpBoxFace (CCField y, CCConst x, OpV AC, OpV AFX, OpV AFY, OpV AFZ, C3 e, C3 rlo, C3 rhi, C3 slo, C3 shi, int wrapMask=0, int g=1) |
| void | divergOpen (CCConst u, CCConst v, CCConst w, CCConst ox, CCConst oy, CCConst oz, CCField d, C3 e, int g) |
| template<class OpV> | |
| void | cutcellSmoothColor (CCField phi, CCConst b, OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, C3 e, C3 og, int g, int color) |
| template<class OpV> | |
| void | cutcellSmoothColorBox (CCField phi, CCConst b, OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, C3 e, C3 og, int color, C3 rlo, C3 rhi, C3 slo, C3 shi) |
| template<class OpV> | |
| void | applyCutcellOp (CCField y, CCConst x, OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, C3 e, int g) |
| template<class OpV> | |
| void | applyCutcellOpBox (CCField y, CCConst x, OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, C3 e, C3 rlo, C3 rhi, C3 slo, C3 shi) |
| void | applyCutcellOpExact (CCField y, CCConst x, CCConst ox, CCConst oy, CCConst oz, C3 e, int g, double gfx, double gfy, double gfz) |
| void | applyCutcellOpExactBox (CCField y, CCConst x, CCConst ox, CCConst oy, CCConst oz, C3 e, C3 rlo, C3 rhi, C3 slo, C3 shi, double gfx, double gfy, double gfz, int wrapMask=0, int g=1) |
| void | projectCorrect (CCField u, CCField v, CCField w, CCConst phi, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | projectCorrectVar (CCField u, CCField v, CCField w, CCConst phi, CCConst rho, double rho0, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | buildRhoCoeff (CCField cx, CCField cy, CCField cz, CCConst ox, CCConst oy, CCConst oz, CCConst rho, double rho0, C3 e, int g) |
| void | buildRhoCoeffHarm (CCField cx, CCField cy, CCField cz, CCConst ox, CCConst oy, CCConst oz, CCConst rho, double rho0, C3 e, int g) |
| void | buildRhoCoeffOutflowFace (CCField ca, CCConst oa, CCConst rho, double rho0, C3 e, int g, int a, bool harmonic) |
| void | projectCorrectVarHarm (CCField u, CCField v, CCField w, CCConst phi, CCConst rho, double rho0, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | divergOpenEps (CCConst u, CCConst v, CCConst w, CCConst ox, CCConst oy, CCConst oz, CCConst eps, CCField d, C3 e, int g) |
| void | buildPorousCoeff (CCField cx, CCField cy, CCField cz, CCConst ox, CCConst oy, CCConst oz, CCConst eps, C3 e, int g) |
| void | buildPorousCoeffDrag (CCField cx, CCField cy, CCField cz, CCConst ox, CCConst oy, CCConst oz, CCConst eps, CCConst beta, double idt, C3 e, int g) |
| void | buildPorousCoeffCons (CCField cx, CCField cy, CCField cz, CCConst ox, CCConst oy, CCConst oz, CCConst eps, CCConst beta, bool useBeta, double rhoidt, C3 e, int g) |
| void | projectCorrectPorousCons (CCField u, CCField v, CCField w, CCConst phi, CCConst eps, CCConst beta, bool useBeta, double rhoidt, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | projectCorrectPorousDrag (CCField u, CCField v, CCField w, CCConst phi, CCConst beta, double idt, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| std::size_t | innerToExt (long c, Ext3 ext, int ghost, Ext3 inner) |
| SumMax | localSumMax (DConst f, Ext3 ext, int ghost, Ext3 inner) |
| Local sum and max|.| over the inner cells. | |
| double | localDot (DConst a, DConst b, Ext3 ext, int ghost, Ext3 inner) |
| Local inner product <a,b> over the inner cells. | |
| void | subtractAll (DField f, double m) |
| Subtract a constant from EVERY cell of the extended block (the mean-removal scatter). | |
| long | L3 (int x, int y, int z, I3 e) |
| template<bool Aniso> | |
| void | diffSmoothColorT (SField c, SConst b, I3 e, I3 og, int g, double bx, double by, double bz, double Ac, int color, SConst dcorr) |
| void | diffSmoothColor (SField c, SConst b, I3 e, I3 og, int g, double bx, double by, double bz, double Ac, int color, SConst dcorr, bool aniso) |
| void | diffSmoothColor (SField c, SConst b, I3 e, I3 og, int g, double beta, double Ac, int color, SConst dcorr) |
| template<bool Aniso> | |
| void | diffResidualT (SField r, SConst c, SConst b, I3 e, int g, double bx, double by, double bz, double Ac, SConst dcorr) |
| template<bool Aniso> | |
| void | diffResidualMaxT (SConst c, SConst b, I3 e, int g, double bx, double by, double bz, double Ac, SConst dcorr, int holdAxis, int holdIdx, double &rmax, double &bdmax, double &bmax) |
| void | diffResidualMax (SConst c, SConst b, I3 e, int g, double bx, double by, double bz, double Ac, SConst dcorr, bool aniso, int holdAxis, int holdIdx, double &rmax, double &bdmax, double &bmax) |
| void | diffResidual (SField r, SConst c, SConst b, I3 e, int g, double bx, double by, double bz, double Ac, SConst dcorr, bool aniso) |
| void | diffResidual (SField r, SConst c, SConst b, I3 e, int g, double beta, double Ac, SConst dcorr) |
| template<bool Aniso> | |
| double | diffSmoothColorDuT (SField c, SConst b, I3 e, I3 og, int g, double bx, double by, double bz, double Ac, int color, SConst dcorr) |
| double | diffSmoothColorDu (SField c, SConst b, I3 e, I3 og, int g, double bx, double by, double bz, double Ac, int color, SConst dcorr, bool aniso) |
| double | diffSmoothColorDu (SField c, SConst b, I3 e, I3 og, int g, double beta, double Ac, int color, SConst dcorr) |
| void | poisSmoothColor (SField phi, SConst d, I3 e, I3 og, int g, int color) |
| void | divergence (SConst u, SConst v, SConst w, SField d, I3 e, int g) |
| void | poisSweep (SField phi, SConst d, I3 e, I3 og, int g) |
| void | restrict_ (TField coarse, TConst fine, T3 cext, T3 fext, int g, T3 cinner, T3 ratio) |
| double | trilerp (TConst c, double x, double y, double z, T3 cext) |
| void | prolong (TField fine, TConst coarse, T3 fext, T3 cext, int g, T3 finner, T3 ratio) |
| void | correct (TField u, TField v, TField w, TConst phi, T3 e, int g) |
| void | residualVarPin (CCField r, CCConst x, CCConst b, FPC AC, FPC AW, FPC AE, FPC AS, FPC AN, FPC AB, FPC AT, CCConst pin, C3 e, int g) |
| void | residualVarPinMax (CCConst x, CCConst b, FPC AC, FPC AW, FPC AE, FPC AS, FPC AN, FPC AB, FPC AT, CCConst pin, C3 e, int g, int holdAxis, int holdIdx, double &rmax, double &bdmax, double &bmax) |
| void | prolongMasked (CCField fine, CCConst coarse, CCConst mask, C3 fext, C3 cext, int g, C3 finner, C3 ratio, double eps) |
| void | buildVelocityStaircase (FPV AC, FPV AW, FPV AE, FPV AS, FPV AN, FPV AB, FPV AT, CCConst theta, C3 e, int g, double bx, double by, double bz, double thresh, double idiag) |
| void | pinSolidRows (FPV AC, FPV AW, FPV AE, FPV AS, FPV AN, FPV AB, FPV AT, CCConst theta, C3 e, int g, double thresh) |
| void | buildAdvCoarse (FPV AC, FPV AW, FPV AE, FPV AS, FPV AN, FPV AB, FPV AT, CCConst U, CCConst V, CCConst W, int comp, C3 e, int g, double bx, double by, double bz, double fouw, double sx, double sy, double sz, double idiag) |
| void | buildConstAniso (FPV AC, FPV AW, FPV AE, FPV AS, FPV AN, FPV AB, FPV AT, C3 e, double bx, double by, double bz, double idiag) |
| void | boundaryFold (FPV AC, C3 e, int g, int a, int s, double beta) |
| void | fillBcGhost (CCField x, C3 e, int g, int a, int s, int dirichlet) |
| void | zeroPlane (CCField m, C3 e, int axis, int idx) |
| void | thresholdMask (CCField m, CCConst theta, double thresh) |
| double | maxAbsInner (CCConst a, C3 e, int g) |
| double | maxAbsDiffInner (CCConst a, CCConst b, C3 e, int g) |
| void | mulMask (CCField r, CCConst m) |
| double | bottomShift (int attempt) |
| BottomPlanes | bottomChoosePlanes (C3 inner, const int bc[6]) |
| template<class WV> | |
| VReal | fp32Diag (const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz) |
| template<class XV, class WV> | |
| VReal | fp32Flux (const XV &x, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class XV, class BV, class WV> | |
| void | fp32SmoothCell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm) |
| template<class RV, class XV, class BV, class WV> | |
| void | fp32ResidualCell (const RV &r, const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, long xp, long xm, long yp, long ym, long zp, long zm) |
| void | cutcellSmoothColorFp32Wrap (VField x, VConst b, VConst WX, VConst WY, VConst WZ, C3 e, C3 n, C3 og, int g, int color) |
| void | residualFp32Wrap (VField r, VConst x, VConst b, VConst WX, VConst WY, VConst WZ, C3 e, C3 n, int g) |
| void | entryFp32 (VField xf, VField rhsf, CCConst rr, VConst WX, VConst WY, VConst WZ, double sigma, C3 e, C3 og, int g, int color, bool smoothFirst) |
| void | restrictFp32ZeroX (VField coarse, VField coarseX, VConst fine, C3 cext, C3 fext, int gc, int gf, C3 cinner, C3 ratio) |
| void | restrictFp32ToDZeroX (CCField coarse, CCField coarseX, VConst fine, C3 cext, C3 fext, int gc, int gf, C3 cinner, C3 ratio) |
| int | fp32ProlongLow (int ratio, int i, int gc) |
| void | prolongFp32 (VField fine, VConst coarse, C3 fext, C3 cext, int gf, int gc, C3 finner, C3 ratio) |
| void | prolongFp32FromD (VField fine, CCConst coarse, C3 fext, C3 cext, int gf, int gc, C3 finner, C3 ratio) |
| int | fp32ProlongParent (int ratio, int i, int gc) |
| void | prolongConstFp32 (VField fine, VConst coarse, C3 fext, C3 cext, int gf, int gc, C3 finner, C3 ratio) |
| void | prolongConstFp32FromD (VField fine, CCConst coarse, C3 fext, C3 cext, int gf, int gc, C3 finner, C3 ratio) |
| void | cutcellSmoothColorFp32Box (VField x, VConst b, VConst WX, VConst WY, VConst WZ, C3 e, C3 og, int color, C3 lo, C3 hi, C3 exLo, C3 exHi, int wrapMask=0, int g=1) |
| void | residualFp32Box (VField r, VConst x, VConst b, VConst WX, VConst WY, VConst WZ, C3 e, C3 lo, C3 hi, C3 exLo, C3 exHi, int wrapMask=0, int g=1) |
| void | fp32ToDouble (CCField d, VConst f, C3 e) |
| void | fp32AddDouble (VField f, CCConst d, C3 e, int g) |
| void | lineAxesOf (int s, int &a, int &b) |
| template<class Row, class Store> | |
| void | lineColumnSolve (const Row &R, Store &S, long i0, int m, int l3[3], C3 n, int g, int wrapMask, bool periodic) |
| template<class Row, class SV> | |
| void | lineColumn (const Row &R, const SV &c, const SV &y, const SV &z, int la, int lb, C3 n, int g, int wrapMask, bool periodic) |
| template<class Row, class SV> | |
| void | lineRelaxColor (const Row &R, const SV &c, const SV &y, const SV &z, C3 e, C3 og, int g, int wrapMask, bool periodic, int color, const char *name, const char *serialName) |
| template<class OpV> | |
| void | lineRelaxColorFace (CCField x, CCConst b, OpV AC, OpV AFX, OpV AFY, OpV AFZ, CCField c, CCField y, CCField z, C3 e, C3 og, int g, int s, bool periodic, int wrapMask, int color) |
| void | lineRelaxColorFp32 (VField x, VConst b, VConst WX, VConst WY, VConst WZ, VField c, VField y, VField z, C3 e, C3 og, int g, int s, bool periodic, int wrapMask, int color) |
| void | applyClosure (const Closure &cl, C3 e, int g) |
| void | applyClosureFaceGhost (const Closure &cl, C3 e, int g, int a, int side) |
| template<class State> | |
| void | residentKrylov (State &st, ScalarKrylovOps &ops) |
| Arm ops for the resident pass with the persistent slots of st (ks, pk, allocated once). | |
| template<class Ops> | |
| ScalarKrylovResult | scalarBiCGStab (Ops &ops, const ScalarVec &b, const ScalarVec &x, const ScalarVec &r, const ScalarVec &rh, const ScalarVec &p, const ScalarVec &v, const ScalarVec &t, const ScalarVec &z, const ScalarVec &z2, int maxit, double rtol, bool singular) |
| BiCGStab on A x = b. | |
| void | scalarBuildDiffusionVarK (CCField AC, CCField AW, CCField AE, CCField AS, CCField AN, CCField AB, CCField AT, CCConst ox, CCConst oy, CCConst oz, CCConst kc, CCConst rcp, CCConst mask, double idt, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | scalarBuildRhsHeat (CCField b, CCConst cOld, CCConst rcp, double idt, C3 e, int g) |
| void | scalarMaskStencil (CCField AC, CCField AW, CCField AE, CCField AS, CCField AN, CCField AB, CCField AT, CCConst mask, C3 e, int g) |
| void | scalarMaskRhs (CCField b, CCField c, CCConst mask, CCConst val, C3 e, int g) |
| void | scalarMaskGfm (CCField AC, CCField AW, CCField AE, CCField AS, CCField AN, CCField AB, CCField AT, CCField gfmB, CCConst ox, CCConst oy, CCConst oz, CCConst mask, CCConst tgam, CCConst gnx, CCConst gny, CCConst gnz, CCConst gphi, CCConst kc, double Dconst, bool useK, double thMin, double thMax, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0, vof::VofMetric gm=vof::VofMetric{}) |
| void | scalarMaskGfm2 (CCField AC, CCField AW, CCField AE, CCField AS, CCField AN, CCField AB, CCField AT, CCField gfmB, CCConst ox, CCConst oy, CCConst oz, CCConst mask, CCConst tgam, CCConst gnx, CCConst gny, CCConst gnz, CCConst gphi, CCConst kap, CCConst kc, double Dconst, bool useK, double thMin, double thMax, int order, bool useKappa, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0, vof::VofMetric gm=vof::VofMetric{}) |
| void | scalarAddGfmRhs (CCField b, CCConst gfmB, CCConst mask, C3 e, int g) |
| void | scalarBuildDiffusionOpen (CCField AC, CCField AW, CCField AE, CCField AS, CCField AN, CCField AB, CCField AT, CCConst ox, CCConst oy, CCConst oz, double D, double idt, C3 e, int g, double wx=1.0, double wy=1.0, double wz=1.0) |
| void | scalarBuildRhs (CCField b, CCConst cOld, CCConst U, CCConst V, CCConst W, CCConst ox, CCConst oy, CCConst oz, double idt, int scheme, C3 e, int g) |
| StarOverlay | starMakeOverlay (long n) |
| double | starAval (const StarOverlay &ov, long k, bool exact) |
| One stored aperture, at the precision the gate selects. | |
| int | starWrap (int v, int n) |
| int | buildStarOverlay (CCConst sdf, CCConst ox, CCConst oy, CCConst oz, C3 ext, int g, C3 nn, const StarOverlay &ov, Kokkos::View< int, CCMem > counter) |
| Count + fill the star overlay from the cell-centered sdf and the ORIGINAL (unfiltered) apertures on the extended block (ext, ghost width g); nn = inner extents. | |
| void | starApplyDelta (CCField y, CCConst x, const StarOverlay &ov, int nOv, C3 nn, C3 extY, int gY, C3 extX, int gX, bool exact) |
| y += S_star x over the inner cells of the (extY, gY) block, x read from the (extX, gX) block, both periodic via inner-grid wrap. | |
| void | starCorrectFaces (CCField uf, CCField vf, CCField wf, CCConst phi, const StarOverlay &ov, int nOv, C3 nn, C3 ext, int g, C3 extP, int gP, bool exact, double wx=1.0, double wy=1.0, double wz=1.0) |
| Fix the face correction at fluid|solid faces: projectCorrect applied -(phi_hi - phi_lo) with the solid side's (decoupled) phi = 0; the mode-B correction wants the solid value phibar_s. | |
Variables | |
| constexpr const char * | kVofMomBlocksMsg |
| enable_vof_momentum x enable_vof_blocks*: refused in EITHER call order. | |
| constexpr const char * | gpStateName [5] = {"COUPLED", "QUAD", "LIN", "BC_ONLY", "EXPLICIT"} |
| Face-state names, indexed by GpOverlayT::state (GP_COUPLED .. GP_EXPLICIT). | |
| constexpr long | kHostSerialCellCutoff = 8192L |
| constexpr long | kShellRunCells = 8L |
| constexpr long | kBottomMaxCells = 8192 |
| constexpr int | kAutoMinLevels = 4 |
| constexpr int | kAutoMaxLevels = 30 |
| constexpr bool | kAnchoredFollowsGrid = false |
| constexpr double | kBottomTau = 1e-5 |
| constexpr int | kBottomMaxComponents = 64 |
| constexpr int | kBottomCap = 100 |
| constexpr int | kBottomHostTeam = 1 |
| constexpr int | kBottomHostFactorTeam = 6 |
| constexpr int | kCaDefault = std::is_same_v<CCMem, Kokkos::HostSpace> ? kCaBoth : 0 |
| constexpr int | kBottomMaxPlane = 192 |
| constexpr int | kBottomTile = 16 |
| constexpr double | kBottomPivotTol = 1e-6 |
| constexpr int | kBottomAttempts = 3 |
| constexpr int | kLineRegs = 64 |
| using peclet::flow::IMem = Kokkos::DefaultExecutionSpace::memory_space |
Definition at line 30 of file cut_cell_ibm.hpp.
| using peclet::flow::IbmOverlayReal = IbmOverlayT<IMem, Real> |
Definition at line 154 of file cut_cell_ibm.hpp.
| using peclet::flow::IbmSolver = Solver<Staggered> |
Definition at line 5663 of file flow_ibm.hpp.
| using peclet::flow::RegMask = Kokkos::View<std::uint8_t*, CCMem> |
Per-component regular-node mask (§5.4): 1 = a velocity node with neither a solid nor a cut row.
Read only on the solid path (kSolid).
Definition at line 36 of file full_stress.hpp.
| using peclet::flow::RegConst = Kokkos::View<const std::uint8_t*, CCMem> |
Definition at line 37 of file full_stress.hpp.
| using peclet::flow::GpOverlayReal = GpOverlayT<CCMem, Real> |
Definition at line 111 of file ghost_projection.hpp.
| using peclet::flow::GpOverlay = GpOverlayReal<float> |
Definition at line 112 of file ghost_projection.hpp.
| using peclet::flow::GpOverlayHost = GpOverlayT<Kokkos::HostSpace, Real> |
The report's host view of an overlay: the first nRows rows of every array it reads (w_bc is not read and stays empty).
One copy out of device memory per array.
Definition at line 62 of file ghost_projection_debug.hpp.
| typedef Kokkos::View< const float *, CCMem > peclet::flow::MConst = Kokkos::View<const float*, CCMem> |
Definition at line 24 of file mac_approx_projection.hpp.
| using peclet::flow::BExec = Kokkos::DefaultExecutionSpace |
Definition at line 19 of file mac_bc.hpp.
| using peclet::flow::BMem = BExec::memory_space |
Definition at line 20 of file mac_bc.hpp.
| using peclet::flow::BField = Kokkos::View<double*, BMem> |
Definition at line 21 of file mac_bc.hpp.
| using peclet::flow::CCExec = Kokkos::DefaultExecutionSpace |
Definition at line 24 of file mac_cutcell.hpp.
| using peclet::flow::CCMem = CCExec::memory_space |
Definition at line 25 of file mac_cutcell.hpp.
| using peclet::flow::CCField = Kokkos::View<double*, CCMem> |
Definition at line 26 of file mac_cutcell.hpp.
| using peclet::flow::CCConst = Kokkos::View<const double*, CCMem> |
Definition at line 27 of file mac_cutcell.hpp.
| using peclet::flow::MReal = float |
Definition at line 82 of file mac_cutcell_mg.hpp.
| using peclet::flow::FPV = Kokkos::View<MReal*, CCMem> |
Definition at line 84 of file mac_cutcell_mg.hpp.
| using peclet::flow::FPC = Kokkos::View<const MReal*, CCMem> |
Definition at line 85 of file mac_cutcell_mg.hpp.
| using peclet::flow::VReal = float |
Definition at line 87 of file mac_cutcell_mg.hpp.
| using peclet::flow::mreal = MReal |
Definition at line 24 of file mac_ibm.hpp.
| using peclet::flow::IbmOverlay = IbmOverlayT<IMem, mreal> |
Definition at line 33 of file mac_ibm.hpp.
Definition at line 38 of file mac_ibm.hpp.
| using peclet::flow::Exec = Kokkos::DefaultExecutionSpace |
Definition at line 18 of file mac_reductions.hpp.
| using peclet::flow::Mem = Exec::memory_space |
Definition at line 19 of file mac_reductions.hpp.
| using peclet::flow::DField = Kokkos::View<double*, Mem> |
Definition at line 20 of file mac_reductions.hpp.
| using peclet::flow::DConst = Kokkos::View<const double*, Mem> |
Definition at line 21 of file mac_reductions.hpp.
| using peclet::flow::SExec = Kokkos::DefaultExecutionSpace |
Definition at line 21 of file mac_stencils.hpp.
| using peclet::flow::SMem = SExec::memory_space |
Definition at line 22 of file mac_stencils.hpp.
| using peclet::flow::SField = Kokkos::View<double*, SMem> |
Definition at line 23 of file mac_stencils.hpp.
| using peclet::flow::SConst = Kokkos::View<const double*, SMem> |
Definition at line 24 of file mac_stencils.hpp.
| using peclet::flow::TExec = Kokkos::DefaultExecutionSpace |
Definition at line 18 of file mac_transfer.hpp.
| using peclet::flow::TMem = TExec::memory_space |
Definition at line 19 of file mac_transfer.hpp.
| using peclet::flow::TField = Kokkos::View<double*, TMem> |
Definition at line 20 of file mac_transfer.hpp.
| using peclet::flow::TConst = Kokkos::View<const double*, TMem> |
Definition at line 21 of file mac_transfer.hpp.
| using peclet::flow::VField = Kokkos::View<VReal*, CCMem> |
Definition at line 15 of file mg_fp32_vcycle.hpp.
| using peclet::flow::VConst = Kokkos::View<const VReal*, CCMem> |
Definition at line 16 of file mg_fp32_vcycle.hpp.
| using peclet::flow::MDRange2 |
2-D range, first index fastest (both the tile order and the order within a tile).
Definition at line 31 of file policy.hpp.
| using peclet::flow::MDRange3 |
3-D range, x (the first index) fastest (both the tile order and the order within a tile).
Definition at line 36 of file policy.hpp.
| anonymous enum : int |
| Enumerator | |
|---|---|
| kOpFp64None | |
| kOpFp64Diag | |
| kOpFp64Full | |
Definition at line 610 of file mac_cutcell_mg.hpp.
| anonymous enum : int |
| Enumerator | |
|---|---|
| kCaMomentum | |
| kCaMg | |
| kCaBoth | |
Definition at line 1088 of file mac_cutcell_mg.hpp.
|
strong |
| Enumerator | |
|---|---|
| LinearMix | |
| BoussinesqForce | |
| ArrheniusMu | |
| Table1D | |
Definition at line 28 of file property_closures.hpp.
|
strong |
| Enumerator | |
|---|---|
| Periodic | |
| Neumann | |
| Dirichlet | |
Definition at line 36 of file scalar_transport.hpp.
|
inline |
Definition at line 73 of file collocated_varrho.hpp.
Referenced by peclet::flow::Solver< Grid >::buildRhsColoVar().
|
inline |
Definition at line 102 of file collocated_varrho.hpp.
References peclet::flow::vof::csfFaceCurvature(), and peclet::flow::vof::csfFaceForce().
Referenced by peclet::flow::Solver< Grid >::buildRhsColoVar().
|
inline |
Definition at line 126 of file collocated_varrho.hpp.
References peclet::flow::varrho::faceMassWeighted(), and U.
Referenced by peclet::flow::Solver< Grid >::projectAssembleDivergence().
|
inline |
Definition at line 149 of file collocated_varrho.hpp.
References peclet::flow::varrho::cellFromFaces().
| Real peclet::flow::poly_D | ( | Real | xi | ) |
Definition at line 34 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry(), and poly_D_slip().
| Real peclet::flow::poly_N_nb | ( | Real | xi | ) |
Definition at line 38 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry(), and poly_N_nb_slip().
| Real peclet::flow::poly_Nc | ( | Real | xi | ) |
Definition at line 42 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry(), and poly_Nc_slip().
| Real peclet::flow::poly_Nbc | ( | Real | ) |
Definition at line 46 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_D_avg | ( | Real | xi | ) |
Definition at line 50 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nnb_avg | ( | Real | xi | ) |
Definition at line 54 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nc_avg | ( | Real | xi | ) |
Definition at line 58 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nbc_avg | ( | Real | ) |
Definition at line 62 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_D_slip | ( | Real | xi, |
| Real | lam ) |
| Real peclet::flow::poly_N_nb_slip | ( | Real | xi, |
| Real | lam ) |
Definition at line 97 of file cut_cell_ibm.hpp.
References poly_N_nb().
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nc_slip | ( | Real | xi, |
| Real | lam ) |
Definition at line 101 of file cut_cell_ibm.hpp.
References poly_Nc().
Referenced by ibmFillEntry().
| Real peclet::flow::poly_D_sandwich | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 106 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_N_c_sandwich | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 110 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nbc_pp_sw | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 114 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nbc_mp_sw | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 118 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_D_sandwich_avg | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 122 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_N_c_sandwich_avg | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 126 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nbc_pp_sw_avg | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 130 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| Real peclet::flow::poly_Nbc_mp_sw_avg | ( | Real | xi_m, |
| Real | xi_p ) |
Definition at line 134 of file cut_cell_ibm.hpp.
Referenced by ibmFillEntry().
| void peclet::flow::ibmFillEntry | ( | const OV & | o, |
| int | list_idx, | ||
| int | c_idx, | ||
| typename OV::value_type | sdf_c, | ||
| const typename OV::value_type | sdf_n[6], | ||
| int | bc_type, | ||
| const typename OV::value_type * | thEx, | ||
| const typename OV::value_type * | lamAxis = nullptr, | ||
| int * | sandwichSkipped = nullptr ) |
Definition at line 163 of file cut_cell_ibm.hpp.
References poly_D(), poly_D_avg(), poly_D_sandwich(), poly_D_sandwich_avg(), poly_D_slip(), poly_N_c_sandwich(), poly_N_c_sandwich_avg(), poly_N_nb(), poly_N_nb_slip(), poly_Nbc(), poly_Nbc_avg(), poly_Nbc_mp_sw(), poly_Nbc_mp_sw_avg(), poly_Nbc_pp_sw(), poly_Nbc_pp_sw_avg(), poly_Nc(), poly_Nc_avg(), poly_Nc_slip(), poly_Nnb_avg(), R, and val().
Referenced by ibmFillEntry(), main(), and run().
| void peclet::flow::ibmFillEntry | ( | const OV & | o, |
| int | list_idx, | ||
| int | c_idx, | ||
| typename OV::value_type | sdf_c, | ||
| const typename OV::value_type | sdf_n[6], | ||
| int | bc_type ) |
Definition at line 312 of file cut_cell_ibm.hpp.
References ibmFillEntry().
|
inline |
Definition at line 327 of file cut_cell_ibm.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::buildAdvStencil(), ibmBuildDiffusion(), main(), and peclet::flow::Solver< Grid >::rebuildStencils().
|
inline |
Definition at line 350 of file cut_cell_ibm.hpp.
References AC, and ibmBuildDiffusion().
|
inline |
Definition at line 361 of file cut_cell_ibm.hpp.
Referenced by peclet::flow::Solver< Grid >::buildAdvStencilVar(), evalSharp(), and peclet::flow::Solver< Grid >::rebuildStencils().
|
inline |
Definition at line 395 of file cut_cell_ibm.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::buildAdvStencil(), peclet::flow::Solver< Grid >::buildAdvStencilVar(), main(), and peclet::flow::Solver< Grid >::rebuildStencils().
|
inline |
Definition at line 633 of file flow_ibm_geometry.hpp.
|
inline |
Add rs_c · T_c(uⁿ) to the momentum RHS bb of component c over the inner cells [g, e−g)³.
v[3] the time-base velocity uⁿ (index units), ghosts filled incl. the (a, c) edges; fp the component-c face props (makeFaceProps(c)), μ ghosts filled incl. edges; wc the metric weight of axis c (1.0 exactly on the isotropic path); skipLoC rows at coordinate g along c are BC-imposed (low face of a non-periodic global c-face on this rank): they receive nothing (§5.5); reg[3] (kSolid only) the regular-node masks, ghosts filled: an element is included iff every velocity node it touches is regular; a non-regular row receives nothing.
Definition at line 49 of file full_stress.hpp.
Referenced by peclet::flow::Solver< Grid >::addFullStressRhsComp(), evalSharp(), and evalT().
The local min and max of mu over [g−1, e−g+1)³ — the inner cells plus the one ghost ring the transpose term reads (§4.3 step 2).
One instance-scoped reduction; the caller reduces across ranks and compares exactly.
Definition at line 97 of file full_stress.hpp.
Referenced by peclet::flow::Solver< Grid >::fullStressPrelude().
|
inline |
Directional cell-center gradient (collocated ghost path) of a cell field p whose solid-centered rows are DECOUPLED (hold 0): central difference where both axis neighbours are fluid-centered; 2nd-order one-sided toward the fluid where a neighbour center is solid ((-3p_i + 4p_{i+1} - p_{i+2})/2, falling back to the 2-point one-sided when the +/-2 cell is solid too); 0 when sandwiched.
Never reads a solid cell's value — reading the decoupled 0 is a GAUGE-DEPENDENT O(1) gradient error (measured in tests/study/ghost_collocated_apriori.py [C2]: the mode-0 central difference grows O(1/h) at cut cells, the openness-weighted kernels are O(1)/O(h); this operator is O(h^2) and exactly gauge-invariant). Serves both the incremental -grad(P^n) predictor and the projection's cell correction. The sdf must be the PROJECTION's view (the fragmentation-guarded sdfGp), so pocket cells whose phi rows are decoupled are not read either. PHASE 2 (doc/anisotropic_metric.md §3/§6.5): wa is the per-axis pressure weight w_axis = 1/h_axis'^2, applied to the OUTPUT. The directional closure itself classifies by the SIGN of the SDF and interpolates by theta, so no metric reaches inside it; the weight is the whole of it, and the SAME kernel supplies both the -grad(P^n) predictor and the projection's cell correction, so neither call site scales it again. 1.0 on the isotropic path (exact).
Definition at line 35 of file gauge_exact_gradient.hpp.
Referenced by peclet::flow::Solver< Grid >::buildRhs(), and peclet::flow::Solver< Grid >::buildRhsForced().
|
inline |
Definition at line 115 of file ghost_projection.hpp.
References peclet::flow::GpOverlayT< Space, Real >::cell, peclet::flow::GpOverlayT< Space, Real >::coupled, peclet::flow::GpOverlayT< Space, Real >::rescale, peclet::flow::GpOverlayT< Space, Real >::state, peclet::flow::GpOverlayT< Space, Real >::th, peclet::flow::GpOverlayT< Space, Real >::w_bc, peclet::flow::GpOverlayT< Space, Real >::w_n1, peclet::flow::GpOverlayT< Space, Real >::w_n2, peclet::flow::GpOverlayT< Space, Real >::wm_n1, and peclet::flow::GpOverlayT< Space, Real >::wm_n2.
Referenced by peclet::flow::Solver< Grid >::setSolidGhostProjectionOverlay().
| int peclet::flow::gpWrap | ( | int | v, |
| int | n ) |
Definition at line 130 of file ghost_projection.hpp.
Referenced by buildGpOverlay(), gpApplyDelta(), and gpDivergDelta().
|
inline |
Build the overlay over the inner grid nn from the cell-centered sdf on the extended block (ext, ghost width g).
Neighbor access: single-rank wraps periodically over the inner grid (so the +/-2 reach never depends on g); useGhost (distributed) reads straight offsets into the exchanged halo instead — requires g >= 2 and current sdf ghosts. The MDRange covers this rank's inner cells only, which IS the gp-row ownership under MPI. Overlay arrays must be sized for the worst case; returns the row count. idMap (size nn.x*nn.y*nn.z) gets slot or -1. (Exact crossings tx/ty/tz are inner-sized with wrap access — single-rank only, not lifted.)
Definition at line 143 of file ghost_projection.hpp.
References peclet::flow::GpOverlayT< Space, Real >::cell, peclet::flow::GpOverlayT< Space, Real >::coupled, F, gpWrap(), peclet::flow::GpOverlayT< Space, Real >::rescale, peclet::flow::GpOverlayT< Space, Real >::state, peclet::flow::GpOverlayT< Space, Real >::th, peclet::flow::GpOverlayT< Space, Real >::w_bc, peclet::flow::GpOverlayT< Space, Real >::w_n1, peclet::flow::GpOverlayT< Space, Real >::w_n2, peclet::flow::GpOverlayT< Space, Real >::wm_n1, peclet::flow::GpOverlayT< Space, Real >::wm_n2, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Binary openness for the symmetric MG surrogate, on the extended-block layout of buildOpenness: o(face) = 1 iff the face point is fluid AND both adjacent cell centers are fluid, else 0.
buildCutcellOp on this field gives exactly the COUPLED part of the ghost operator; the whole CutcellMG hierarchy (coarsening, smoothing, GraphAMG bottom) runs on it unchanged.
Definition at line 232 of file ghost_projection.hpp.
References peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Overlay matvec correction: y(r) = rho_r * (y(r) + closure-face phi terms), where y currently holds the binary-openness (COUPLED-part) matvec.
y lives on the (extY, gbY) block, x on the (extX, gbX) block — identical single-rank (both the g=1 MG block), but distributed the +/-2 couplings need a g=2 halo, so x is the caller's staged g=2 copy while y stays on the MG block. Neighbor access: single-rank wraps over the inner grid nn; useGhost reads straight offsets into x's exchanged halo (requires gbX >= 2). Face at relative index m couples cells (i+m-1, i+m); the div coefficient c = sgn*w contributes A x += -c*x(i+m) + c*x(i+m-1) => delta = sgn*w*(x_cm - x_cp). Distinct rows per thread: no atomics.
Definition at line 261 of file ghost_projection.hpp.
References peclet::flow::GpOverlayT< Space, Real >::cell, peclet::flow::GpOverlayT< Space, Real >::coupled, gpWrap(), peclet::flow::GpOverlayT< Space, Real >::rescale, peclet::flow::GpOverlayT< Space, Real >::state, peclet::flow::GpOverlayT< Space, Real >::wm_n1, peclet::flow::GpOverlayT< Space, Real >::wm_n2, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::gpMatvec().
|
inline |
Overlay divergence correction: d(r) = rho_r * (d(r) + closure/BC/explicit face values), where d currently holds the binary-openness divergence (divergOpen on the binary fields: COUPLED faces only).
u/v/w and d live on the solver block (extents extb, ghost width gb). u_bc = 0 (v1 stationary walls). Neighbor access: single-rank wraps over the inner grid nn; useGhost (distributed) reads straight offsets into the exchanged velocity halo (reach -1..+2, gb >= 2). Rows with no phi coupling are zeroed (decoupled). Used identically for the RHS div(u*) and the post-correction diagnostic — the diagnostic IS the residual.
Definition at line 308 of file ghost_projection.hpp.
References peclet::flow::GpOverlayT< Space, Real >::cell, peclet::flow::GpOverlayT< Space, Real >::coupled, gpWrap(), peclet::flow::GpOverlayT< Space, Real >::rescale, peclet::flow::GpOverlayT< Space, Real >::state, U, val(), peclet::flow::GpOverlayT< Space, Real >::w_n1, peclet::flow::GpOverlayT< Space, Real >::w_n2, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::maxOpenDivergenceInternal(), and peclet::flow::Solver< Grid >::projectAssembleDivergence().
|
inline |
0 = off (default). Read once per call; cheap enough, and keeps the flag hot-swappable in tests.
Definition at line 51 of file ghost_projection_debug.hpp.
Referenced by gpDebugReport().
|
inline |
Definition at line 65 of file ghost_projection_debug.hpp.
References peclet::flow::GpOverlayT< Space, Real >::cell, peclet::flow::GpOverlayT< Space, Real >::coupled, peclet::flow::GpOverlayT< Space, Real >::rescale, peclet::flow::GpOverlayT< Space, Real >::state, peclet::flow::GpOverlayT< Space, Real >::th, peclet::flow::GpOverlayT< Space, Real >::w_n1, peclet::flow::GpOverlayT< Space, Real >::w_n2, peclet::flow::GpOverlayT< Space, Real >::wm_n1, and peclet::flow::GpOverlayT< Space, Real >::wm_n2.
Referenced by gpDebugReport().
|
inline |
Face census of row s into c; returns the row's max |closure weight|.
Definition at line 101 of file ghost_projection_debug.hpp.
Referenced by gpRowCensus().
|
inline |
Definition at line 126 of file ghost_projection_debug.hpp.
References gpRowFaceCensus().
Referenced by gpDebugReport().
|
inline |
Definition at line 155 of file ghost_projection_debug.hpp.
References rhoAt(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by gpDebugReport().
|
inline |
Definition at line 187 of file ghost_projection_debug.hpp.
References gpStateName.
Referenced by gpDebugReport().
|
inline |
The 20 worst rows by rho, with their full face anatomy.
Definition at line 213 of file ghost_projection_debug.hpp.
References gpStateName, peclet::flow::C3::x, and peclet::flow::C3::y.
Referenced by gpDebugReport().
|
inline |
PECLET_FLOW_GP_DEBUG=2: every overlay row to <PECLET_FLOW_GP_DEBUG_FILE>_rank<r>.bin (record layout in the file header).
Definition at line 238 of file ghost_projection_debug.hpp.
References peclet::flow::C3::x, and peclet::flow::C3::y.
Referenced by gpDebugReport().
|
inline |
Census + optional per-row dump of the built overlay.
nn is the inner grid, nRows the row count returned by buildGpOverlay, idMap the inner-cell -> row map (-1 = no row). rank only labels the output. Host-side; copies the overlay out of device memory once.
Definition at line 281 of file ghost_projection_debug.hpp.
References gpDebugLevel(), gpDumpRows(), gpOverlayRowsToHost(), gpPrintCensus(), gpPrintWorstRows(), gpRhoMismatch(), gpRowCensus(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Definition at line 31 of file mac_approx_projection.hpp.
References U.
Referenced by peclet::flow::Solver< Grid >::projectAssembleDivergence(), and peclet::flow::Solver< Grid >::seedFaceFieldFromCells().
| int peclet::flow::wallAwareFaceStencil | ( | CCConst | sdf, |
| long | i, | ||
| long | sa, | ||
| int | cFace, | ||
| int | eAxis, | ||
| double | xcen, | ||
| long | idx[3], | ||
| double | w[3] ) |
Definition at line 69 of file mac_approx_projection.hpp.
Referenced by transposeGradWallAware(), and wallAwareFaceValue().
| double peclet::flow::wallAwareFaceValue | ( | CCConst | U, |
| CCConst | sdf, | ||
| long | i, | ||
| long | sa, | ||
| int | cFace, | ||
| int | eAxis, | ||
| double | xcen ) |
Definition at line 127 of file mac_approx_projection.hpp.
References U, and wallAwareFaceStencil().
Referenced by centerToFaceWallAware().
|
inline |
Definition at line 144 of file mac_approx_projection.hpp.
References ccSampleExt().
Referenced by peclet::flow::Solver< Grid >::setSolidBuildOpenness().
|
inline |
Definition at line 203 of file mac_approx_projection.hpp.
References U, and wallAwareFaceValue().
Referenced by peclet::flow::Solver< Grid >::projectAssembleDivergence(), and peclet::flow::Solver< Grid >::seedFaceFieldFromCells().
|
inline |
Definition at line 242 of file mac_approx_projection.hpp.
References wallAwareFaceStencil().
Referenced by peclet::flow::Solver< Grid >::buildRhs(), and peclet::flow::Solver< Grid >::buildRhsForced().
Definition at line 275 of file mac_approx_projection.hpp.
References ccSampleExt().
Referenced by peclet::flow::Solver< Grid >::buildVofGeometry(), and peclet::flow::Solver< Grid >::setSolidBuildOpenness().
| double peclet::flow::eQuad | ( | double | xx, |
| double | a1, | ||
| double | a2, | ||
| double | a3 ) |
Definition at line 307 of file mac_approx_projection.hpp.
Referenced by embedDirichletGradient().
| double peclet::flow::embedDirichletGradient | ( | CCConst | U, |
| CCConst | sdf, | ||
| C3 | e, | ||
| int | x, | ||
| int | y, | ||
| int | z, | ||
| double | nx, | ||
| double | ny, | ||
| double | nz, | ||
| double | px, | ||
| double | py, | ||
| double | pz ) |
Definition at line 330 of file mac_approx_projection.hpp.
Referenced by embedViscousApply().
|
inline |
Definition at line 433 of file mac_approx_projection.hpp.
References embedDirichletGradient(), and U.
Referenced by peclet::flow::Solver< Grid >::buildRhs().
|
inline |
Definition at line 482 of file mac_approx_projection.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::buildRhs().
Definition at line 499 of file mac_approx_projection.hpp.
|
inline |
Definition at line 518 of file mac_approx_projection.hpp.
Referenced by peclet::flow::Solver< Grid >::buildRhs().
|
inline |
Definition at line 536 of file mac_approx_projection.hpp.
|
inline |
Definition at line 573 of file mac_approx_projection.hpp.
|
inline |
Definition at line 70 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims(), and peclet::flow::bcdetail::velFaceColumn().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcFace(), bcSlipComp(), and main().
|
inline |
Definition at line 106 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims(), peclet::flow::BcVelFaces::j, peclet::flow::BcVelFaces::n, and peclet::flow::bcdetail::velFaceColumn().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcAll(), and peclet::flow::Solver< Grid >::applyVelocityBcCompTo().
Definition at line 138 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims(), and bcVelocityComp().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcFace().
Definition at line 169 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcCompTo(), and peclet::flow::Solver< Grid >::extendSdfDomainGhosts().
|
inline |
Definition at line 200 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcCompTo().
| void peclet::flow::bcNeumannGhostCell | ( | const FV & | f, |
| long | base, | ||
| long | sa, | ||
| int | bic, | ||
| int | lo, | ||
| int | hi ) |
Definition at line 229 of file mac_bc.hpp.
Referenced by bcNeumannGhostT().
| void peclet::flow::bcZeroPressureGhostCell | ( | const FV & | phi, |
| long | base, | ||
| long | sa, | ||
| int | lo, | ||
| int | hi ) |
Definition at line 236 of file mac_bc.hpp.
Referenced by bcZeroPressureGhost().
Definition at line 247 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims(), and bcNeumannGhostCell().
Referenced by peclet::flow::CutcellMG::applyNeumannGhostT(), and bcNeumannGhost().
Definition at line 265 of file mac_bc.hpp.
References bcNeumannGhostT().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcCompTo(), peclet::flow::Solver< Grid >::buildOpenFaceField(), and peclet::flow::Solver< Grid >::extendSdfDomainGhosts().
|
inline |
Definition at line 270 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::applyVelocityBcFace().
|
inline |
Definition at line 300 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::setupBcDiffusion().
Definition at line 321 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims(), and bcZeroPressureGhostCell().
Referenced by peclet::flow::CutcellMG::applyOutflowGhost(), and peclet::flow::Solver< Grid >::projectSolve().
|
inline |
Definition at line 345 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
|
inline |
Definition at line 375 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Definition at line 407 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::fillFaceGhostsKeepBoundary(), and peclet::flow::Solver< Grid >::fillVelGhostsTo().
|
inline |
Definition at line 423 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::fillFaceGhostsKeepBoundary(), and peclet::flow::Solver< Grid >::fillVelGhostsTo().
|
inline |
Definition at line 450 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::fillVelGhostsTo().
|
inline |
Definition at line 466 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims().
Referenced by peclet::flow::Solver< Grid >::fillVelGhostsTo().
Definition at line 488 of file mac_bc.hpp.
References peclet::flow::bcdetail::axisDims(), and val().
Referenced by peclet::flow::CutcellMG::applyBoundaryOpennessFrom(), and bcZeroOpenness().
Definition at line 504 of file mac_bc.hpp.
References bcSetOpenness().
Referenced by main(), and peclet::flow::Solver< Grid >::setSolidBuildOpenness().
|
inline |
Gershgorin bounds [lo, hi] on the spectrum of the Jacobi-preconditioned cut-cell Helmholtz diag(AC)^-1 A, over the UNPINNED rows of the inner block.
Both are rigorous: lo <= lambda_min and hi >= lambda_max, so Chebyshev on [lo, hi] is unconditionally convergent. A loose lo only slows it down; a hi below lambda_max would diverge, which is why this is arithmetic and not an estimate. Rows with a vanishing diagonal (never solved) are skipped.
Definition at line 41 of file mac_cheb_momentum.hpp.
References AC.
Referenced by peclet::flow::VelocityMG::chebLevelBounds(), and peclet::flow::Solver< Grid >::chebSolveComp().
|
inline |
One Chebyshev update on the Jacobi-preconditioned system: d <- beta*d + alpha*r/AC ; x += d.
Pinned (solid) rows are held at zero exactly as the red-black smoother holds them, so the two solvers share a fixed point. r is expected to be the pin-aware residual (residualVarPin), which is already zero there.
Definition at line 88 of file mac_cheb_momentum.hpp.
References AC.
Referenced by peclet::flow::VelocityMG::chebSmooth(), and peclet::flow::Solver< Grid >::chebSolveComp().
| double peclet::flow::ccFractionCore | ( | double | sd, |
| double | sxp, | ||
| double | sxm, | ||
| double | syp, | ||
| double | sym, | ||
| double | szp, | ||
| double | szm, | ||
| int | type, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz ) |
Definition at line 60 of file mac_cutcell.hpp.
Referenced by ccFaceOpen(), and main().
Definition at line 84 of file mac_cutcell.hpp.
References F, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by buildCellFraction(), buildFaceCentroidDist(), peclet::flow::Solver< Grid >::buildWallVelocity(), ccFaceOpen(), ccFaceOpenMS(), peclet::flow::Solver< Grid >::checkMovingInstancesAreCut(), ibmCleanFluidMask(), ibmSolidMask(), and ibmVolfrac().
| double peclet::flow::ccFaceOpen | ( | CCConst | sdf, |
| C3 | ext, | ||
| double | fx, | ||
| double | fy, | ||
| double | fz, | ||
| int | type, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz ) |
Definition at line 105 of file mac_cutcell.hpp.
References ccFractionCore(), and ccSampleExt().
Referenced by buildOpenness(), and buildOpennessHighFace().
| double peclet::flow::ccTriFrac | ( | double | a, |
| double | b, | ||
| double | c ) |
Definition at line 121 of file mac_cutcell.hpp.
Referenced by ccFaceOpenMS().
| double peclet::flow::ccFaceOpenMS | ( | CCConst | sdf, |
| C3 | ext, | ||
| double | fx, | ||
| double | fy, | ||
| double | fz, | ||
| int | type ) |
Definition at line 176 of file mac_cutcell.hpp.
References ccSampleExt(), and ccTriFrac().
Referenced by buildOpenness(), and buildOpennessHighFace().
|
inline |
Definition at line 215 of file mac_cutcell.hpp.
References ccFaceOpen(), ccFaceOpenMS(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by main(), and peclet::flow::Solver< Grid >::setSolidBuildOpenness().
|
inline |
Definition at line 250 of file mac_cutcell.hpp.
References ccFaceOpen(), ccFaceOpenMS(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::setSolidBuildOpenness().
|
inline |
Definition at line 292 of file mac_cutcell.hpp.
References kHostSerialCellCutoff.
Referenced by ccBoxShellRuns(), peclet::flow::ccdetail::ccRows3(), ccWrapForPeeled(), cutcellSmoothColor(), cutcellSmoothColorBox(), cutcellSmoothColorFace(), cutcellSmoothColorFaceWrap(), cutcellSmoothColorFp32Box(), cutcellSmoothColorFp32Wrap(), peclet::flow::Solver< Grid >::fillPeriodicAxes(), peclet::flow::smg::fillShell(), peclet::flow::CutcellMG::fillWrap(), lineRelaxColor(), peclet::flow::smg::sweepColorBand(), peclet::flow::smg::sweepColorFace(), peclet::flow::smg::sweepColorTwo(), and peclet::flow::smg::zeroPlanes().
Definition at line 385 of file mac_cutcell.hpp.
References peclet::flow::ccdetail::ccRows3(), and F.
Referenced by peclet::flow::sco::addOnUnknown(), peclet::flow::sco::advectionBands(), peclet::flow::sco::advectionResidual(), applyCutcellOp(), applyCutcellOpBox(), applyCutcellOpBoxFace(), applyCutcellOpExact(), applyCutcellOpExactBox(), applyCutcellOpExactWrap(), applyCutcellOpFace(), applyCutcellOpFaceWrap(), peclet::flow::ScalarMG::applySurrogate(), peclet::flow::ScalarMG::applySurrogateTwo(), peclet::flow::ScalarMG::assembleBands(), peclet::flow::ScalarMG::assembleCoarse(), peclet::flow::skr::axpy(), peclet::flow::skr::aypx(), peclet::flow::sco::buildBands(), peclet::flow::ScalarMG::buildCoarse(), peclet::flow::ScalarMG::buildCoarseSolid(), buildCutcellOp(), buildCutcellOpFace(), peclet::flow::ScalarMG::buildLevel0Faces(), peclet::flow::ScalarMG::buildLevel0SolidFaces(), buildPorousCoeff(), buildPorousCoeffCons(), buildPorousCoeffDrag(), buildRhoCoeff(), buildRhoCoeffHarm(), peclet::flow::sco::buildRhs(), peclet::flow::Solver< Grid >::buildRhs(), peclet::flow::Solver< Grid >::buildRhsVar(), peclet::flow::sco::buildSolidMaterial(), peclet::flow::sco::clampNonNegative(), peclet::flow::ScalarMG::coarsenAdvection(), coarsenOpenAvg(), peclet::flow::ScalarMG::contraction(), peclet::flow::Solver< Grid >::copyBlockShifted(), peclet::flow::FlowReference::copyInner(), peclet::flow::Solver< Grid >::copyInner(), divergOpen(), divergOpenEps(), entryFp32(), peclet::flow::CutcellMG::exitFp32(), peclet::flow::sco::explicitAdvectionRhs(), peclet::flow::sco::explicitFaceFluxes(), peclet::flow::sco::faceFluxes(), fp32AddDouble(), peclet::flow::vof::VofBlockExchange::gatherLocalLaunch(), ibmBuildDiffusionVar(), peclet::flow::sco::meanGradientAdvectionRhs(), peclet::flow::sco::meanGradientFaceRhs(), peclet::flow::CutcellMG::meanSubtractHostCounted(), projectCorrect(), projectCorrectPorousCons(), projectCorrectPorousDrag(), projectCorrectVar(), projectCorrectVarHarm(), peclet::flow::CutcellMG::projectedGuess(), prolongAdd(), prolongConstAdd(), prolongConstFp32(), prolongConstFp32FromD(), prolongFp32(), prolongFp32FromD(), peclet::flow::CutcellMG::removeMean(), peclet::flow::ScalarMG::removeMean(), peclet::flow::ScalarMG::removeMeanTwo(), peclet::flow::skr::residentP(), peclet::flow::skr::residentS(), peclet::flow::skr::residentXHalf(), peclet::flow::skr::residentXR(), peclet::flow::smg::residualBand(), residualCutcell(), residualCutcellBox(), residualCutcellBoxFace(), residualCutcellFace(), residualCutcellFaceWrap(), peclet::flow::smg::residualFace(), peclet::flow::sco::residualFluxForm(), residualFp32Box(), residualFp32Wrap(), peclet::flow::skr::residualFrom(), peclet::flow::smg::residualTwo(), residualVarPin(), restrictAvg(), restrictAvgZeroX(), restrictFp32ToDZeroX(), restrictFp32ZeroX(), peclet::flow::smg::restrictMax(), peclet::flow::sco::smallCells(), peclet::flow::sco::solidBands(), peclet::flow::sco::solidFaceProducts(), peclet::flow::sco::solidMass(), peclet::flow::sco::solidMeanGradientFaceRhs(), peclet::flow::sco::solidResidualFluxForm(), peclet::flow::sco::solidRhs(), peclet::flow::sco::zeroNonUnknown(), and peclet::flow::smg::zeroPinned().
Definition at line 390 of file mac_cutcell.hpp.
References peclet::flow::ccdetail::ccRows3(), and F.
Referenced by buildCutcellOpFaceFp32().
|
inline |
Definition at line 408 of file mac_cutcell.hpp.
References hostRunSerial(), kShellRunCells, run(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by applyCutcellOpBoxFace(), applyCutcellOpExactBox(), cutcellSmoothColorBoxFace(), and residualCutcellBoxFace().
| CcNbrs peclet::flow::ccMaskNbrs | ( | int | lx, |
| int | ly, | ||
| int | lz, | ||
| C3 | n, | ||
| int | g, | ||
| long | i, | ||
| long | sy, | ||
| long | sz, | ||
| int | m ) |
Definition at line 483 of file mac_cutcell.hpp.
Referenced by applyCutcellOpBoxFace(), applyCutcellOpExactBox(), ccMaskRow(), cutcellSmoothColorBoxFace(), cutcellSmoothColorFp32Box(), lineColumnSolve(), residualCutcellBoxFace(), and residualFp32Box().
| void peclet::flow::ccMaskRow | ( | int | ly, |
| int | lz, | ||
| int | lx0, | ||
| int | x1, | ||
| int | step, | ||
| C3 | e, | ||
| C3 | n, | ||
| int | g, | ||
| int | m, | ||
| const Cell & | cell ) |
Definition at line 499 of file mac_cutcell.hpp.
References ccMaskNbrs(), and PECLET_FLOW_OMP_SIMD.
Referenced by applyCutcellOpBoxFace(), applyCutcellOpExactBox(), cutcellSmoothColorBoxFace(), and residualCutcellBoxFace().
|
inline |
Definition at line 560 of file mac_cutcell.hpp.
References F, R, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::sco::bulkCourantLocal(), ccReduce3Lanes(), peclet::flow::sco::countImplicitLocal(), peclet::flow::sco::countSmallLocal(), peclet::flow::ScalarMG::countUnknown(), peclet::flow::ScalarMG::countUnknownS(), peclet::flow::sco::dotReduce(), peclet::flow::sco::dotTwoReduce(), peclet::flow::Solver< Grid >::ensureScalarSolidRecord(), peclet::flow::CutcellMG::fp32DecoupledCounts(), peclet::flow::CutcellMG::guessTraceExit(), peclet::flow::sco::maxAbsFluxLocal(), peclet::flow::CutcellMG::maxabsLocal(), peclet::flow::sco::maxabsReduce(), peclet::flow::CutcellMG::maxabsTo(), peclet::flow::sco::maxCellPecletLocal(), peclet::flow::CutcellMG::meanSubtractMaxTo(), peclet::flow::ScalarMG::norm2(), peclet::flow::CutcellMG::noteFluidCells(), peclet::flow::CutcellMG::noteFluidCellsDevice(), peclet::flow::CutcellMG::pcgUpdateMeanMaxDist(), peclet::flow::ScalarMG::removeMean(), peclet::flow::ScalarMG::removeMeanTwo(), residualVarPinMax(), p0bench::runC0(), and peclet::flow::sco::sourceSumLocal().
|
inline |
Definition at line 621 of file mac_cutcell.hpp.
References ccReduce3(), F, peclet::flow::ccdetail::laneRow(), R, value(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::copyDotTo(), peclet::flow::CutcellMG::dot(), peclet::flow::CutcellMG::dotPair(), peclet::flow::CutcellMG::dotTo(), peclet::flow::CutcellMG::exitFp32(), peclet::flow::CutcellMG::matvecDotTo(), peclet::flow::CutcellMG::matvecGuessDots(), peclet::flow::CutcellMG::meanSumHostCounted(), peclet::flow::CutcellMG::pcgUpdateMeanMaxDist(), peclet::flow::CutcellMG::pcgUpdateSum(), peclet::flow::CutcellMG::removeMean(), peclet::flow::CutcellMG::removeMeanDotDist(), peclet::flow::CutcellMG::removeMeanDotTo(), and p0bench::runC0().
| void peclet::flow::coarsenOpenAvgCell | ( | const CV & | oxc, |
| const CV & | oyc, | ||
| const CV & | ozc, | ||
| const FV & | oxf, | ||
| const FV & | oyf, | ||
| const FV & | ozf, | ||
| C3 | cext, | ||
| C3 | fext, | ||
| int | gc, | ||
| int | gf, | ||
| C3 | ratio, | ||
| int | icx, | ||
| int | icy, | ||
| int | icz ) |
Definition at line 94 of file mac_cutcell_mg.hpp.
References F, peclet::flow::C3::x, and peclet::flow::C3::y.
Referenced by peclet::flow::ScalarMG::buildCoarse(), peclet::flow::ScalarMG::buildCoarseSolid(), peclet::flow::ScalarMG::coarsenAdvection(), and coarsenOpenAvg().
|
inline |
Definition at line 120 of file mac_cutcell_mg.hpp.
References ccFor3(), coarsenOpenAvgCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::setOpenness().
Definition at line 146 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::saveOutflowPlanes().
|
inline |
Definition at line 161 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::applyBoundaryOpennessFrom().
|
inline |
Definition at line 183 of file mac_cutcell_mg.hpp.
References peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::applyBoundaryOpennessFrom().
| void peclet::flow::cutcellResidualCell | ( | const RV & | r, |
| const XV & | x, | ||
| const BV & | b, | ||
| const OpV & | AC, | ||
| const OpV & | AW, | ||
| const OpV & | AE, | ||
| const OpV & | AS, | ||
| const OpV & | AN, | ||
| const OpV & | AB, | ||
| const OpV & | AT, | ||
| long | i, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 218 of file mac_cutcell_mg.hpp.
References AC.
Referenced by residualCutcell(), and residualCutcellBox().
|
inline |
Definition at line 228 of file mac_cutcell_mg.hpp.
References AC, ccFor3(), and cutcellResidualCell().
Referenced by DistMG::vcycle().
|
inline |
Definition at line 242 of file mac_cutcell_mg.hpp.
References AC, ccFor3(), cutcellResidualCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Definition at line 258 of file mac_cutcell_mg.hpp.
References AC, ccFor3(), and cutcellResidualFaceCell().
Referenced by peclet::flow::CutcellMG::graphAmgSolveBottom(), and peclet::flow::CutcellMG::vcycleImpl().
|
inline |
Definition at line 269 of file mac_cutcell_mg.hpp.
References AC, ccBoxShellRuns(), ccFor3(), ccMaskNbrs(), ccMaskRow(), cutcellResidualFaceCell(), PECLET_FLOW_OMP_SIMD, run(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleImpl().
Definition at line 341 of file mac_cutcell_mg.hpp.
Referenced by applyCutcellOpExactWrap(), applyCutcellOpFaceWrap(), ccWrapRowPeeled(), cutcellSmoothColorFaceWrap(), cutcellSmoothColorFp32Wrap(), peclet::flow::CutcellMG::matvecDotTo(), peclet::flow::CutcellMG::matvecGuessDots(), peclet::flow::BottomKernel< FacReal >::operator()(), residualCutcellFaceWrap(), residualFp32Wrap(), p0bench::smoothFluxPass(), p0bench::smoothPeeledFp64(), and peclet::flow::BottomLabelKernel::sweep().
| void peclet::flow::ccWrapRowPeeled | ( | int | ly, |
| int | lz, | ||
| C3 | e, | ||
| C3 | n, | ||
| int | g, | ||
| int | lx0, | ||
| int | step, | ||
| const Cell & | cell ) |
Definition at line 359 of file mac_cutcell_mg.hpp.
References ccWrapNbrs(), and PECLET_FLOW_OMP_SIMD.
Referenced by ccWrapForPeeled(), cutcellSmoothColorFaceWrap(), and cutcellSmoothColorFp32Wrap().
|
inline |
Definition at line 395 of file mac_cutcell_mg.hpp.
References ccWrapRowPeeled(), and hostRunSerial().
Referenced by applyCutcellOpExactWrap(), residualCutcellFaceWrap(), and residualFp32Wrap().
|
inline |
Definition at line 411 of file mac_cutcell_mg.hpp.
References AC, ccWrapNbrs(), ccWrapRowPeeled(), cutcellSmoothFaceCell(), and hostRunSerial().
Referenced by p0bench::checkPeeled(), p0bench::runP0(), and peclet::flow::CutcellMG::smooth().
|
inline |
Definition at line 452 of file mac_cutcell_mg.hpp.
References AC, ccFor3(), ccWrapForPeeled(), ccWrapNbrs(), and cutcellResidualFaceCell().
Referenced by peclet::flow::CutcellMG::vcycleImpl().
|
inline |
Definition at line 474 of file mac_cutcell_mg.hpp.
References AC, ccFor3(), ccWrapNbrs(), and cutcellApplyFaceCell().
Referenced by peclet::flow::CutcellMG::matvecOverlap().
|
inline |
Definition at line 486 of file mac_cutcell_mg.hpp.
References ccFor3(), ccWrapForPeeled(), ccWrapNbrs(), and cutcellApplyExactCell().
Referenced by peclet::flow::CutcellMG::matvecOverlap().
| void peclet::flow::restrictAvgCell | ( | const CV & | coarse, |
| const FV & | fine, | ||
| C3 | cext, | ||
| C3 | fext, | ||
| int | gc, | ||
| int | gf, | ||
| C3 | ratio, | ||
| int | icx, | ||
| int | icy, | ||
| int | icz ) |
Definition at line 513 of file mac_cutcell_mg.hpp.
References peclet::flow::C3::x, and peclet::flow::C3::y.
Referenced by peclet::flow::ScalarMG::buildCoarse(), restrictAvg(), and restrictAvgZeroX().
| void peclet::flow::prolongAddCell | ( | const FV & | fine, |
| const CV & | coarse, | ||
| C3 | fext, | ||
| C3 | cext, | ||
| int | gf, | ||
| int | gc, | ||
| C3 | ratio, | ||
| int | ifx, | ||
| int | ify, | ||
| int | ifz ) |
Definition at line 529 of file mac_cutcell_mg.hpp.
References peclet::flow::C3::x, and peclet::flow::C3::y.
Referenced by prolongAdd().
| void peclet::flow::prolongConstAddCell | ( | const FV & | fine, |
| const CV & | coarse, | ||
| C3 | fext, | ||
| C3 | cext, | ||
| int | gf, | ||
| int | gc, | ||
| C3 | ratio, | ||
| int | ifx, | ||
| int | ify, | ||
| int | ifz ) |
Definition at line 560 of file mac_cutcell_mg.hpp.
References peclet::flow::C3::x, and peclet::flow::C3::y.
Referenced by prolongConstAdd().
| void peclet::flow::meanSubtractCell | ( | const FV & | f, |
| const AV & | ac, | ||
| long | i, | ||
| double | mean ) |
Definition at line 573 of file mac_cutcell_mg.hpp.
References mean().
Referenced by peclet::flow::CutcellMG::meanSubtractHostCounted(), peclet::flow::CutcellMG::meanSubtractMaxTo(), peclet::flow::CutcellMG::pcgUpdateMeanMaxDist(), peclet::flow::CutcellMG::removeMean(), peclet::flow::CutcellMG::removeMeanDotDist(), and peclet::flow::CutcellMG::removeMeanDotTo().
|
inline |
Definition at line 577 of file mac_cutcell_mg.hpp.
References ccFor3(), restrictAvgCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::ScalarMG::buildCoarse(), peclet::flow::ScalarMG::buildCoarseSolid(), peclet::flow::VelocityMG::restrictAdvVelocities(), peclet::flow::ScalarMG::restrictZeroX(), peclet::flow::VelocityMG::setStaircase(), DistMG::vcycle(), peclet::flow::VelocityMG::vcycle(), and peclet::flow::CutcellMG::vcycleImpl().
|
inline |
Definition at line 590 of file mac_cutcell_mg.hpp.
References ccFor3(), restrictAvgCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::ScalarMG::restrictZeroX(), and peclet::flow::CutcellMG::vcycleImpl().
|
inline |
Definition at line 612 of file mac_cutcell_mg.hpp.
References AC, ccForRows3(), cutcellBuildFaceOpCell(), kOpFp64Full, and kOpFp64None.
Referenced by peclet::flow::CutcellMG::buildFp32Weights(), peclet::flow::CutcellMG::ensureFp64(), and peclet::flow::CutcellMG::setOpenness().
|
inline |
Definition at line 647 of file mac_cutcell_mg.hpp.
References ccFor3(), prolongAddCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by DistMG::vcycle(), peclet::flow::ScalarMG::vcycle(), peclet::flow::VelocityMG::vcycle(), peclet::flow::CutcellMG::vcycleImpl(), and peclet::flow::ScalarMG::vcycleTwo().
|
inline |
Definition at line 656 of file mac_cutcell_mg.hpp.
References ccFor3(), prolongConstAddCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleImpl().
|
inline |
Definition at line 1067 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::directBottomSolve(), peclet::flow::CutcellMG::evalBottomComponents(), peclet::flow::CutcellMG::init(), peclet::flow::CutcellMG::noteBicgExit(), peclet::flow::CutcellMG::solveChebyshev(), peclet::flow::CutcellMG::solveFCGAttempt(), peclet::flow::CutcellMG::solvePCGAttempt(), peclet::flow::CutcellMG::solvePCGResident(), peclet::flow::CutcellMG::startResidual(), and peclet::flow::CutcellMG::vcycle().
|
inline |
Definition at line 1074 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::directBottomSolve(), peclet::flow::CutcellMG::noteBicgExit(), peclet::flow::CutcellMG::solveChebyshev(), peclet::flow::CutcellMG::solveFCGAttempt(), peclet::flow::CutcellMG::solvePCGAttempt(), peclet::flow::CutcellMG::solvePCGResident(), and peclet::flow::CutcellMG::startResidual().
| bool peclet::flow::ibmIsCut | ( | Real | sc, |
| const Real | sn[6] ) |
Definition at line 46 of file mac_ibm.hpp.
Referenced by ibmCleanFluidMask().
|
inline |
slipLambda (WO-V6b, in CELLS, 0 = the validated no-slip closure) + comp (which velocity component this overlay carries: 0/1/2, -1 = none) turn the tangential wall Dirichlet datum into a NAVIER condition u_t(wall) = lambda du_t/dn.
Per cut cell the unit normal comes from the central difference of the SAME seven SDF samples the closure uses (grad sdf points into the fluid); the component's TANGENTIAL weight is s = 1 - n_comp^2 (0 for the component parallel to the wall normal – that one stays a pure impermeability Dirichlet – 1 for a purely tangential one), and the slip length measured along axis a is s*lambda/|n_a|, because the wall distance along that axis is the normal distance divided by |n_a|. The closure then depends only on lam_a/theta_a = s*lambda/d, the physically meaningful ratio, so the |n_a| division is self-consistent rather than a fudge.
APPROXIMATION, stated because it is not visible from the call: the projector is taken DIAGONAL, u_t,comp ~ (1 - n_comp^2) u_comp; the cross terms -n_comp n_j u_j (j != comp) are dropped. They are EXACTLY zero for an axis-aligned wall (every gate scene), and O(n_c n_j) elsewhere; carrying them would couple the three segregated component solves. sandwichSkipped (optional) counts the axes where a one-cell fluid gap made the slip closure inapplicable and the no-slip one was kept.
PHASE 2 (anisotropic cells, doc/anisotropic_metric.md §6.4). NOTHING in ibmFillEntry reads a distance — theta, D, K, M, X, Nbc, R and D_rescale are all functions of the crossing fractions along an axis, which are invariant under any positive scaling of the SDF. The metric enters in exactly ONE place, the Navier slip length: the Robin condition along axis a reduces with d/dn = (1/(h_a |n_a|)) d/dxi_a, so the slip length measured in CELLS along that axis is the physical one divided by the physical cell size h_a' AND by |n_a| of the PHYSICAL normal. The normal itself is the seven-sample gradient rescaled per axis and renormalised, n_a = (g_a/h_a')/|g/h'| (§6.1), and s = 1 - n_c^2 uses that same n. hp enters in FLOAT and 1.0f is exact (trap 9), so the isotropic path is bit-identical.
Definition at line 88 of file mac_ibm.hpp.
Referenced by peclet::flow::Solver< Grid >::buildVelocityOverlays(), and main().
|
inline |
Definition at line 188 of file mac_ibm.hpp.
References ccSampleExt(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by main(), and peclet::flow::Solver< Grid >::smoothComp().
Definition at line 249 of file mac_ibm.hpp.
References ccSampleExt(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::buildVelocityOverlays(), and main().
Definition at line 262 of file mac_ibm.hpp.
References ccSampleExt(), ibmIsCut(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 287 of file mac_ibm.hpp.
References AC, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by ibmRbgsSweep(), main(), peclet::flow::VelocityMG::smooth(), and peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 342 of file mac_ibm.hpp.
References AC, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 410 of file mac_ibm.hpp.
References AC, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::VelocityMG::smooth(), and peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 446 of file mac_ibm.hpp.
References AC, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 484 of file mac_ibm.hpp.
References AC, and ibmRbgsStencilColor().
Referenced by main().
Definition at line 22 of file mac_mg.hpp.
References N.
Referenced by peclet::flow::MgPoisson::computeResidual(), peclet::flow::MgPoisson::smooth(), and peclet::flow::MgPoisson::vcycle().
| void peclet::flow::cutcellSmoothCell | ( | const PV & | phi, |
| const BV & | b, | ||
| const OpV & | AC, | ||
| const OpV & | AW, | ||
| const OpV & | AE, | ||
| const OpV & | AS, | ||
| const OpV & | AN, | ||
| const OpV & | AB, | ||
| const OpV & | AT, | ||
| long | i, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 52 of file mac_pressure.hpp.
References AC.
Referenced by cutcellSmoothColor(), and cutcellSmoothColorBox().
| double peclet::flow::cutcellApplyCell | ( | const XV & | x, |
| const OpV & | AC, | ||
| const OpV & | AW, | ||
| const OpV & | AE, | ||
| const OpV & | AS, | ||
| const OpV & | AN, | ||
| const OpV & | AB, | ||
| const OpV & | AT, | ||
| long | i, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 66 of file mac_pressure.hpp.
References AC.
Referenced by applyCutcellOp(), and applyCutcellOpBox().
| double peclet::flow::cutcellApplyExactCell | ( | const XV & | x, |
| const OV & | ox, | ||
| const OV & | oy, | ||
| const OV & | oz, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm, | ||
| double | gfx, | ||
| double | gfy, | ||
| double | gfz ) |
Definition at line 75 of file mac_pressure.hpp.
Referenced by applyCutcellOpExact(), applyCutcellOpExactBox(), applyCutcellOpExactWrap(), peclet::flow::CutcellMG::matvecDotTo(), and peclet::flow::CutcellMG::matvecGuessDots().
|
inline |
Definition at line 86 of file mac_pressure.hpp.
References AC, ccFor3(), and cutcellBuildOpCell().
Referenced by DistMG::init(), and main().
| void peclet::flow::cutcellBuildFaceOpCell | ( | const OpV & | AC, |
| const OpV & | AFX, | ||
| const OpV & | AFY, | ||
| const OpV & | AFZ, | ||
| const OV & | ox, | ||
| const OV & | oy, | ||
| const OV & | oz, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| double | gfx, | ||
| double | gfy, | ||
| double | gfz, | ||
| bool | diag ) |
Definition at line 119 of file mac_pressure.hpp.
References AC.
Referenced by buildCutcellOpFace(), and buildCutcellOpFaceFp32().
| void peclet::flow::cutcellSmoothFaceCell | ( | const PV & | phi, |
| const BV & | b, | ||
| const OpV & | AC, | ||
| const OpV & | AFX, | ||
| const OpV & | AFY, | ||
| const OpV & | AFZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 137 of file mac_pressure.hpp.
References AC.
Referenced by cutcellSmoothColorBoxFace(), cutcellSmoothColorFace(), cutcellSmoothColorFaceWrap(), p0bench::smoothPeeledFp64(), and peclet::flow::smg::sweepColorFace().
| double peclet::flow::cutcellApplyFaceCell | ( | const XV & | x, |
| const OpV & | AC, | ||
| const OpV & | AFX, | ||
| const OpV & | AFY, | ||
| const OpV & | AFZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 149 of file mac_pressure.hpp.
References AC.
Referenced by applyCutcellOpBoxFace(), applyCutcellOpFace(), applyCutcellOpFaceWrap(), peclet::flow::ScalarMG::applySurrogate(), peclet::flow::CutcellMG::matvecDotTo(), peclet::flow::CutcellMG::matvecGuessDots(), peclet::flow::BottomKernel< FacReal >::operator()(), and peclet::flow::LineRowFp64< OpV >::res().
| void peclet::flow::cutcellResidualFaceCell | ( | const RV & | r, |
| const XV & | x, | ||
| const BV & | b, | ||
| const OpV & | AC, | ||
| const OpV & | AFX, | ||
| const OpV & | AFY, | ||
| const OpV & | AFZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 157 of file mac_pressure.hpp.
References AC.
Referenced by residualCutcellBoxFace(), residualCutcellFace(), residualCutcellFaceWrap(), and peclet::flow::smg::residualFace().
|
inline |
Definition at line 171 of file mac_pressure.hpp.
References AC, ccFor3(), and cutcellBuildFaceOpCell().
Referenced by peclet::flow::CutcellMG::buildGlobalBottomOp(), peclet::flow::CutcellMG::ensureFp64(), p0bench::runP0(), and peclet::flow::CutcellMG::setOpenness().
|
inline |
Definition at line 185 of file mac_pressure.hpp.
References AC, cutcellSmoothFaceCell(), hostRunSerial(), and PECLET_FLOW_OMP_SIMD.
Referenced by peclet::flow::CutcellMG::smooth().
|
inline |
Definition at line 228 of file mac_pressure.hpp.
References AC, ccBoxShellRuns(), ccMaskNbrs(), ccMaskRow(), cutcellSmoothFaceCell(), PECLET_FLOW_OMP_SIMD, run(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::smooth().
|
inline |
Definition at line 298 of file mac_pressure.hpp.
References AC, ccFor3(), and cutcellApplyFaceCell().
Referenced by peclet::flow::CutcellMG::gpMatvec(), and peclet::flow::CutcellMG::matvecOverlap().
|
inline |
Definition at line 310 of file mac_pressure.hpp.
References AC, ccBoxShellRuns(), ccFor3(), ccMaskNbrs(), ccMaskRow(), cutcellApplyFaceCell(), PECLET_FLOW_OMP_SIMD, run(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::matvecOverlap().
|
inline |
Definition at line 369 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::constraintDivergence(), peclet::flow::Solver< Grid >::maxOpenDivergenceInternal(), peclet::flow::Solver< Grid >::maxOpenDivergenceProjectedInternal(), and peclet::flow::Solver< Grid >::projectAssembleDivergence().
|
inline |
Definition at line 385 of file mac_pressure.hpp.
References AC, cutcellSmoothCell(), hostRunSerial(), and PECLET_FLOW_OMP_SIMD.
Referenced by peclet::flow::Solver< Grid >::advanceScalars(), and DistMG::smooth().
|
inline |
Definition at line 434 of file mac_pressure.hpp.
References AC, cutcellSmoothCell(), hostRunSerial(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Definition at line 485 of file mac_pressure.hpp.
References AC, ccFor3(), and cutcellApplyCell().
Referenced by peclet::flow::ScalarMG::applySurrogate(), main(), peclet::flow::Solver< Grid >::scalarCutMatvec(), and peclet::flow::Solver< Grid >::scalarCutMatvecTwo().
|
inline |
Definition at line 501 of file mac_pressure.hpp.
References AC, ccFor3(), cutcellApplyCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Definition at line 540 of file mac_pressure.hpp.
References ccFor3(), and cutcellApplyExactCell().
Referenced by main(), and peclet::flow::CutcellMG::matvecOverlap().
|
inline |
Definition at line 556 of file mac_pressure.hpp.
References ccBoxShellRuns(), ccFor3(), ccMaskNbrs(), ccMaskRow(), cutcellApplyExactCell(), run(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::matvecOverlap().
|
inline |
Definition at line 610 of file mac_pressure.hpp.
References ccFor3().
|
inline |
Definition at line 627 of file mac_pressure.hpp.
References ccFor3().
|
inline |
Definition at line 646 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::projectBuildCoefficients().
|
inline |
Definition at line 688 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::projectBuildCoefficients().
|
inline |
Definition at line 719 of file mac_pressure.hpp.
Referenced by peclet::flow::Solver< Grid >::projectBuildCoefficients().
|
inline |
Definition at line 742 of file mac_pressure.hpp.
References ccFor3().
|
inline |
Definition at line 766 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::maxPorousResidual(), and peclet::flow::Solver< Grid >::projectAssembleDivergence().
|
inline |
Definition at line 791 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::projectBuildCoefficients().
|
inline |
Definition at line 811 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::projectBuildCoefficients().
|
inline |
Definition at line 833 of file mac_pressure.hpp.
References ccFor3().
Referenced by peclet::flow::Solver< Grid >::projectBuildCoefficients().
|
inline |
Definition at line 852 of file mac_pressure.hpp.
References ccFor3().
|
inline |
Definition at line 873 of file mac_pressure.hpp.
References ccFor3().
Definition at line 39 of file mac_reductions.hpp.
References peclet::flow::Ext3::x, and peclet::flow::Ext3::y.
Referenced by localDot(), and localSumMax().
Local sum and max|.| over the inner cells.
Definition at line 48 of file mac_reductions.hpp.
References innerToExt().
Referenced by main().
Local inner product <a,b> over the inner cells.
Definition at line 67 of file mac_reductions.hpp.
References innerToExt().
Referenced by main().
|
inline |
Subtract a constant from EVERY cell of the extended block (the mean-removal scatter).
Definition at line 83 of file mac_reductions.hpp.
Referenced by main().
| long peclet::flow::L3 | ( | int | x, |
| int | y, | ||
| int | z, | ||
| I3 | e ) |
Definition at line 30 of file mac_stencils.hpp.
Referenced by peclet::flow::vof::WyAdvector::applySweepCut(), peclet::flow::vof::WyAdvector::applySweepImpl(), peclet::flow::vof::VofMcArea::areaPass(), peclet::flow::vof::VofBlockSet::bubbleBox(), peclet::flow::vof::VofBlockSet::buildCsfForce(), peclet::flow::vof::buildOutsideMask(), peclet::flow::vof::MomentumConsistentAdvector::buildShiftedColour(), peclet::flow::vof::MomentumConsistentAdvector::buildShiftedColourCut(), peclet::flow::vof::WyAdvector::buildWettingNormals(), peclet::flow::vof::VofCurvature::census(), peclet::flow::vof::VofDynamicWetting::census(), peclet::flow::vof::VofInterfaceArea::census(), peclet::flow::vof::VofMcArea::census(), peclet::flow::vof::clampFill(), peclet::flow::vof::WyAdvector::classifyGeometry(), peclet::flow::vof::WyAdvector::clipCutCellsImpl(), peclet::flow::vof::VofCurvature::clipPass(), peclet::flow::vof::VofBlockSet::clipToSeed(), peclet::flow::vof::VofBlockExchange::combineBlockIntoPatch(), peclet::flow::vof::VofBlockExchange::combineBufIntoPatch(), peclet::flow::vof::VofCurvature::compact(), peclet::flow::vof::WyAdvector::computeFluxesCut(), peclet::flow::vof::WyAdvector::computeFluxesImpl(), peclet::flow::MgPoisson::computeResidual(), peclet::flow::vof::copyAdvectedVelocity(), peclet::flow::vof::copyFaceVelocity(), peclet::flow::vof::WyAdvector::cutDiagnostics(), peclet::flow::vof::VofBlockSet::debrisPassBatchImpl(), peclet::flow::vof::MomentumConsistentAdvector::diagnostics(), peclet::flow::vof::WyAdvector::diagnostics(), diffResidualMaxT(), diffResidualT(), diffSmoothColorDuT(), diffSmoothColorT(), divergence(), peclet::flow::vof::VofEnergyAdvector::energyUpdate(), peclet::flow::vof::VofEnergyAdvector::extrema(), peclet::flow::vof::VofCurvature::fallbackPass(), peclet::flow::vof::VofInterfaceArea::fallbackPass(), peclet::flow::vof::VofBlockSet::fillBlockGhosts(), peclet::flow::vof::MomentumConsistentAdvector::freezeGhostFlags(), peclet::flow::vof::MomentumConsistentAdvector::freezeShiftedState(), peclet::flow::vof::VofBlockExchange::gatherLocalLaunch(), peclet::flow::Solver< Grid >::harvestVofBlockUnion(), peclet::flow::vof::VofCurvature::heightPass(), peclet::flow::vof::VofInterfaceArea::heightPass(), peclet::flow::vof::VofDynamicWetting::impose(), peclet::flow::vof::WyAdvector::index(), peclet::flow::vof::VofBlockSet::innerSum(), peclet::flow::vof::VofBlockSet::interfaceArea(), peclet::flow::MgPoisson::maxAbsInner(), peclet::flow::vof::WyAdvector::maxCourant(), peclet::flow::vof::WyAdvector::maxCourantInterface(), peclet::flow::vof::WyAdvector::maxCourantInterfaceCut(), peclet::flow::vof::WyAdvector::maxDiscreteDivergence(), peclet::flow::vof::VofBlockSet::measure(), peclet::flow::vof::VofDynamicWetting::measure(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxes(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxesCapped(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxesCut(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxesCutCapped(), peclet::flow::vof::MomentumConsistentAdvector::momentumUpdate(), peclet::flow::vof::MomentumConsistentAdvector::momentumUpdateCut(), peclet::flow::vof::MomentumConsistentAdvector::momentumUpdateCutPhase(), peclet::flow::vof::MomentumConsistentAdvector::momentumUpdatePhase(), peclet::flow::vof::VofBlockExchange::movePiece(), peclet::flow::vof::VofBlockSet::outOfBoxSum(), peclet::flow::vof::VofBlockExchange::packFromBlock(), peclet::flow::vof::VofBlockExchange::packFromPatch(), peclet::flow::vof::VofMcArea::planePass(), poisSmoothColor(), peclet::flow::vof::VofBlockSet::recentreTo(), peclet::flow::vof::WyAdvector::reconstructImpl(), peclet::flow::vof::VofCurvature::reconstructPlanes(), peclet::flow::vof::VofInterfaceArea::reconstructPlanes(), peclet::flow::MgPoisson::removeMean(), peclet::flow::vof::VofBlockExchange::scatterColourMaxHost(), peclet::flow::vof::VofBlockSet::seedSphere(), peclet::flow::MgPoisson::smoothColor(), peclet::flow::vof::WyAdvector::solidBandFillPass(), peclet::flow::vof::WyAdvector::solidBandFillPassWetting(), peclet::flow::vof::VofBlockExchange::unpackToBlock(), peclet::flow::Solver< Grid >::updateVofBlockOverlap(), peclet::flow::vof::vofBatchGhostZero(), peclet::flow::vof::vofStatsCellIndex(), peclet::flow::vof::vofStatsM1Cell(), peclet::flow::vof::vofStatsMomentsCell(), peclet::flow::vof::WyAdvector::wettingCensusGhost(), and peclet::flow::vof::VofBlockExchange::zeroPatchInner().
|
inline |
Definition at line 46 of file mac_stencils.hpp.
References L3().
Referenced by diffSmoothColor(), and diffSmoothColor().
|
inline |
Definition at line 96 of file mac_stencils.hpp.
References diffSmoothColorT().
Referenced by peclet::flow::FlowReference::diffuseComp(), main(), and peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 105 of file mac_stencils.hpp.
References diffSmoothColorT().
|
inline |
Definition at line 114 of file mac_stencils.hpp.
References L3().
Referenced by diffResidual(), and diffResidual().
|
inline |
Definition at line 173 of file mac_stencils.hpp.
References diffResidualMaxT().
Referenced by peclet::flow::Solver< Grid >::constCoeffResidual().
|
inline |
Definition at line 184 of file mac_stencils.hpp.
References diffResidualT().
|
inline |
Definition at line 193 of file mac_stencils.hpp.
References diffResidualT().
|
inline |
Definition at line 201 of file mac_stencils.hpp.
References L3().
Referenced by diffSmoothColorDu(), and diffSmoothColorDu().
|
inline |
Definition at line 263 of file mac_stencils.hpp.
References diffSmoothColorDuT().
Referenced by peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 270 of file mac_stencils.hpp.
References diffSmoothColorDuT().
Definition at line 292 of file mac_stencils.hpp.
References L3().
Referenced by main(), peclet::flow::FlowReference::maxDivU(), and peclet::flow::FlowReference::step().
Definition at line 304 of file mac_stencils.hpp.
References poisSmoothColor().
Referenced by main(), p0bench::runRbgs(), and peclet::flow::FlowReference::step().
|
inline |
Definition at line 28 of file mac_transfer.hpp.
References peclet::flow::T3::x, peclet::flow::T3::y, and peclet::flow::T3::z.
Referenced by main(), and peclet::flow::MgPoisson::vcycle().
Definition at line 50 of file mac_transfer.hpp.
References F, peclet::flow::T3::x, and peclet::flow::T3::y.
Referenced by prolong().
|
inline |
Definition at line 69 of file mac_transfer.hpp.
References trilerp(), peclet::flow::T3::x, peclet::flow::T3::y, and peclet::flow::T3::z.
Referenced by main(), and peclet::flow::MgPoisson::vcycle().
Definition at line 85 of file mac_transfer.hpp.
Referenced by main(), and peclet::flow::FlowReference::step().
|
inline |
Definition at line 36 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::VelocityMG::chebSmooth(), peclet::flow::Solver< Grid >::chebSolveComp(), peclet::flow::VelocityMG::level0Residual(), and peclet::flow::VelocityMG::vcycle().
|
inline |
Definition at line 62 of file mac_velocity_mg.hpp.
References AC, and ccReduce3().
Referenced by peclet::flow::Solver< Grid >::stencilResidual().
|
inline |
Definition at line 99 of file mac_velocity_mg.hpp.
References peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::VelocityMG::vcycle().
|
inline |
Definition at line 132 of file mac_velocity_mg.hpp.
References AC.
Referenced by peclet::flow::VelocityMG::setStaircase().
|
inline |
Definition at line 159 of file mac_velocity_mg.hpp.
References AC.
Referenced by peclet::flow::VelocityMG::setStaircaseBc().
|
inline |
Definition at line 179 of file mac_velocity_mg.hpp.
References AC, sadv::fou_operator_aniso(), and U.
Referenced by peclet::flow::VelocityMG::buildUpwindCoarse(), and peclet::flow::VelocityMG::setStaircaseBc().
|
inline |
Definition at line 206 of file mac_velocity_mg.hpp.
References AC.
Referenced by main(), and peclet::flow::VelocityMG::setDomainBcOp().
Definition at line 229 of file mac_velocity_mg.hpp.
References AC.
Referenced by peclet::flow::VelocityMG::setDomainBcOp(), and peclet::flow::VelocityMG::setStaircaseBc().
Definition at line 247 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::VelocityMG::fillProlongBcGhosts(), and peclet::flow::VelocityMG::zeroBcGhosts().
Definition at line 272 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::finishResidual(), peclet::flow::VelocityMG::level0Residual(), peclet::flow::VelocityMG::setDomainBcOp(), and peclet::flow::VelocityMG::setStaircaseBc().
Definition at line 283 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::VelocityMG::setStaircase().
Definition at line 294 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::applyBalancedForceProjection(), peclet::flow::Solver< Grid >::chebSolveComp(), peclet::flow::Solver< Grid >::finishResidual(), peclet::flow::VelocityMG::level0Residual(), and peclet::flow::VelocityMG::solve().
Definition at line 310 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::Solver< Grid >::finishResidual(), peclet::flow::VelocityMG::solve(), and peclet::flow::Solver< Grid >::step().
Definition at line 325 of file mac_velocity_mg.hpp.
Referenced by peclet::flow::VelocityMG::vcycle().
| double peclet::flow::bottomShift | ( | int | attempt | ) |
Definition at line 67 of file mg_bottom_direct.hpp.
Referenced by peclet::flow::BottomFactorKernel< FacReal, OpV >::hostFactor(), and peclet::flow::BottomFactorKernel< FacReal, OpV >::operator()().
|
inline |
Definition at line 87 of file mg_bottom_direct.hpp.
References kBottomMaxPlane.
Referenced by peclet::flow::CutcellMG::bottomAdmissible(), and peclet::flow::CutcellMG::buildBottomStore().
| VReal peclet::flow::fp32Diag | ( | const WV & | WX, |
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz ) |
Definition at line 20 of file mg_fp32_vcycle.hpp.
Referenced by peclet::flow::LineRowFp32::coef(), entryFp32(), and fp32SmoothCell().
| VReal peclet::flow::fp32Flux | ( | const XV & | x, |
| const WV & | WX, | ||
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 26 of file mg_fp32_vcycle.hpp.
Referenced by fp32ResidualCell(), fp32SmoothCell(), and peclet::flow::LineRowFp32::res().
| void peclet::flow::fp32SmoothCell | ( | const XV & | x, |
| const BV & | b, | ||
| const WV & | WX, | ||
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 35 of file mg_fp32_vcycle.hpp.
References fp32Diag(), and fp32Flux().
Referenced by cutcellSmoothColorFp32Box(), and cutcellSmoothColorFp32Wrap().
| void peclet::flow::fp32ResidualCell | ( | const RV & | r, |
| const XV & | x, | ||
| const BV & | b, | ||
| const WV & | WX, | ||
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| long | xp, | ||
| long | xm, | ||
| long | yp, | ||
| long | ym, | ||
| long | zp, | ||
| long | zm ) |
Definition at line 46 of file mg_fp32_vcycle.hpp.
References fp32Flux().
Referenced by residualFp32Box(), and residualFp32Wrap().
|
inline |
Definition at line 56 of file mg_fp32_vcycle.hpp.
References ccWrapNbrs(), ccWrapRowPeeled(), fp32SmoothCell(), and hostRunSerial().
Referenced by peclet::flow::CutcellMG::smoothFp32().
|
inline |
Definition at line 94 of file mg_fp32_vcycle.hpp.
References ccFor3(), ccWrapForPeeled(), ccWrapNbrs(), and fp32ResidualCell().
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
|
inline |
Definition at line 117 of file mg_fp32_vcycle.hpp.
References ccFor3(), and fp32Diag().
Referenced by peclet::flow::CutcellMG::precondVcycleFp32().
|
inline |
Definition at line 139 of file mg_fp32_vcycle.hpp.
References ccFor3(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
|
inline |
Definition at line 163 of file mg_fp32_vcycle.hpp.
References ccFor3(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
| int peclet::flow::fp32ProlongLow | ( | int | ratio, |
| int | i, | ||
| int | gc ) |
Definition at line 186 of file mg_fp32_vcycle.hpp.
Referenced by prolongFp32(), and prolongFp32FromD().
|
inline |
Definition at line 191 of file mg_fp32_vcycle.hpp.
References ccFor3(), fp32ProlongLow(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
|
inline |
Definition at line 217 of file mg_fp32_vcycle.hpp.
References ccFor3(), fp32ProlongLow(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
| int peclet::flow::fp32ProlongParent | ( | int | ratio, |
| int | i, | ||
| int | gc ) |
Definition at line 243 of file mg_fp32_vcycle.hpp.
Referenced by prolongConstFp32(), and prolongConstFp32FromD().
|
inline |
Definition at line 246 of file mg_fp32_vcycle.hpp.
References ccFor3(), fp32ProlongParent(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
|
inline |
Definition at line 260 of file mg_fp32_vcycle.hpp.
References ccFor3(), fp32ProlongParent(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::vcycleFp32Impl().
|
inline |
Definition at line 285 of file mg_fp32_vcycle.hpp.
References ccMaskNbrs(), fp32SmoothCell(), hostRunSerial(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inline |
Definition at line 377 of file mg_fp32_vcycle.hpp.
References ccFor3(), ccMaskNbrs(), fp32ResidualCell(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Definition at line 407 of file mg_fp32_vcycle.hpp.
Definition at line 414 of file mg_fp32_vcycle.hpp.
References ccFor3().
| void peclet::flow::lineAxesOf | ( | int | s, |
| int & | a, | ||
| int & | b ) |
Definition at line 37 of file mg_line_relax.hpp.
Referenced by lineColumn(), and lineRelaxColor().
| void peclet::flow::lineColumnSolve | ( | const Row & | R, |
| Store & | S, | ||
| long | i0, | ||
| int | m, | ||
| int | l3[3], | ||
| C3 | n, | ||
| int | g, | ||
| int | wrapMask, | ||
| bool | periodic ) |
Definition at line 123 of file mg_line_relax.hpp.
References ccMaskNbrs(), l3(), and R.
Referenced by lineColumn().
| void peclet::flow::lineColumn | ( | const Row & | R, |
| const SV & | c, | ||
| const SV & | y, | ||
| const SV & | z, | ||
| int | la, | ||
| int | lb, | ||
| C3 | n, | ||
| int | g, | ||
| int | wrapMask, | ||
| bool | periodic ) |
Definition at line 210 of file mg_line_relax.hpp.
References kLineRegs, l3(), lineAxesOf(), lineColumnSolve(), and R.
Referenced by lineRelaxColor().
|
inline |
Definition at line 232 of file mg_line_relax.hpp.
References hostRunSerial(), lineAxesOf(), lineColumn(), and R.
Referenced by lineRelaxColorFace(), and lineRelaxColorFp32().
|
inline |
Definition at line 269 of file mg_line_relax.hpp.
References AC, lineRelaxColor(), and R.
Referenced by peclet::flow::CutcellMG::lineSmoothColor().
|
inline |
Definition at line 280 of file mg_line_relax.hpp.
References lineRelaxColor(), and R.
Referenced by peclet::flow::CutcellMG::lineSmoothColorFp32().
Definition at line 56 of file property_closures.hpp.
References ArrheniusMu, BoussinesqForce, peclet::flow::Closure::in0, peclet::flow::Closure::in1, peclet::flow::Closure::kind, LinearMix, peclet::flow::Closure::nTab, peclet::flow::Closure::out, peclet::flow::Closure::p, peclet::flow::Closure::tabX, and peclet::flow::Closure::tabY.
Referenced by peclet::flow::Solver< Grid >::updateProperties().
|
inline |
Definition at line 123 of file property_closures.hpp.
References ArrheniusMu, BoussinesqForce, peclet::flow::Closure::in0, peclet::flow::Closure::in1, peclet::flow::Closure::kind, LinearMix, peclet::flow::Closure::nTab, peclet::flow::Closure::out, peclet::flow::Closure::p, peclet::flow::Closure::tabX, and peclet::flow::Closure::tabY.
Referenced by peclet::flow::Solver< Grid >::vofBcPropGhosts().
|
inline |
Arm ops for the resident pass with the persistent slots of st (ks, pk, allocated once).
Definition at line 165 of file scalar_krylov.hpp.
References peclet::flow::skr::kNSlots.
Referenced by peclet::flow::scd::singleFieldOps(), and peclet::flow::scd::twoFieldOps().
| ScalarKrylovResult peclet::flow::scalarBiCGStab | ( | Ops & | ops, |
| const ScalarVec & | b, | ||
| const ScalarVec & | x, | ||
| const ScalarVec & | r, | ||
| const ScalarVec & | rh, | ||
| const ScalarVec & | p, | ||
| const ScalarVec & | v, | ||
| const ScalarVec & | t, | ||
| const ScalarVec & | z, | ||
| const ScalarVec & | z2, | ||
| int | maxit, | ||
| double | rtol, | ||
| bool | singular ) |
BiCGStab on A x = b.
ops provides void matvec(const ScalarVec& y, const ScalarVec& x) y = A x (exchanges x's ghosts itself) void precond(const ScalarVec& z, const ScalarVec& r) z = M^-1 r (a fixed linear operator) double dot(const ScalarVec& a, const ScalarVec& b) global inner-cell sum, both phases void dot2(a, b, c, double& ab, double& cc) fused (a.b, c.c), one reduction double maxabs(const ScalarVec& a) global inner-cell max |a| void removeMean(const ScalarVec& a) singular case only: the unknown-row mean C3 e; int g; the block Scratch: r, rh, p, v, t, z, z2. x holds the initial guess and the result. One pass, its true residual, and one restart pass when that is above 10 rtol ref.
Definition at line 534 of file scalar_krylov.hpp.
References peclet::flow::skr::bicgPass(), peclet::flow::skr::bicgPassResident(), and peclet::flow::skr::bicgTrueResidual().
Referenced by peclet::flow::scd::solveSingle(), and peclet::flow::scd::solveTwo().
|
inline |
Definition at line 95 of file scalar_transport.hpp.
References AC, and peclet::flow::vof::pcFaceConductivity().
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 133 of file scalar_transport.hpp.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 147 of file scalar_transport.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 169 of file scalar_transport.hpp.
References val().
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 199 of file scalar_transport.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 265 of file scalar_transport.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
Definition at line 323 of file scalar_transport.hpp.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 343 of file scalar_transport.hpp.
References AC.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 371 of file scalar_transport.hpp.
References sadv::fou_flux(), sadv::sou(), sadv::tvd(), and U.
Referenced by peclet::flow::Solver< Grid >::advanceScalars().
|
inline |
Definition at line 45 of file star_elimination.hpp.
References peclet::flow::StarOverlay::a, and peclet::flow::StarOverlay::cell.
Referenced by peclet::flow::Solver< Grid >::setSolidStarOverlay().
| double peclet::flow::starAval | ( | const StarOverlay & | ov, |
| long | k, | ||
| bool | exact ) |
One stored aperture, at the precision the gate selects.
Gate OFF returns the float-rounded value the overlay used to store, so the default path is bitwise unchanged by the widening; gate ON returns the exact double the openness actually carries.
Definition at line 55 of file star_elimination.hpp.
References peclet::flow::StarOverlay::a.
Referenced by starApplyDelta(), and starCorrectFaces().
| int peclet::flow::starWrap | ( | int | v, |
| int | n ) |
Definition at line 62 of file star_elimination.hpp.
Referenced by starApplyDelta(), and starCorrectFaces().
|
inline |
Count + fill the star overlay from the cell-centered sdf and the ORIGINAL (unfiltered) apertures on the extended block (ext, ghost width g); nn = inner extents.
Single-rank periodic (neighbour access wraps over the inner grid). Pass ov with capacity >= the count of a prior sizing call (fill = ov.cell.extent(0) > 0). Returns the row count via the host copy of counter.
Definition at line 72 of file star_elimination.hpp.
References peclet::flow::StarOverlay::a, peclet::flow::StarOverlay::cell, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::Solver< Grid >::setSolidStarOverlay().
|
inline |
y += S_star x over the inner cells of the (extY, gY) block, x read from the (extX, gX) block, both periodic via inner-grid wrap.
Sign convention of applyCutcellOp (positive-definite): row i gains a_si (x_i - phibar_s). Atomic adds (several stars can touch one row).
Definition at line 114 of file star_elimination.hpp.
References peclet::flow::StarOverlay::cell, starAval(), starWrap(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by peclet::flow::CutcellMG::guessMatvec().
|
inline |
Fix the face correction at fluid|solid faces: projectCorrect applied -(phi_hi - phi_lo) with the solid side's (decoupled) phi = 0; the mode-B correction wants the solid value phibar_s.
Difference per face: +phibar_s when s is the LOW cell, -phibar_s when s is the HIGH cell. Each such face has exactly one solid side (both-solid faces carry no constraint), so no atomics. phi is read on the (extP, gP) block; the face fields live on the (ext, g) block with the o(i)-is-low-face convention (face k=+side of s == low face of the + neighbour).
PHASE 2 (anisotropic cells, doc/anisotropic_metric.md §3): this is a FIX-UP of what projectCorrect applied, and projectCorrect now applies -w_a (phi_hi - phi_lo) per axis – so the difference this kernel adds back carries the SAME per-axis weight w_a of the face's own axis, applied outside the existing expression. w = (1,1,1) isotropic (exact).
Definition at line 181 of file star_elimination.hpp.
References peclet::flow::StarOverlay::cell, starAval(), starWrap(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
inlineconstexpr |
enable_vof_momentum x enable_vof_blocks*: refused in EITHER call order.
Momentum consistency advects rho^c u with the fluxes of the ONE structured colour field (vofAdv_) at the head of step() and then skips advectVof() – which is the only slot that advects the block markers. The combination would leave every marker frozen while the momentum rode the fluxes of a union field that is not the markers' own.
Definition at line 19 of file flow_ibm_vof.hpp.
Referenced by peclet::flow::Solver< Grid >::enableVofMomentum(), and peclet::flow::Solver< Grid >::prepareVofBlocks().
|
inlineconstexpr |
Face-state names, indexed by GpOverlayT::state (GP_COUPLED .. GP_EXPLICIT).
Definition at line 57 of file ghost_projection_debug.hpp.
Referenced by gpPrintCensus(), and gpPrintWorstRows().
|
inlineconstexpr |
Definition at line 285 of file mac_cutcell.hpp.
Referenced by hostRunSerial().
|
inlineconstexpr |
Definition at line 289 of file mac_cutcell.hpp.
Referenced by ccBoxShellRuns().
|
inlineconstexpr |
Definition at line 680 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::bottomAdmissible(), peclet::flow::CutcellMG::buildBottomStore(), peclet::flow::CutcellMG::buildGlobalBottomLevel(), peclet::flow::CutcellMG::directBottomIneligible(), and peclet::flow::CutcellMG::directBottomIneligibleAll().
|
inlineconstexpr |
Definition at line 686 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::init(), and peclet::flow::CutcellMG::printDepthCensus().
|
inlineconstexpr |
Definition at line 687 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::init().
|
inlineconstexpr |
Definition at line 688 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::bottomAdmissible().
|
inlineconstexpr |
Definition at line 691 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::BottomKernel< FacReal >::operator()().
|
inlineconstexpr |
Definition at line 692 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::buildBottomStore(), peclet::flow::CutcellMG::evalBottomComponents(), and peclet::flow::BottomLabelKernel::operator()().
|
inlineconstexpr |
Definition at line 693 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::BottomKernel< FacReal >::operator()().
|
inlineconstexpr |
Definition at line 702 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::directTeam().
|
inlineconstexpr |
Definition at line 710 of file mac_cutcell_mg.hpp.
Referenced by peclet::flow::CutcellMG::launchDirectFactor().
|
inlineconstexpr |
Definition at line 1092 of file mac_cutcell_mg.hpp.
|
inlineconstexpr |
Definition at line 63 of file mg_bottom_direct.hpp.
Referenced by bottomChoosePlanes(), peclet::flow::BottomFactorKernel< FacReal, OpV >::hostAssemble(), peclet::flow::BottomFactorKernel< FacReal, OpV >::hostBorder(), peclet::flow::BottomFactorKernel< FacReal, OpV >::hostInvert(), and peclet::flow::BottomDirect< FacReal >::laneSubstitute().
|
inlineconstexpr |
Definition at line 64 of file mg_bottom_direct.hpp.
Referenced by peclet::flow::BottomFactorKernel< FacReal, OpV >::assemble(), peclet::flow::BottomFactorKernel< FacReal, OpV >::hostInvert(), peclet::flow::BottomFactorKernel< FacReal, OpV >::invert(), peclet::flow::BottomFactorKernel< FacReal, OpV >::operator()(), and peclet::flow::BottomFactorKernel< FacReal, OpV >::scratchBytes().
|
inlineconstexpr |
Definition at line 65 of file mg_bottom_direct.hpp.
Referenced by peclet::flow::CutcellMG::directFactorForTest(), peclet::flow::BottomFactorKernel< FacReal, OpV >::hostFactor(), main(), and peclet::flow::BottomFactorKernel< FacReal, OpV >::operator()().
|
inlineconstexpr |
Definition at line 66 of file mg_bottom_direct.hpp.
Referenced by peclet::flow::BottomDirect< FacReal >::allocate(), peclet::flow::BottomFactorKernel< FacReal, OpV >::hostFactor(), and peclet::flow::BottomFactorKernel< FacReal, OpV >::operator()().
|
constexpr |
Definition at line 103 of file mg_line_relax.hpp.
Referenced by lineColumn().