Arcane
4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshGenerator.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* IMeshGenerator.h (C) 2000-2016 */
9
/* */
10
/* Interface of the mesh generation service. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_STD_IMESHGENERATOR_H
13
#define ARCANE_STD_IMESHGENERATOR_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/Real3.h"
18
#include "
arcane/utils/UtilsTypes.h
"
19
#include "
arcane/core/ArcaneTypes.h
"
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
namespace
Arcane
25
{
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
29
30
class
ISubDomain
;
31
class
IPrimaryMesh
;
32
class
XmlNode
;
33
34
/*---------------------------------------------------------------------------*/
35
/*---------------------------------------------------------------------------*/
36
37
class
NodeInfo
38
{
39
public
:
40
41
NodeInfo()
42
: m_owner(NULL_SUB_DOMAIN_ID)
43
{}
44
NodeInfo(
Integer
owner,
const
Real3
& coord)
45
: m_owner(owner)
46
, m_coord(coord)
47
{}
48
49
public
:
50
51
Integer
m_owner;
52
Real3
m_coord;
53
};
54
55
/*---------------------------------------------------------------------------*/
56
/*---------------------------------------------------------------------------*/
57
61
class
IMeshGenerator
62
{
63
public
:
64
65
virtual
~IMeshGenerator
() {}
66
67
public
:
68
69
virtual
IntegerConstArrayView
communicatingSubDomains()
const
= 0;
70
virtual
bool
readOptions(
XmlNode
node) = 0;
71
virtual
bool
generateMesh() = 0;
72
};
73
74
/*---------------------------------------------------------------------------*/
75
/*---------------------------------------------------------------------------*/
76
77
}
// namespace Arcane
78
79
/*---------------------------------------------------------------------------*/
80
/*---------------------------------------------------------------------------*/
81
82
#endif
ArcaneTypes.h
Declarations of Arcane's general types.
UtilsTypes.h
Declarations of types used in Arcane.
Arcane::IMeshGenerator
Interface of a mesh generator.
Definition
IMeshGenerator.h:62
Arcane::IPrimaryMesh
Definition
IPrimaryMesh.h:44
Arcane::ISubDomain
Interface of the subdomain manager.
Definition
ISubDomain.h:75
Arcane::Real3
Class managing a 3-dimensional real vector.
Definition
Real3.h:132
Arcane::XmlNode
Node of a DOM tree.
Definition
XmlNode.h:51
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
arcane/src/arcane/accelerator/AcceleratorGlobal.h:37
Arcane::Integer
Int32 Integer
Type representing an integer.
Definition
ArccoreGlobal.h:293
Arcane::IntegerConstArrayView
ConstArrayView< Integer > IntegerConstArrayView
C equivalent of a 1D array of integers.
Definition
UtilsTypes.h:486
arcane
std
IMeshGenerator.h
Generated on
for Arcane by
1.16.1