flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_vof_blocks_overlap.cpp File Reference
#include <array>
#include <cmath>
#include <cstdio>
#include <Kokkos_Core.hpp>
#include <memory>
#include <vector>
#include "flow_ibm.hpp"
#include "vof/block_container.hpp"
#include "vof/block_exchange.hpp"
#include "vof_advect_scenes.hpp"

Go to the source code of this file.

Macros

#define CHECK(cond)
 

Functions

void gateSolverMetric ()
 The Solver hands the anisotropic cell metric to the block set it creates – in the documented order the unit-derived refresh (the only other push) has already run by then (review2 finding 1).
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ CHECK

#define CHECK (   cond)
Value:
do { \
if (!(cond)) { \
std::fprintf(stderr, "CHECK failed: %s\n at %s:%d\n", #cond, __FILE__, __LINE__); \
++failures; \
} \
} while (0)

Definition at line 41 of file test_vof_blocks_overlap.cpp.

Function Documentation

◆ gateSolverMetric()

void gateSolverMetric ( )

The Solver hands the anisotropic cell metric to the block set it creates – in the documented order the unit-derived refresh (the only other push) has already run by then (review2 finding 1).

Definition at line 347 of file test_vof_blocks_overlap.cpp.

References peclet::flow::vof::VofBlockSet::blocks(), CHECK, peclet::flow::vof::VofBlockSet::curvProto, peclet::flow::vof::VofBlockSet::metric(), peclet::flow::vof::VofCurvature::metric, NX, NY, NZ, and sphereFrac().

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 384 of file test_vof_blocks_overlap.cpp.

References failures, and gateSolverMetric().