|
flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mac_velocity_mg.hpp>
Classes | |
| struct | Level |
Public Member Functions | |
| void | init (int nx, int ny, int nz, int nLevels) |
| int | nLevels () const |
| Level & | level (int L) |
| void | setFineStencil (FPC AC, FPC AW, FPC AE, FPC AS, FPC AN, FPC AB, FPC AT) |
| void | setStaircase (CCConst theta0, CCConst solid0, CCConst resmask0, double nu_dt, double idiag, double thresh) |
| void | restrictAdvVelocities (CCConst u0, CCConst v0, CCConst w0) |
| void | buildUpwindCoarse (int comp, double nu_dt, double idiag, double fouw) |
| void | setBC (const int bc[6]) |
| void | setBcApplyL0 (std::function< void(CCField)> fn) |
| void | setDomainBcOp (int comp, double nu_dt, double idiag) |
| void | solve (CCConst b, CCField x, int nvc, int pre, int post, int bottom) |
| void | vcycle (int L) |
| void | smooth (Level &lv, int sweeps, bool isL0) |
| void | fill (Level &lv, CCField f) |
| void | fillProlongBcGhosts (Level &lv) |
| void | fillAxis (Level &lv, CCField f, int axis) |
Static Public Attributes | |
| static constexpr int | G = 2 |
Definition at line 250 of file mac_velocity_mg.hpp.
|
inline |
Definition at line 267 of file mac_velocity_mg.hpp.
References peclet::flow::VelocityMG::Level::AB, peclet::flow::VelocityMG::Level::AC, peclet::flow::VelocityMG::Level::advU, peclet::flow::VelocityMG::Level::advV, peclet::flow::VelocityMG::Level::advW, peclet::flow::VelocityMG::Level::AE, peclet::flow::VelocityMG::Level::AN, peclet::flow::VelocityMG::Level::AS, peclet::flow::VelocityMG::Level::AT, peclet::flow::VelocityMG::Level::AW, peclet::flow::VelocityMG::Level::cfac, peclet::flow::VelocityMG::Level::ext, G, init(), peclet::flow::VelocityMG::Level::inner, peclet::flow::VelocityMG::Level::n, nLevels(), peclet::flow::VelocityMG::Level::pin, peclet::flow::VelocityMG::Level::ratio, peclet::flow::VelocityMG::Level::res, peclet::flow::VelocityMG::Level::rhs, peclet::flow::VelocityMG::Level::theta, peclet::flow::C3::x, peclet::flow::VelocityMG::Level::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by buildUpwindCoarse(), fill(), fillAxis(), fillProlongBcGhosts(), init(), level(), restrictAdvVelocities(), setBC(), setBcApplyL0(), setDomainBcOp(), peclet::flow::Solver< Grid >::setSolid(), setStaircase(), smooth(), solve(), and vcycle().
|
inline |
Definition at line 381 of file mac_velocity_mg.hpp.
Referenced by init().
|
inline |
Definition at line 385 of file mac_velocity_mg.hpp.
References AC.
Referenced by main(), and peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 399 of file mac_velocity_mg.hpp.
References peclet::flow::buildVelocityStaircase(), G, init(), peclet::flow::restrictAvg(), and peclet::flow::thresholdMask().
Referenced by main(), and peclet::flow::Solver< Grid >::smoothComp().
Definition at line 425 of file mac_velocity_mg.hpp.
References fill(), G, init(), and peclet::flow::restrictAvg().
Referenced by peclet::flow::Solver< Grid >::step().
|
inline |
Definition at line 443 of file mac_velocity_mg.hpp.
References peclet::flow::buildAdvCoarse(), G, and init().
Referenced by peclet::flow::Solver< Grid >::smoothComp().
Definition at line 462 of file mac_velocity_mg.hpp.
References init().
Referenced by peclet::flow::Solver< Grid >::setSolid().
Definition at line 475 of file mac_velocity_mg.hpp.
References init().
Referenced by peclet::flow::Solver< Grid >::smoothComp().
Definition at line 483 of file mac_velocity_mg.hpp.
References peclet::flow::boundaryFold(), peclet::flow::buildConstAniso(), G, init(), and peclet::flow::zeroPlane().
Referenced by peclet::flow::Solver< Grid >::smoothComp().
|
inline |
Definition at line 518 of file mac_velocity_mg.hpp.
References init(), and vcycle().
Referenced by main(), and peclet::flow::Solver< Grid >::smoothComp().
Definition at line 531 of file mac_velocity_mg.hpp.
References peclet::flow::VelocityMG::Level::AB, peclet::flow::VelocityMG::Level::AC, peclet::flow::VelocityMG::Level::AE, peclet::flow::VelocityMG::Level::AN, peclet::flow::VelocityMG::Level::AS, peclet::flow::VelocityMG::Level::AT, peclet::flow::VelocityMG::Level::AW, peclet::flow::VelocityMG::Level::ext, fill(), fillProlongBcGhosts(), G, init(), peclet::flow::VelocityMG::Level::inner, peclet::flow::mulMask(), peclet::flow::VelocityMG::Level::n, peclet::flow::VelocityMG::Level::pin, peclet::flow::prolongAdd(), peclet::flow::prolongMasked(), peclet::flow::VelocityMG::Level::ratio, peclet::flow::VelocityMG::Level::res, peclet::flow::residualVarPin(), peclet::flow::VelocityMG::Level::resMask, peclet::flow::restrictAvg(), peclet::flow::VelocityMG::Level::rhs, smooth(), vcycle(), and peclet::flow::VelocityMG::Level::x.
Definition at line 563 of file mac_velocity_mg.hpp.
References peclet::flow::VelocityMG::Level::AB, peclet::flow::VelocityMG::Level::AC, peclet::flow::VelocityMG::Level::AE, peclet::flow::VelocityMG::Level::AN, peclet::flow::VelocityMG::Level::AS, peclet::flow::VelocityMG::Level::AT, peclet::flow::VelocityMG::Level::AW, peclet::flow::VelocityMG::Level::ext, fill(), G, peclet::flow::ibmRbgsStencilColor(), init(), peclet::flow::VelocityMG::Level::og, peclet::flow::VelocityMG::Level::pin, peclet::flow::VelocityMG::Level::rhs, and peclet::flow::VelocityMG::Level::x.
Referenced by vcycle().
Definition at line 580 of file mac_velocity_mg.hpp.
References fillAxis(), and init().
Referenced by restrictAdvVelocities(), smooth(), and vcycle().
Definition at line 593 of file mac_velocity_mg.hpp.
References peclet::flow::VelocityMG::Level::ext, peclet::flow::fillBcGhost(), G, init(), and peclet::flow::VelocityMG::Level::x.
Referenced by vcycle().
Definition at line 604 of file mac_velocity_mg.hpp.
References peclet::flow::VelocityMG::Level::ext, G, init(), peclet::flow::VelocityMG::Level::inner, N, peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by fill().
Definition at line 252 of file mac_velocity_mg.hpp.
Referenced by buildUpwindCoarse(), fillAxis(), fillProlongBcGhosts(), init(), restrictAdvVelocities(), setDomainBcOp(), setStaircase(), smooth(), and vcycle().