DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
EulerP_BC_bind.hpp File Reference

Pybind11 bindings for the EulerP boundary condition types and handlers. More...

#include "DNDS/Defines_bind.hpp"
#include "EulerP_BC.hpp"
#include <pybind11_json/pybind11_json.hpp>
#include <pybind11/stl.h>
Include dependency graph for EulerP_BC_bind.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 
namespace  DNDS::EulerP
 Namespace for the EulerP alternative evaluator module with GPU support.
 

Macros

#define DNDS_PY_ENUM_CLASS_BCType_ADD(v)   value(#v, BCType::v)
 

Functions

void DNDS::EulerP::pybind11_BCType_define (py::module_ &m)
 Registers the BCType enum as a Python enum class.
 
void DNDS::EulerP::pybind11_BCInput_define (py::module_ &m)
 Registers pybind11 bindings for the BCInput struct.
 
void DNDS::EulerP::pybind11_BC_define (py::module_ &m)
 Registers pybind11 bindings for the BC class.
 
void DNDS::EulerP::pybind11_BCHandler_define (py::module_ &m)
 Registers pybind11 bindings for the BCHandler class.
 
void DNDS::EulerP::pybind11_BC_bind (py::module_ &m)
 Top-level binding function for all EulerP boundary condition Python API.
 

Detailed Description

Pybind11 bindings for the EulerP boundary condition types and handlers.

Exposes the following Python API under the EulerP module:

  • BCType: Enum with all boundary condition types (Wall, Far, Sym, etc.)
  • BCInput: JSON-serializable BC input specification with name, type, value properties and to_dict/from_dict methods
  • BC: Single boundary condition with id, type, values properties
  • BCHandler: BC manager constructed from (bc_inputs, name2id) with id2bc lookup

Definition in file EulerP_BC_bind.hpp.

Macro Definition Documentation

◆ DNDS_PY_ENUM_CLASS_BCType_ADD

#define DNDS_PY_ENUM_CLASS_BCType_ADD (   v)    value(#v, BCType::v)