Permalink
Browse files

Merge branch 'export_setdefinedon_fespace' into 'master'

export SetDefinedOn for FESpace

See merge request !257
  • Loading branch information...
JSchoeberl committed Oct 30, 2017
2 parents ae2e73e + 4e01a1c commit 73300a84e333e7bdccbf0ba17d894984e869eae6
Showing with 6 additions and 1 deletion.
  1. +6 −1 comp/python_comp.cpp
@@ -1565,7 +1565,12 @@ kwargs : For a description of the possible kwargs have a look a bit further down
.def_property_readonly("globalorder", [] (shared_ptr<FESpace> self) { return self->GetOrder(); },
"query global order of space")
.def_property_readonly("type", [] (shared_ptr<FESpace> self) { return self->type; },
"type of finite element space")
"type of finite element space")
.def("SetDefinedOn", [] (FESpace& self, Region& reg)
{
self.SetDefinedOn(reg.VB(),reg.Mask());
}, py::arg("Region"))
.def("SetOrder",
[](shared_ptr<FESpace> self, ELEMENT_TYPE et, py::object order, py::object order_left, py::object order_right)

0 comments on commit 73300a8

Please sign in to comment.