47 return geom->ContainsPoint(gloCoord);
58 return geomFactors->IsValid();
63 py::class_<Geometry, std::shared_ptr<Geometry>, boost::noncopyable>(
64 "Geometry", py::no_init)
66 .def(
"GetCoordim", &Geometry::GetCoordim)
67 .def(
"GetGlobalID", &Geometry::GetGlobalID)
68 .def(
"SetGlobalID", &Geometry::SetGlobalID)
70 .def(
"Setup", &Geometry::Setup)
71 .def(
"FillGeom", &Geometry::FillGeom)
77 .def(
"GetVertex", &Geometry::GetVertex)
78 .def(
"GetEdge", &Geometry::GetEdge)
79 .def(
"GetFace", &Geometry::GetFace)
80 .def(
"GetVid", &Geometry::GetVid)
81 .def(
"GetEid", &Geometry::GetEid)
82 .def(
"GetFid", &Geometry::GetFid)
83 .def(
"GetTid", &Geometry::GetTid)
85 .def(
"GetNumVerts", &Geometry::GetNumVerts)
86 .def(
"GetNumEdges", &Geometry::GetNumEdges)
87 .def(
"GetNumFaces", &Geometry::GetNumFaces)
88 .def(
"GetShapeDim", &Geometry::GetShapeDim)
89 .def(
"GetShapeType", &Geometry::GetShapeType)
90 .def(
"GetEorient", &Geometry::GetEorient)
91 .def(
"GetForient", &Geometry::GetForient)
93 .def(
"GetXmap", &Geometry::GetXmap)
94 .def(
"GetCoeffs", &Geometry::GetCoeffs,
95 py::return_value_policy<py::copy_const_reference>());
bool Geometry_IsValid(GeometrySharedPtr geom)
void Geometry_GenGeomFactors(GeometrySharedPtr geom)
bool Geometry_ContainsPoint(GeometrySharedPtr geom, const Array< OneD, const NekDouble > &gloCoord)
std::shared_ptr< GeomFactors > GeomFactorsSharedPtr
Pointer to a GeomFactors object.
std::shared_ptr< Geometry > GeometrySharedPtr