pyccel / psydac

Python 3 library for isogeometric analysis
https://pyccel.github.io/psydac/
MIT License
52 stars 18 forks source link

Add property `codomain_type` to base class `FemSpace` #380

Open yguclu opened 8 months ago

yguclu commented 8 months ago

This property mimics the one that should be added to the function spaces in SymPDE. In practice it should just match the dtype property of the space of coefficients:

@property
def codomain_type(self):
    return self.vector_space.dtype