#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <Kokkos_Core.hpp>
#include <vector>
#include "flow_ibm.hpp"
#include "peclet/core/common/types.hpp"
#include "peclet/core/decomp/block_decomposer.hpp"
Go to the source code of this file.
|
| static std::vector< double > | packingSdf (double rfrac) |
| |
| template<class S > |
| static void | configure (S &s, const std::vector< double > &lsdf, int matrixOrder, int rhsOrder) |
| |
| static std::vector< double > | gatherGlobal (const std::vector< double > &local, int ox, int oy, int oz, int lnx, int lny, int lnz, int rank, int size) |
| |
| static double | relErr (const std::vector< double > &a, const std::vector< double > &b) |
| |
| template<class S > |
| static int | runCase (const char *name, double rfrac, int mo, int ro, int rank, int size) |
| |
| int | main (int argc, char **argv) |
| |
|
| static constexpr int | N = 32 |
| |
| static constexpr int | STEPS = 15 |
| |
| static constexpr double | RHO = 1.0 |
| |
| static constexpr double | MU = 0.1 |
| |
| static constexpr double | F = 1e-3 |
| |
| static constexpr double | DT = 20.0 |
| |
◆ Stag
◆ Colo
◆ packingSdf()
| static std::vector< double > packingSdf |
( |
double |
rfrac | ) |
|
|
static |
◆ configure()
template<class S >
| static void configure |
( |
S & |
s, |
|
|
const std::vector< double > & |
lsdf, |
|
|
int |
matrixOrder, |
|
|
int |
rhsOrder |
|
) |
| |
|
static |
◆ gatherGlobal()
| static std::vector< double > gatherGlobal |
( |
const std::vector< double > & |
local, |
|
|
int |
ox, |
|
|
int |
oy, |
|
|
int |
oz, |
|
|
int |
lnx, |
|
|
int |
lny, |
|
|
int |
lnz, |
|
|
int |
rank, |
|
|
int |
size |
|
) |
| |
|
static |
◆ relErr()
| static double relErr |
( |
const std::vector< double > & |
a, |
|
|
const std::vector< double > & |
b |
|
) |
| |
|
static |
◆ runCase()
template<class S >
| static int runCase |
( |
const char * |
name, |
|
|
double |
rfrac, |
|
|
int |
mo, |
|
|
int |
ro, |
|
|
int |
rank, |
|
|
int |
size |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 40 of file test_ghost_projection_mpi.cpp.
Referenced by peclet::flow::Solver< Grid >::fillAxis(), peclet::flow::CutcellMG::fillAxis(), peclet::flow::VelocityMG::fillAxis(), gatherGlobal(), initTG(), main(), peclet::flow::MgPoisson::maxAbsInner(), peclet::flow::mgPeriodicFill(), peclet::flow::MgPoisson::MgPoisson(), packingSdf(), periodicFill(), relErr(), peclet::flow::MgPoisson::removeMean(), run(), and runCase().
◆ STEPS
◆ RHO
| constexpr double RHO = 1.0 |
|
staticconstexpr |
◆ MU
| constexpr double MU = 0.1 |
|
static |
| constexpr double F = 1e-3 |
|
static |
Definition at line 41 of file test_ghost_projection_mpi.cpp.
Referenced by peclet::flow::Staggered::advect(), peclet::flow::Colocated::advect(), peclet::flow::Staggered::advect_fou(), peclet::flow::Colocated::advect_fou(), peclet::flow::Staggered::advect_sou(), peclet::flow::Colocated::advect_sou(), peclet::flow::buildGpOverlay(), peclet::flow::ccSampleExt(), peclet::flow::coarsenOpenAvg(), configure(), main(), and peclet::flow::trilerp().
◆ DT
| constexpr double DT = 20.0 |
|
static |