Add basic Python bindings
This merge requests introduces the basic Python bindings to Nektar++ along with some Python documentation.
The functionalities that have been wrapped include:
-
LibUtilities
-
BasicUtils
-
SessionReader
:CreateInstance
,GetSessionName
,Finalise
-
ShapeType
: wrappedShapeType
enum
SharedArray
-
-
Foundations
-
BasisType
,BasisKey
andBasis
classes -
PointsType
,PointsKey
andPoints
classes
-
-
LinearAlgebra
NekMatrix
-
-
LocalRegions
-
Expansion
:GetGeom
QuadExp
SegExp
TriExp
-
-
MultiRegions
-
ExpList
:GetNpoints
,GetNcoeffs
,GetExp
,GetExpSize
,WriteVTK
,GetCoords
,FwdTrans
,BwdTrans
,IProductWRTBase
,L2
ExpList2D
-
-
SpatialDomains
-
Geometry
:GetCoordim
,GetGlobalID
,FillGeom
,GetXmap
,GenGeomFactors
,ContainsPoint
,GetCoeffs
Geometry1D
Geometry2D
-
MeshGraph
:SegGeomMap
,QuadGeomMap
,TriGeomMap
,Read
,GetMeshDimension
,GetAllSegGeoms
,GetAllQuadGeoms
,GetAllTryGeoms
QuadGeom
SegGeom
TriGeom
-
-
StdRegions
-
StdExpansion
:GetNcoeffs
,GetTotPoints
,GetBasisType
,GetPointsType
,GetNverts
,GetNedges
,GetNfaces
,DetShapeType
,GetShapeDimension
,Integral
,GetBasis
,FwdTrans
,BwdTrans
,IProductWRTBase
,PhysEvaluate
,L2
,GetCoords
StdQuadExp
StdSegExp
StdTriExp
-
This branch also:
- fixes the error in which for n-dimensional Nektar matrices the transpose was obtained,
- introduces a
#define NEKPY_WRAP_ENUM_STRING_DOCS
declaration allowing to wrapenum
types with a Python docstring included, - includes Python documentation for
Points
,PointsKey
andPointsType
classes (accessible usinghelp()
function). - closes #107 (closed) and #96 (closed)