3D-ICE 3.0.0
Data Structures | Typedefs | Functions
coolant.h File Reference
#include "types.h"

Go to the source code of this file.

Data Structures

struct  Coolant_t
 A collection of parameters describing the properties cooling fluid. More...
 

Typedefs

typedef struct Coolant_t Coolant_t
 

Functions

void coolant_init (Coolant_t *coolant)
 
void coolant_copy (Coolant_t *dst, Coolant_t *src)
 
void coolant_destroy (Coolant_t *coolant)
 

Typedef Documentation

◆ Coolant_t

typedef struct Coolant_t Coolant_t

Definition of the type Coolant_t

Definition at line 103 of file coolant.h.

Function Documentation

◆ coolant_copy()

void coolant_copy ( Coolant_t dst,
Coolant_t src 
)

Copies the structure src into dst , as an assignement

The function destroys the content of dst and then makes the copy

Parameters
dstthe address of the left term sructure (destination)
srcthe address of the right term structure (source)

Definition at line 56 of file coolant.c.

◆ coolant_destroy()

void coolant_destroy ( Coolant_t coolant)

Destroys the content of the fields of the structure coolant

The function releases any dynamic memory used by the structure and resets its state calling coolant_init .

Parameters
coolantthe address of the structure to destroy

Definition at line 71 of file coolant.c.

◆ coolant_init()

void coolant_init ( Coolant_t coolant)

Inits the fields of the coolant structure with default values

Parameters
coolantthe address of the structure to initalize

Definition at line 43 of file coolant.c.