Nektar++
Functions
LocalElements.cpp File Reference
#include <LibUtilities/Python/NekPyConfig.hpp>
#include <LocalRegions/SegExp.h>
#include <LocalRegions/TriExp.h>
#include <LocalRegions/QuadExp.h>
#include <LocalRegions/TetExp.h>
#include <LocalRegions/PrismExp.h>
#include <LocalRegions/PyrExp.h>
#include <LocalRegions/HexExp.h>

Go to the source code of this file.

Functions

void export_LocalElements ()
 

Function Documentation

◆ export_LocalElements()

void export_LocalElements ( )

Definition at line 47 of file LocalElements.cpp.

References NEKPY_SHPTR_FIX.

Referenced by BOOST_PYTHON_MODULE().

48 {
49  py::class_<SegExp, py::bases<Expansion, StdRegions::StdSegExp>,
50  std::shared_ptr<SegExp> >(
51  "SegExp", py::init<const LibUtilities::BasisKey&,
53  py::class_<TriExp, py::bases<Expansion, StdRegions::StdTriExp>,
54  std::shared_ptr<TriExp> >(
55  "TriExp", py::init<const LibUtilities::BasisKey&,
58  py::class_<QuadExp, py::bases<Expansion, StdRegions::StdQuadExp>,
59  std::shared_ptr<QuadExp> >(
60  "QuadExp", py::init<const LibUtilities::BasisKey&,
63  py::class_<TetExp, py::bases<Expansion, StdRegions::StdTetExp>,
64  std::shared_ptr<TetExp> >(
65  "TetExp", py::init<const LibUtilities::BasisKey&,
69  py::class_<PrismExp, py::bases<Expansion, StdRegions::StdPrismExp>,
70  std::shared_ptr<PrismExp> >(
71  "PrismExp", py::init<const LibUtilities::BasisKey&,
75  py::class_<PyrExp, py::bases<Expansion, StdRegions::StdPyrExp>,
76  std::shared_ptr<PyrExp> >(
77  "PyrExp", py::init<const LibUtilities::BasisKey&,
81  py::class_<HexExp, py::bases<Expansion, StdRegions::StdHexExp>,
82  std::shared_ptr<HexExp> >(
83  "HexExp", py::init<const LibUtilities::BasisKey&,
87 
109 }
std::shared_ptr< TetGeom > TetGeomSharedPtr
Definition: TetGeom.h:88
std::shared_ptr< QuadGeom > QuadGeomSharedPtr
Definition: HexGeom.h:46
#define NEKPY_SHPTR_FIX(SOURCE, TARGET)
Class representing a segment element in reference space.
Definition: StdSegExp.h:53
std::shared_ptr< TriGeom > TriGeomSharedPtr
Definition: TriGeom.h:58
The base class for all shapes.
Definition: StdExpansion.h:68
Class representing a hexehedral element in reference space.
Definition: StdHexExp.h:47
Class representing a prismatic element in reference space.
Definition: StdPrismExp.h:48
std::shared_ptr< PyrGeom > PyrGeomSharedPtr
Definition: PyrGeom.h:80
std::shared_ptr< HexGeom > HexGeomSharedPtr
Definition: HexGeom.h:90
std::shared_ptr< PrismGeom > PrismGeomSharedPtr
Definition: PrismGeom.h:88
std::shared_ptr< SegGeom > SegGeomSharedPtr
Definition: Geometry2D.h:62
Describes the specification for a Basis.
Definition: Basis.h:49