#include <mpi.h>
#include <cmath>
#include <cstdio>
#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=0.18) |
| static void | configure (IbmSolver &s, bool amg, int levels) |
| static std::vector< double > | localSdf (const std::vector< double > &g, const BlockDecomposer< 3 > &dec, int rank) |
| static double | perm (const std::vector< double > &gsdf, const BlockDecomposer< 3 > &dec, int rank, bool amg, int levels, MPI_Comm comm) |
| int | main (int argc, char **argv) |
|
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 100 |
| static constexpr double | RHO = 1.0 |
| static constexpr double | MU = 0.1 |
| static constexpr double | F = 1e-3 |
| static constexpr double | DT = 60.0 |
◆ IbmSolver
◆ packingSdf()
| std::vector< double > packingSdf |
( |
double | rfrac = 0.18 | ) |
|
|
static |
◆ configure()
| void configure |
( |
IbmSolver & | s, |
|
|
bool | amg, |
|
|
int | levels ) |
|
static |
◆ localSdf()
| std::vector< double > localSdf |
( |
const std::vector< double > & | g, |
|
|
const BlockDecomposer< 3 > & | dec, |
|
|
int | rank ) |
|
static |
◆ perm()
| double perm |
( |
const std::vector< double > & | gsdf, |
|
|
const BlockDecomposer< 3 > & | dec, |
|
|
int | rank, |
|
|
bool | amg, |
|
|
int | levels, |
|
|
MPI_Comm | comm ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
◆ STEPS
◆ RHO
◆ MU
◆ DT