flow
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< Levellv
 

Detailed Description

Definition at line 59 of file test_distributed_mg.cpp.

Member Function Documentation

◆ init()

◆ meanSum()

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

Definition at line 109 of file test_distributed_mg.cpp.

References comm, Level::e, G, and init().

Referenced by removeMean().

◆ removeMean()

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

Definition at line 124 of file test_distributed_mg.cpp.

References Level::e, G, Level::gCells, init(), and meanSum().

Referenced by solve(), and vcycle().

◆ smooth()

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

◆ vcycle()

◆ solve()

void DistMG::solve ( CCField  b)
inline

Definition at line 169 of file test_distributed_mg.cpp.

References init(), lv, NVCYC, removeMean(), and vcycle().

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: