Streamer fluid modeling - An overview of ARCoS  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
tree.c File Reference

Functions to handle tree structures. More...

#include <stdlib.h>
#include <stdio.h>
#include "species.h"
#include "tree.h"
Include dependency graph for tree.c:

Go to the source code of this file.

Functions

leaf_t * leaf_new_a (leaf_t *parent, leaf_t *next, leaf_t *first_child, void *data)
 Allocates new memory for a leaf and gives it the corresponding values.
 
leaf_t * leaf_new_child_a (leaf_t *parent, void *data)
 Creates a new child of parent with the given data.
 

Detailed Description

Functions to handle tree structures.

Definition in file tree.c.

Function Documentation

leaf_t* leaf_new_a ( leaf_t *  parent,
leaf_t *  next,
leaf_t *  first_child,
void *  data 
)

Allocates new memory for a leaf and gives it the corresponding values.

Definition at line 16 of file tree.c.

Here is the call graph for this function:

Here is the caller graph for this function:

leaf_t* leaf_new_child_a ( leaf_t *  parent,
void *  data 
)

Creates a new child of parent with the given data.

Definition at line 34 of file tree.c.

Here is the call graph for this function: