Add abstract method copy
to base class FemSpace
#379
Labels
FEM API
Objects describing finite element concepts
copy
to base class FemSpace
#379
This is especially useful when the H^1-conforming scalar space is extracted from the mapping, and its
dtype
(which should be calledcodomain_type
) is changed fromfloat
tocomplex
in order to accommodate complex-valued fields.TO DO:
copy(self, dtype=None)
, which changes thedtype
if required, to base classFemSpace
.SplineSpace
,TensorFemSpace
,VectorFemSpace
, andProductFemSpace
.change_dtype
frompsydac.api.discretization
, as this was used to replace the vector space of coefficients in place (very dangerous).The text was updated successfully, but these errors were encountered: