Unidimensional Grid

Unidimensional Grid — FIXME

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);

Description

FIXME

Details

NCM_GRID_GET_SEC()

#define NCM_GRID_GET_SEC(grid) (&(g_array_index((grid)->sections, NcmGridSection, 0)))

struct NcmGrid

struct NcmGrid {
};

FIXME


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_NODES_START

FIXME

NCM_GRID_NODES_END

FIXME

NCM_GRID_NODES_BOTH

FIXME

NCM_GRID_NODES_NONE

FIXME

struct NcmGridSection

struct NcmGridSection {
};

ncm_grid_free ()

void                ncm_grid_free                       (NcmGrid *grid,
                                                         gboolean free_data);

FIXME

grid :

a NcmGrid

free_data :

FIXME

ncm_grid_get_double_array ()

gdouble *           ncm_grid_get_double_array           (NcmGrid *grid);

FIXME

grid :

a NcmGrid

Returns :

FIXME

ncm_grid_get_name ()

gchar *             ncm_grid_get_name                   (NcmGridSection *secs);

FIXME

secs :

a NcmGridSection

Returns :

FIXME

ncm_grid_get_node_d ()

gdouble             ncm_grid_get_node_d                 (NcmGrid *grid,
                                                         gulong i);

FIXME

grid :

a NcmGrid

i :

FIXME

Returns :

FIXME

ncm_grid_new ()

NcmGrid *           ncm_grid_new                        (gulong nnodes);

FIXME

nnodes :

FIXME

Returns :

FIXME

ncm_grid_new_from_sections ()

NcmGrid *           ncm_grid_new_from_sections          (NcmGridSection *secs);

FIXME

secs :

a NcmGridSection

Returns :

FIXME

ncm_grid_read ()

NcmGrid *           ncm_grid_read                       (FILE *f);

FIXME

f :

FIXME

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

grid :

a NcmGrid

incl :

a NcmGridNodesEndPoints

start :

FIXME

end :

FIXME

start_val :

FIXME

end_val :

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

grid :

a NcmGrid

incl :

a NcmGridNodesEndPoints

start :

FIXME

end :

FIXME

start_val_num :

FIXME

start_val_den :

FIXME

end_val_num :

FIXME

end_val_den :

FIXME

ncm_grid_set_sections ()

void                ncm_grid_set_sections               (NcmGrid *grid,
                                                         NcmGridSection *secs);

FIXME

grid :

a NcmGrid

secs :

a NcmGridSection

ncm_grid_write ()

void                ncm_grid_write                      (NcmGrid *grid,
                                                         FILE *f);

FIXME

grid :

a NcmGrid

f :

FIXME