Nektar++
Classes | Functions
VarCoeffEntry.cpp File Reference
#include <LibUtilities/BasicUtils/SharedArray.hpp>
#include <LibUtilities/Python/NekPyConfig.hpp>
#include <StdRegions/StdRegions.hpp>
#include <type_traits>

Go to the source code of this file.

Classes

struct  VarCoeffEntryToPython
 
struct  PythonToVarCoeffEntry
 

Functions

void CapsuleDestructor (PyObject *ptr)
 
void export_VarCoeffEntry ()
 

Function Documentation

◆ CapsuleDestructor()

void CapsuleDestructor ( PyObject *  ptr)

Definition at line 52 of file VarCoeffEntry.cpp.

53{
54 VarCoeffEntry *tmp = (VarCoeffEntry *)PyCapsule_GetPointer(ptr, nullptr);
55 delete tmp;
56}
Representation of a variable coefficient.
Definition: StdRegions.hpp:265

Referenced by VarCoeffEntryToPython::convert().

◆ export_VarCoeffEntry()

void export_VarCoeffEntry ( )

Definition at line 156 of file VarCoeffEntry.cpp.

157{
158 py::to_python_converter<VarCoeffEntry, VarCoeffEntryToPython>();
160}

Referenced by BOOST_PYTHON_MODULE().