3D-ICE 3.0.0
material_element.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_ELEMENT_H_
40#define _3DICE_MATERIAL_ELEMENT_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#include "dimensions.h"
57#include "material.h"
58#include "ic_element_list.h"
59
60/******************************************************************************/
61
69 {
73
77
80 ICElementList_t MElements ;
81
82 } ;
83
87
88
89/******************************************************************************/
90
91
92
99
100
101
111
113
114
115
125
126
127
138
139
140
151
152
153
167
168
169
180
181 (MaterialElement_t *melement, MaterialElement_t *other) ;
182
183
184
195
196 (MaterialElement_t *melement, FILE *stream, String_t prefix) ;
197
198
199
216 CellIndex_t row_index,
217 CellIndex_t column_index,
218 Dimensions_t *dimensions) ;
219
220/******************************************************************************/
221
222#ifdef __cplusplus
223}
224#endif
225
226#endif /* _3DICE_MATERIAL_ELEMENT_H_ */
void material_element_free(MaterialElement_t *melement)
MaterialElement_t * material_element_clone(MaterialElement_t *melement)
Material_t * get_material_at_location(MaterialElement_t *melement, CellIndex_t row_index, CellIndex_t column_index, Dimensions_t *dimensions)
void material_element_print(MaterialElement_t *melement, FILE *stream, String_t prefix)
bool material_element_same_material(MaterialElement_t *melement, MaterialElement_t *other)
void material_element_copy(MaterialElement_t *dst, MaterialElement_t *src)
MaterialElement_t * material_element_calloc(void)
void material_element_init(MaterialElement_t *melement)
void material_element_destroy(MaterialElement_t *melement)
char * String_t
Definition: string_t.h:55
Collections of all the structures that are needed for the thermal simulation.
Definition: dimensions.h:311
ICElementList_t MElements
Structure used to store data about the materials that compose the 2D/3D stack.
Definition: material.h:68
uint32_t Quantity_t
Definition: types.h:59
uint32_t CellIndex_t
Definition: types.h:213