hmpdf
One- and two-point PDFs within the halo model.
hmpdf_object.h File Reference

Typedefs

typedef struct hmpdf_obj_s hmpdf_obj
 

Functions

hmpdf_objhmpdf_new (void)
 
int hmpdf_delete (hmpdf_obj *d)
 

Typedef Documentation

◆ hmpdf_obj

typedef struct hmpdf_obj_s hmpdf_obj

The data structure that all globally exposed functions receive a pointer to as their first argument. The user should not attempt to interact with this structure directly.

Function Documentation

◆ hmpdf_new()

hmpdf_obj* hmpdf_new ( void  )

Allocates a new hmpdf_obj.

Returns
d pointer to a new hmpdf_obj, NULL if memory allocation failed

◆ hmpdf_delete()

int hmpdf_delete ( hmpdf_obj d)

Frees all memory associated with the hmpdf_obj.

Parameters
[in]dhmpdf_obj created with hmpdf_new()
Returns
error code