CHarm (C API)#
This chapter documents the C interface.
CHarm is divided into several modules, comprising functions
with conceptually similar tasks, such as spherical harmonic analysis or
spherical harmonic synthesis. Each module has its own subdirectory inside the
src
directory, where the source files are stored.
Next follows the documentation of the CHarm modules in double precision. There are only a few easy-to-remember systematic differences in CHarm’s API when working in single or quadruple precision, so separate documentations are omitted. The list of the differences is given in CHarm in single and quadruple precision.
- charm_shc
charm_shc_malloc()
charm_shc_calloc()
charm_shc_init()
charm_shc_free()
charm_shc_read_bin()
charm_shc_read_gfc()
charm_shc_read_tbl()
charm_shc_read_dov()
charm_shc_read_mtx()
charm_shc_write_bin()
charm_shc_write_tbl()
charm_shc_write_dov()
charm_shc_write_mtx()
charm_shc_dv()
charm_shc_da()
charm_shc_ddv()
charm_shc_dda()
charm_shc_rescale()
@4
charm_shc
- charm_crd
charm_crd_point_malloc()
charm_crd_point_calloc()
charm_crd_point_init()
charm_crd_point_free()
charm_crd_point_gl()
charm_crd_point_gl_shape()
charm_crd_point_dh1()
charm_crd_point_dh1_shape()
charm_crd_point_dh2()
charm_crd_point_dh2_shape()
charm_crd_cell_malloc()
charm_crd_cell_calloc()
charm_crd_cell_init()
charm_crd_cell_free()
@0
charm_point
charm_point::type
charm_point::nlat
charm_point::nlon
charm_point::npoint
charm_point::lat
charm_point::lon
charm_point::r
charm_point::w
charm_point::owner
charm_point::distributed
charm_point::local_nlat
charm_point::local_nlon
charm_point::local_npoint
charm_point::local_0_start
charm_point::comm
charm_cell
- charm_shs
- charm_sha
- charm_leg
- charm_integ
- charm_misc
charm_misc_get_version()
charm_misc_print_info()
charm_misc_buildopt_precision()
charm_misc_buildopt_simd()
charm_misc_buildopt_simd_vector_size()
charm_misc_buildopt_omp_charm()
charm_misc_buildopt_omp_fftw()
charm_misc_buildopt_mpi()
charm_misc_buildopt_version_fftw()
charm_misc_buildopt_isfinite()
- charm_err
- charm_mpi
- charm_glob
- charm