#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::size_t | gidx (int x, int y, int z) |
| template<class Fn> |
| static std::vector< double > | blockOf (Fn f, int ox, int oy, int oz, int lnx, int lny, int lnz) |
| static std::vector< double > | sliceOf (const std::vector< double > &g, int ox, int oy, int oz, int lnx, int lny, int lnz) |
| static double | blockDiff (const std::vector< double > &local, const std::vector< double > &global, int ox, int oy, int oz, int lnx, int lny, int lnz) |
| static double | stefanLambda (double St) |
| template<class S> |
| void | applyAreaModeEnv (S &s) |
| template<class S> |
| void | applyP3fEnv (S &s) |
| int | main (int argc, char **argv) |
|
| static constexpr int | NX = 64 |
| static constexpr int | NY = 4 |
| static constexpr int | NZ = 4 |
| static int | failures = 0 |
◆ CHECK
Value: do { \
if (!(cond)) { \
std::fprintf(stderr, "CHECK failed: %s\n at %s:%d\n", #cond, __FILE__, __LINE__); \
} \
} while (0)
Definition at line 43 of file test_vof_phase_change_mpi.cpp.
Referenced by main().
◆ IbmSolver
◆ gidx()
| std::size_t gidx |
( |
int | x, |
|
|
int | y, |
|
|
int | z ) |
|
static |
◆ blockOf()
template<class Fn>
| std::vector< double > blockOf |
( |
Fn | f, |
|
|
int | ox, |
|
|
int | oy, |
|
|
int | oz, |
|
|
int | lnx, |
|
|
int | lny, |
|
|
int | lnz ) |
|
static |
◆ sliceOf()
| std::vector< double > sliceOf |
( |
const std::vector< double > & | g, |
|
|
int | ox, |
|
|
int | oy, |
|
|
int | oz, |
|
|
int | lnx, |
|
|
int | lny, |
|
|
int | lnz ) |
|
static |
◆ blockDiff()
| double blockDiff |
( |
const std::vector< double > & | local, |
|
|
const std::vector< double > & | global, |
|
|
int | ox, |
|
|
int | oy, |
|
|
int | oz, |
|
|
int | lnx, |
|
|
int | lny, |
|
|
int | lnz ) |
|
static |
◆ stefanLambda()
| double stefanLambda |
( |
double | St | ) |
|
|
static |
◆ applyAreaModeEnv()
template<class S>
| void applyAreaModeEnv |
( |
S & | s | ) |
|
◆ applyP3fEnv()
template<class S>
| void applyP3fEnv |
( |
S & | s | ) |
|
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 130 of file test_vof_phase_change_mpi.cpp.
References peclet::flow::Solver< Grid >::advanceScalars(), applyAreaModeEnv(), applyP3fEnv(), peclet::flow::Solver< Grid >::applyPhaseChange(), blockDiff(), blockOf(), CHECK, colour(), configure(), peclet::flow::Solver< Grid >::enablePhaseChange(), peclet::flow::Solver< Grid >::enableVof(), failures, peclet::flow::Solver< Grid >::getField(), peclet::flow::Solver< Grid >::getVof(), peclet::flow::LinearMix, NX, NY, NZ, peclet::flow::Solver< Grid >::setAdvection(), peclet::flow::Solver< Grid >::setDt(), peclet::flow::Solver< Grid >::setMassFluxUniform(), peclet::flow::Solver< Grid >::setMu(), peclet::flow::Solver< Grid >::setRho(), peclet::flow::Solver< Grid >::setVof(), stefanLambda(), and X0().
◆ NX
◆ NY
◆ NZ
◆ failures