#include <mpi.h>
#include <cmath>
#include <cstdio>
#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 double | sdfAt (int, int, int z) |
| static std::vector< double > | blockSdf (int oz, int lnx, int lny, int lnz) |
| static void | configure (IbmSolver &s, double lam, int oz, int lnx, int lny, int lnz) |
| 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 | maxAbsDiff (const std::vector< double > &a, const std::vector< double > &b) |
| static double | maxAbs (const std::vector< double > &a) |
| static double | analyticError (const std::vector< double > &u, double lam) |
| int | main (int argc, char **argv) |
|
| static constexpr int | NX = 8 |
| static constexpr int | NY = 8 |
| static constexpr int | NZ = 40 |
| static constexpr double | Z0 = 16.25 |
| static constexpr double | Z1 = 32.25 |
| static constexpr double | MU = 1.0 |
| static constexpr double | RHO = 1.0 |
| static constexpr double | DT = 50.0 |
| static constexpr double | GFORCE = 1e-3 |
| static constexpr int | STEPS = 200 |
| static constexpr std::size_t | GCELLS = (std::size_t)NX * NY * NZ |
◆ IbmSolver
◆ sdfAt()
| double sdfAt |
( |
int | , |
|
|
int | , |
|
|
int | z ) |
|
static |
◆ blockSdf()
| std::vector< double > blockSdf |
( |
int | oz, |
|
|
int | lnx, |
|
|
int | lny, |
|
|
int | lnz ) |
|
static |
◆ configure()
| void configure |
( |
IbmSolver & | s, |
|
|
double | lam, |
|
|
int | oz, |
|
|
int | lnx, |
|
|
int | lny, |
|
|
int | lnz ) |
|
static |
◆ gatherGlobal()
| 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 |
◆ maxAbsDiff()
| double maxAbsDiff |
( |
const std::vector< double > & | a, |
|
|
const std::vector< double > & | b ) |
|
static |
◆ maxAbs()
| double maxAbs |
( |
const std::vector< double > & | a | ) |
|
|
static |
◆ analyticError()
| double analyticError |
( |
const std::vector< double > & | u, |
|
|
double | lam ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 140 of file test_wall_slip_mpi.cpp.
References analyticError(), configure(), gatherGlobal(), peclet::flow::Solver< Grid >::getVelocity(), maxAbs(), maxAbsDiff(), NX, NY, NZ, peclet::flow::Solver< Grid >::step(), STEPS, Z0, and Z1.
◆ NX
◆ NY
◆ NZ
◆ Z0
◆ Z1
◆ MU
◆ RHO
◆ DT
◆ GFORCE
◆ STEPS
◆ GCELLS
| std::size_t GCELLS = (std::size_t)NX * NY * NZ |
|
staticconstexpr |