This release implements new routines to perform arithmetic operations with spherical harmonic coefficients and fixes a bug in PyHarm v0.4.8, where some constants were missing in the gfm module.
-
Added routines for basic arithmetics with spherical harmonic coefficients:
charm_shc_add,charm_shc_sub,charm_shc_mul,charm_shc_mul_degree_wise,charm_shc_mul_order_wise,charm_shc_div,charm_shc_div_degree_wise,charm_shc_div_order_wise.
In PyHarm, the routines are implemented as
pyharm.shc.Shcclass methods. -
Added routine to create spherical harmonic coefficients from a copy:
charm_shc_copy
In PyHarm, the routine is implemented as a
pyharm.shc.Shcclass method. -
pyharm.shc.Shc.get_coeffsandpyharm.shc.Shc.set_coeffscan now also get and set all coefficients ofpyharm.shc.Shcclass instances. -
Introduced symbolic constants
CHARM_WITH_MPFRandCHARM_WITH_MPIto detect the CHarm's support for MPFR and MPI at compile-time. -
Allow to change the
muandrattributes ofpyharm.shc.Shcdirectly without callingpyharm.shc.shc.rescale. -
In PyHarm v0.4.8, the following constants were missing in the
gfmmodule:CHARM_GFM_Q00,CHARM_GFM_Q10,CHARM_GFM_Q11,CHARM_GFM_Q20,CHARM_GFM_Q21,CHARM_GFM_Q22,CHARM_GFM_NEAR_ZONE,CHARM_GFM_FAR_ZONE.