Permalink
Browse files

Merge branch 'fespace_iscomplex' into 'master'

export IsComplex method for fespace

See merge request jschoeberl/ngsolve!291
  • Loading branch information...
JSchoeberl committed Jan 24, 2018
2 parents 59bc84a + e5952df commit 14084c2b96c63053fdd6dfd82bc6989aa19063fb
Showing with 2 additions and 0 deletions.
  1. +2 −0 comp/python_comp.cpp
@@ -1583,6 +1583,8 @@ kwargs : For a description of the possible kwargs have a look a bit further down
.def_property_readonly("type", [] (shared_ptr<FESpace> self) { return self->type; },
"type of finite element space")
.def_property_readonly("is_complex", &FESpace::IsComplex)
.def("SetDefinedOn", [] (FESpace& self, Region& reg)
{
self.SetDefinedOn(reg.VB(),reg.Mask());

0 comments on commit 14084c2

Please sign in to comment.