#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <Kokkos_Core.hpp>
#include <vector>
#include "flow_ibm.hpp"
#include "peclet/core/decomp/block_decomposer.hpp"
Go to the source code of this file.
|
| static double | colourAt (int x, int y) |
| static double | noiseAt (int c, int x, int y, int z) |
| static Result | run (IbmSolver &s, Driver d, double ratio, int ox, int oy, int oz, int lnx, int lny, int lnz, bool trilinear=false) |
| static bool | sameOnAll (double v, MPI_Comm comm) |
| int | main (int argc, char **argv) |
|
| static constexpr int | N = 16 |
| static constexpr int | STEPS = 3 |
| static constexpr int | MAXIT = 400 |
| static constexpr double | RTOL = 1e-10 |
◆ IbmSolver
◆ Driver
◆ colourAt()
| double colourAt |
( |
int | x, |
|
|
int | y ) |
|
static |
◆ noiseAt()
| double noiseAt |
( |
int | c, |
|
|
int | x, |
|
|
int | y, |
|
|
int | z ) |
|
static |
◆ run()
| Result run |
( |
IbmSolver & | s, |
|
|
Driver | d, |
|
|
double | ratio, |
|
|
int | ox, |
|
|
int | oy, |
|
|
int | oz, |
|
|
int | lnx, |
|
|
int | lny, |
|
|
int | lnz, |
|
|
bool | trilinear = false ) |
|
static |
◆ sameOnAll()
| bool sameOnAll |
( |
double | v, |
|
|
MPI_Comm | comm ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 120 of file test_cg_guard_mpi.cpp.
References check(), fails, kCheb, kFcg, kPcg, MAXIT, N, RTOL, run(), same(), and sameOnAll().
◆ STEPS
◆ MAXIT
◆ RTOL