flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
DistMG Struct Reference

Public Member Functions

void init (MPI_Comm c, IVec< kDim > gs)
 
double meanSum (Level &v, CCField f)
 
void removeMean (Level &v, CCField f)
 
void smooth (Level &v, int sweeps)
 
void vcycle (int L)
 
void solve (CCField b)
 

Public Attributes

MPI_Comm comm
 
int rank
 
int size
 
std::vector< Level > lv
 

Detailed Description

Definition at line 59 of file test_distributed_mg.cpp.

Member Function Documentation

◆ init()

void DistMG::init ( MPI_Comm  c,
IVec< kDim >  gs 
)
inline

Definition at line 64 of file test_distributed_mg.cpp.

References peclet::flow::buildCutcellOp(), comm, G, lv, NLEV, rank, and size.

Referenced by main().

◆ meanSum()

double DistMG::meanSum ( Level &  v,
CCField  f 
)
inline

Definition at line 109 of file test_distributed_mg.cpp.

References comm, and G.

Referenced by removeMean().

◆ removeMean()

void DistMG::removeMean ( Level &  v,
CCField  f 
)
inline

Definition at line 123 of file test_distributed_mg.cpp.

References G, mean(), and meanSum().

Referenced by solve(), and vcycle().

◆ smooth()

void DistMG::smooth ( Level &  v,
int  sweeps 
)
inline

Definition at line 135 of file test_distributed_mg.cpp.

References peclet::flow::cutcellSmoothColor(), and G.

Referenced by vcycle().

◆ vcycle()

void DistMG::vcycle ( int  L)
inline

◆ solve()

void DistMG::solve ( CCField  b)
inline

Definition at line 167 of file test_distributed_mg.cpp.

References lv, NVCYC, removeMean(), Level::rhs, vcycle(), and Level::x.

Referenced by main().

Member Data Documentation

◆ comm

MPI_Comm DistMG::comm

Definition at line 60 of file test_distributed_mg.cpp.

Referenced by init(), and meanSum().

◆ rank

int DistMG::rank

Definition at line 61 of file test_distributed_mg.cpp.

Referenced by init().

◆ size

int DistMG::size

Definition at line 61 of file test_distributed_mg.cpp.

Referenced by init().

◆ lv

std::vector<Level> DistMG::lv

Definition at line 62 of file test_distributed_mg.cpp.

Referenced by init(), main(), solve(), and vcycle().


The documentation for this struct was generated from the following file: