flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
probe_vof_packing.cpp File Reference
#include <mpi.h>
#include <algorithm>
#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.

Typedefs

using IbmSolver

Functions

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 std::vector< double > packingSdf (int ox, int oy, int oz, int lnx, int lny, int lnz)
static double envd (const char *k, double dflt)
static void configurePacking (IbmSolver &s, int ox, int oy, int oz, int lnx, int lny, int lnz, bool perturb=false)
int main (int argc, char **argv)

Variables

static constexpr int NX = 16
static constexpr int NY = 16
static constexpr int NZ = 32
static constexpr std::size_t GCELLS = (std::size_t)NX * NY * NZ

Typedef Documentation

◆ IbmSolver

Definition at line 5663 of file flow_ibm.hpp.

Function Documentation

◆ 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

Definition at line 53 of file probe_vof_packing.cpp.

References GCELLS, NX, and NY.

Referenced by main().

◆ packingSdf()

std::vector< double > packingSdf ( int ox,
int oy,
int oz,
int lnx,
int lny,
int lnz )
static

Definition at line 90 of file probe_vof_packing.cpp.

References NZ.

Referenced by configurePacking().

◆ envd()

double envd ( const char * k,
double dflt )
static

Definition at line 110 of file probe_vof_packing.cpp.

Referenced by configurePacking(), and main().

◆ configurePacking()

void configurePacking ( IbmSolver & s,
int ox,
int oy,
int oz,
int lnx,
int lny,
int lnz,
bool perturb = false )
static

Definition at line 115 of file probe_vof_packing.cpp.

References envd(), NX, NY, NZ, and packingSdf().

Referenced by main().

◆ main()

Variable Documentation

◆ NX

◆ NY

◆ NZ

◆ GCELLS