![]() |
![]() |
![]() |
NumCosmo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
Synopsis
#define NCM_GRID_GET_SEC (grid) struct NcmGrid; enum NcmGridNodesEndPoints; struct NcmGridSection; void ncm_grid_free (NcmGrid *grid
,gboolean free_data
); gdouble * ncm_grid_get_double_array (NcmGrid *grid
); gchar * ncm_grid_get_name (NcmGridSection *secs
); gdouble ncm_grid_get_node_d (NcmGrid *grid
,gulong i
); NcmGrid * ncm_grid_new (gulong nnodes
); NcmGrid * ncm_grid_new_from_sections (NcmGridSection *secs
); NcmGrid * ncm_grid_read (FILE *f
); void ncm_grid_set_nodes_d (NcmGrid *grid
,NcmGridNodesEndPoints incl
,guint32 start
,guint32 end
,gdouble start_val
,gdouble end_val
); void ncm_grid_set_nodes_si (NcmGrid *grid
,NcmGridNodesEndPoints incl
,guint32 start
,guint32 end
,glong start_val_num
,glong start_val_den
,glong end_val_num
,glong end_val_den
); void ncm_grid_set_sections (NcmGrid *grid
,NcmGridSection *secs
); void ncm_grid_write (NcmGrid *grid
,FILE *f
);
Details
NCM_GRID_GET_SEC()
#define NCM_GRID_GET_SEC(grid) (&(g_array_index((grid)->sections, NcmGridSection, 0)))
enum NcmGridNodesEndPoints
typedef enum { NCM_GRID_NODES_START = 1, NCM_GRID_NODES_END, NCM_GRID_NODES_BOTH, NCM_GRID_NODES_NONE, } NcmGridNodesEndPoints;
FIXME
ncm_grid_free ()
void ncm_grid_free (NcmGrid *grid
,gboolean free_data
);
FIXME
|
a NcmGrid |
|
FIXME |
ncm_grid_get_double_array ()
gdouble * ncm_grid_get_double_array (NcmGrid *grid
);
FIXME
|
a NcmGrid |
Returns : |
FIXME |
ncm_grid_get_name ()
gchar * ncm_grid_get_name (NcmGridSection *secs
);
FIXME
|
a NcmGridSection |
Returns : |
FIXME |
ncm_grid_get_node_d ()
gdouble ncm_grid_get_node_d (NcmGrid *grid
,gulong i
);
FIXME
|
a NcmGrid |
|
FIXME |
Returns : |
FIXME |
ncm_grid_new_from_sections ()
NcmGrid * ncm_grid_new_from_sections (NcmGridSection *secs
);
FIXME
|
a NcmGridSection |
Returns : |
FIXME |
ncm_grid_set_nodes_d ()
void ncm_grid_set_nodes_d (NcmGrid *grid
,NcmGridNodesEndPoints incl
,guint32 start
,guint32 end
,gdouble start_val
,gdouble end_val
);
FIXME
|
a NcmGrid |
|
a NcmGridNodesEndPoints |
|
FIXME |
|
FIXME |
|
FIXME |
|
FIXME |
ncm_grid_set_nodes_si ()
void ncm_grid_set_nodes_si (NcmGrid *grid
,NcmGridNodesEndPoints incl
,guint32 start
,guint32 end
,glong start_val_num
,glong start_val_den
,glong end_val_num
,glong end_val_den
);
FIXME
|
a NcmGrid |
|
a NcmGridNodesEndPoints |
|
FIXME |
|
FIXME |
|
FIXME |
|
FIXME |
|
FIXME |
|
FIXME |
ncm_grid_set_sections ()
void ncm_grid_set_sections (NcmGrid *grid
,NcmGridSection *secs
);
FIXME
|
a NcmGrid |
|
a NcmGridSection |