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

Python binding of peclet.flow: domain boundary conditions, scenes, solids, moving instances and hydrodynamic loads. More...

Go to the source code of this file.

Namespaces

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

Functions

template<class Grid, class C>
void peclet::flow::bindings::bindSolverGeometry (C &cls)
 Solver (and its collocated twin): domain BCs, pressure geometry, scenes, instances, hydrodynamic loads and the solid.
template<class Grid, class C>
void peclet::flow::bindings::bindDiagnosticsGeometry (C &cls)
 SolverDiagnostics (and its collocated twin): cut-cell and moving-instance instruments, zero-copy field views and the ghost exchange.

Detailed Description

Python binding of peclet.flow: domain boundary conditions, scenes, solids, moving instances and hydrodynamic loads.

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_geometry.hpp.