flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
flow_bindings_vof_blocks.hpp File Reference

Python binding of peclet.flow: the VoF block container, open boundaries, curvature and surface tension. More...

Go to the source code of this file.

Namespaces

namespace  peclet
namespace  peclet::flow
namespace  peclet::flow::bindings

Functions

template<class S>
nb::ndarray< nb::numpy, double > peclet::flow::bindings::vofBlockColourArray (S &s, long id)
template<class S>
nb::ndarray< nb::numpy, double > peclet::flow::bindings::vofBlockKappaArray (S &s, long id)
template<class Grid, class C>
void peclet::flow::bindings::bindSolverVofBlocks (C &cls)
 Solver (and its collocated twin): VoF blocks, open boundaries, curvature and surface tension.
template<class Grid, class C>
void peclet::flow::bindings::bindDiagnosticsVofBlocks (C &cls)
 SolverDiagnostics (and its collocated twin): VoF census, block container, outflow density correction, curvature and CSF instruments.

Detailed Description

Python binding of peclet.flow: the VoF block container, open boundaries, curvature and surface tension.

Binding-only: included by src/flow_bindings.cpp alone, which it was split out of verbatim. Each function adds one topic's entries to the nb::class_ that bind_solver or bind_diagnostics creates; the order of those calls is the registration order, and nanobind resolves overloads in it.

Definition in file flow_bindings_vof_blocks.hpp.