CoMMA 1.3.2
A geometric agglomerator for unstructured meshes
Loading...
Searching...
No Matches
CoMMADefs.h
Go to the documentation of this file.
1#ifndef COMMA_PROJECT_COMMA_TYPES_H
2#define COMMA_PROJECT_COMMA_TYPES_H
3
4/*
5 * CoMMA
6 *
7 * Copyright © 2024 ONERA
8 *
9 * Authors: Nicolas Lantos, Alberto Remigi, and Riccardo Milani
10 * Contributors: Karim Anemiche
11 *
12 * This Source Code Form is subject to the terms of the Mozilla Public
13 * License, v. 2.0. If a copy of the MPL was not distributed with this
14 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
15 */
16
17#include "CoMMA/CoMMAConfig.h"
18
19namespace comma {
20
24enum CoMMACellT : CoMMAIntT {
26 VALLEY = 1,
27 RIDGE = 2,
28 CORNER = 3,
29 EXTREME = 4,
30
31 N_CELL_TYPES = 4
32};
33
37enum CoMMANeighbourhoodT : CoMMAIntT {
39 PURE_FRONT = 1
40};
41
43enum CoMMASeedsPoolT : CoMMAIntT {
58};
59
73enum CoMMAAspectRatioT : CoMMAIntT {
100};
101
103enum CoMMACellCouplingT : CoMMAIntT {
107 MIN_DISTANCE = 1
109
110} // end namespace comma
111
112#endif
Definition: Agglomerator.h:37
CoMMAAspectRatioT
Type of aspect-ratio. Notation:
Definition: CoMMADefs.h:73
@ ONE_OVER_MEASURE
Definition: CoMMADefs.h:85
@ ONE_OVER_INTERNAL_WEIGHTS
Definition: CoMMADefs.h:87
@ ALGEBRAIC_PERIMETER_OVER_MEASURE
Definition: CoMMADefs.h:99
@ EXTERNAL_WEIGHTS
Definition: CoMMADefs.h:91
@ MAX_BARY_DIST_OVER_RADIUS
Definition: CoMMADefs.h:93
@ DIAMETER_OVER_RADIUS
Definition: CoMMADefs.h:75
@ DIAMETER_OVER_MIN_EDGE
Definition: CoMMADefs.h:79
@ MAX_OVER_MIN_BARY_DIST
Definition: CoMMADefs.h:95
@ DIAMETER
Definition: CoMMADefs.h:81
@ PERIMETER_OVER_RADIUS
Definition: CoMMADefs.h:89
CoMMACellCouplingT
Type of coupling between cells in an anisotropic line.
Definition: CoMMADefs.h:103
@ MIN_DISTANCE
Definition: CoMMADefs.h:107
@ MAX_WEIGHT
Definition: CoMMADefs.h:105
CoMMACellT
Type of an element according to its boundary faces / edges The terms come from the NIA paper: Nishika...
Definition: CoMMADefs.h:24
@ N_CELL_TYPES
Total number of values.
Definition: CoMMADefs.h:31
@ CORNER
Corners, three boundary faces.
Definition: CoMMADefs.h:28
@ VALLEY
Valley, one boundary face.
Definition: CoMMADefs.h:26
@ RIDGE
Ridge, two boundary faces.
Definition: CoMMADefs.h:27
@ EXTREME
Extreme value, should not be used.
Definition: CoMMADefs.h:29
@ INTERIOR
Interior cell, no boundary faces.
Definition: CoMMADefs.h:25
CoMMANeighbourhoodT
Type of neighbourhood (of a coarse cell) considered when agglomerating.
Definition: CoMMADefs.h:37
@ EXTENDED
Extended, all neighbours of the coarse cell.
Definition: CoMMADefs.h:38
@ PURE_FRONT
Pure front, only neighbours of the last added fine cell.
Definition: CoMMADefs.h:39
CoMMASeedsPoolT
Type of seeds pool ordering.
Definition: CoMMADefs.h:43
@ BOUNDARY_PRIORITY_ONE_POINT_INIT
Definition: CoMMADefs.h:53
@ BOUNDARY_PRIORITY
Definition: CoMMADefs.h:45
@ NEIGHBOURHOOD_PRIORITY_ONE_POINT_INIT
Definition: CoMMADefs.h:57
@ NEIGHBOURHOOD_PRIORITY
Definition: CoMMADefs.h:49