3D-ICE 3.0.0
material.h
Go to the documentation of this file.
1/******************************************************************************
2 * This file is part of 3D-ICE, version 3.1.0 . *
3 * *
4 * 3D-ICE is free software: you can redistribute it and/or modify it under *
5 * the terms of the GNU General Public License as published by the Free *
6 * Software Foundation, either version 3 of the License, or any later *
7 * version. *
8 * *
9 * 3D-ICE is distributed in the hope that it will be useful, but WITHOUT *
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
12 * more details. *
13 * *
14 * You should have received a copy of the GNU General Public License along *
15 * with 3D-ICE. If not, see <http://www.gnu.org/licenses/>. *
16 * *
17 * Copyright (C) 2021 *
18 * Embedded Systems Laboratory - Ecole Polytechnique Federale de Lausanne *
19 * All Rights Reserved. *
20 * *
21 * Authors: Arvind Sridhar Alessandro Vincenzi *
22 * Giseong Bak Martino Ruggiero *
23 * Thomas Brunschwiler Eder Zulian *
24 * Federico Terraneo Darong Huang *
25 * Luis Costero Marina Zapater *
26 * David Atienza *
27 * *
28 * For any comment, suggestion or request about 3D-ICE, please register and *
29 * write to the mailing list (see http://listes.epfl.ch/doc.cgi?liste=3d-ice) *
30 * Any usage of 3D-ICE for research, commercial or other purposes must be *
31 * properly acknowledged in the resulting products or publications. *
32 * *
33 * EPFL-STI-IEL-ESL Mail : 3d-ice@listes.epfl.ch *
34 * Batiment ELG, ELG 130 (SUBSCRIPTION IS NECESSARY) *
35 * Station 11 *
36 * 1015 Lausanne, Switzerland Url : http://esl.epfl.ch/3d-ice *
37 ******************************************************************************/
38
39#ifndef _3DICE_MATERIAL_H_
40#define _3DICE_MATERIAL_H_
41
44#ifdef __cplusplus
45extern "C"
46{
47#endif
48
49/******************************************************************************/
50
51#include <stdio.h> // For the file type FILE
52
53#include "types.h"
54#include "string_t.h"
55
56/******************************************************************************/
57
68 {
74
81
88 } ;
89
93 typedef struct Material_t Material_t ;
94
95
96
97/******************************************************************************/
98
99
100
106 void material_init (Material_t *material) ;
107
108
109
118 void material_copy (Material_t *dst, Material_t *src) ;
119
120
121
130 void material_destroy (Material_t *material) ;
131
132
133
143 Material_t *material_calloc ( void ) ;
144
145
146
157
158
159
171 void material_free (Material_t *material) ;
172
173
174
184 bool material_same_id (Material_t *material, Material_t *other) ;
185
186
187
196 void material_print (Material_t *material, FILE *stream, String_t prefix) ;
197
198/******************************************************************************/
199
200#ifdef __cplusplus
201}
202#endif
203#endif /* _3DICE_MATERIAL_H_ */
Material_t * material_calloc(void)
Definition: material.c:76
void material_copy(Material_t *dst, Material_t *src)
Definition: material.c:55
void material_destroy(Material_t *material)
Definition: material.c:67
Material_t * material_clone(Material_t *material)
Definition: material.c:89
bool material_same_id(Material_t *material, Material_t *other)
Definition: material.c:119
void material_print(Material_t *material, FILE *stream, String_t prefix)
Definition: material.c:126
void material_free(Material_t *material)
Definition: material.c:106
void material_init(Material_t *material)
Definition: material.c:45
char * String_t
Definition: string_t.h:55
Structure used to store data about the materials that compose the 2D/3D stack.
Definition: material.h:68
SolidVHC_t VolumetricHeatCapacity
Definition: material.h:80
SolidTC_t ThermalConductivity
Definition: material.h:87
String_t Id
Definition: material.h:73
double SolidVHC_t
Definition: types.h:99
double SolidTC_t
Definition: types.h:107