Arcane
4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
HyodaMix.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 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
* HyodaMix.h (C) 2000-2013 *
9
*****************************************************************************/
10
#ifndef ARCANE_HYODA_MIX_H
11
#define ARCANE_HYODA_MIX_H
12
13
#include "arcane/VariableTypes.h"
14
15
/*---------------------------------------------------------------------------*/
16
/*---------------------------------------------------------------------------*/
17
18
ARCANE_BEGIN_NAMESPACE
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
class
Hyoda;
23
class
IHyodaPlugin;
24
25
/******************************************************************************
26
* HyodaMix CLASS
27
*****************************************************************************/
28
class
ARCANE_HYODA_EXPORT HyodaMix
29
:
public
TraceAccessor
30
{
31
public
:
32
HyodaMix(
Hyoda
*,
ISubDomain
*,
ITraceMng
*);
33
~HyodaMix(){}
34
public
:
35
void
xLine2Cell(
int
,
IVariable
*,
Real
,
Real
);
36
public
:
37
void
setCellOrigin(
Cell
);
38
Int32
xCellPoints(
Cell
,
Real3
,
Real
,
Int32
);
39
void
xCellDrawNormal(
Cell
,
Real3
p[4],
Int32
iDst);
40
void
xCellDrawInterface(
Cell
,
Int32
);
41
public
:
42
int
xCellBorders(
Cell
,
Real
,
Real
,
Real
);
43
int
xCellFill(
Cell
,
Int32Array
&,
Real
,
Real
,
Real
,
Int32
,
Int32
);
44
int
xCellFill_i2_o0(
Cell
,
Real3
p[4],
Real3
x[12],
Int32Array
&,
Real3
);
45
int
xCellFill_i2_o1(
Cell
,
Real3
p[4],
Real3
x[12],
Int32Array
&,
Real3
);
46
int
xCellFill_i3_o0(
Cell
,
Real3
p[4],
Real3
x[12],
Int32Array
&,
Real3
);
47
int
xCellFill_i3_o1(
Cell
,
Real3
p[4],
Real3
x[12],
Int32Array
&,
Real3
);
48
int
xCellFill_i3_o2(
Cell
,
Real3
p[4],
Real3
x[12],
Int32Array
&,
Real3
);
49
private
:
50
int
xNrmDstSgmt2Point(
Real3
p0,
Real3
d0,
Real3
p1,
Real3
p2,
Real3
&);
51
private
:
52
Hyoda
*m_hyoda;
53
IHyodaPlugin
*m_hPlgMats;
54
IHyodaPlugin
*m_hPlgEnvs;
55
ISubDomain
*m_sub_domain;
56
IMesh
* m_default_mesh;
57
VariableCellReal3
m_interface_normal;
58
VariableCellArrayReal
m_interface_distance;
59
Real3UniqueArray
m_p;
60
Real3UniqueArray
m_x;
61
VariableNodeReal3
coords;
62
VariableCellInteger
m_i_origine;
63
VariableCellInteger
m_x_codes;
64
};
65
66
/*---------------------------------------------------------------------------*/
67
/*---------------------------------------------------------------------------*/
68
69
ARCANE_END_NAMESPACE
70
71
/*---------------------------------------------------------------------------*/
72
/*---------------------------------------------------------------------------*/
73
74
#endif
// ARCANE_HYODA_MIX_H
Arcane::Cell
Cell of a mesh.
Definition
Item.h:1300
Arcane::Hyoda
Definition
HyodaArc.h:61
Arcane::IHyodaPlugin
Definition
IHyodaPlugin.h:30
Arcane::IMesh
Definition
IMesh.h:60
Arcane::ISubDomain
Interface of the subdomain manager.
Definition
ISubDomain.h:75
Arcane::ITraceMng
Trace manager interface.
Definition
arccore/src/trace/arccore/trace/ITraceMng.h:175
Arcane::IVariable
Interface of a variable.
Definition
IVariable.h:40
Arcane::Real3
Class managing a 3-dimensional real vector.
Definition
Real3.h:132
Arcane::TraceAccessor::TraceAccessor
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
Definition
TraceAccessor.cc:27
Arcane::VariableCellReal3
MeshVariableScalarRefT< Cell, Real3 > VariableCellReal3
Coordinate type quantity at cell center.
Definition
VariableTypedef.h:378
Arcane::VariableCellInteger
MeshVariableScalarRefT< Cell, Integer > VariableCellInteger
Quantity at the cell center of integer type.
Definition
VariableTypedef.h:501
Arcane::VariableNodeReal3
MeshVariableScalarRefT< Node, Real3 > VariableNodeReal3
Coordinate type quantity at node.
Definition
VariableTypedef.h:360
Arcane::VariableCellArrayReal
MeshVariableArrayRefT< Cell, Real > VariableCellArrayReal
Quantity at the cell center of real array type.
Definition
VariableTypedef.h:775
Arcane::Real3UniqueArray
UniqueArray< Real3 > Real3UniqueArray
Dynamic 1D array of rank 3 vectors.
Definition
UtilsTypes.h:363
Arcane::Real
double Real
Type representing a real number.
Definition
ArccoreGlobal.h:275
Arcane::Int32Array
Array< Int32 > Int32Array
Dynamic one-dimensional array of 32-bit integers.
Definition
UtilsTypes.h:127
Arcane::Int32
std::int32_t Int32
Signed integer type of 32 bits.
Definition
ArccoreGlobal.h:233
arcane
hyoda
HyodaMix.h
Generated on
for Arcane by
1.16.1