Arcane
4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IHyodaPlugin.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
/* IHyodaPlugin.h (C) 2000-2013 */
9
/*---------------------------------------------------------------------------*/
10
#ifndef ARCANE_IHYODA_PLUGIN_SERVICE_H
11
#define ARCANE_IHYODA_PLUGIN_SERVICE_H
12
/*---------------------------------------------------------------------------*/
13
/*---------------------------------------------------------------------------*/
14
15
#include "
arcane/utils/ArcaneGlobal.h
"
16
#include "arcane/ISubDomain.h"
17
18
/*---------------------------------------------------------------------------*/
19
/*---------------------------------------------------------------------------*/
20
21
ARCANE_BEGIN_NAMESPACE
22
23
/*---------------------------------------------------------------------------*/
24
/*---------------------------------------------------------------------------*/
25
26
class
Hyoda;
27
class
HyodaMix;
28
/*---------------------------------------------------------------------------*/
29
/*---------------------------------------------------------------------------*/
30
class
IHyodaPlugin
{
31
public
:
32
virtual
~IHyodaPlugin
(){}
33
public
:
34
virtual
int
draw(
IVariable
*,
Real
,
Real
)=0;
35
void
setHyodaMix(
Hyoda
*hd,
HyodaMix
*hm){m_hyoda=hd;m_hyoda_mix=hm;}
36
inline
Hyoda
*hyoda(
void
){
return
m_hyoda;}
37
inline
HyodaMix
*hyodaMix(
void
){
return
m_hyoda_mix;}
38
private
:
39
Hyoda
*m_hyoda;
40
HyodaMix
*m_hyoda_mix;
41
};
42
43
/*---------------------------------------------------------------------------*/
44
/*---------------------------------------------------------------------------*/
45
46
ARCANE_END_NAMESPACE
47
48
/*---------------------------------------------------------------------------*/
49
/*---------------------------------------------------------------------------*/
50
51
#endif
ArcaneGlobal.h
Arcane configuration file.
Arcane::HyodaMix
Definition
HyodaMix.h:30
Arcane::Hyoda
Definition
HyodaArc.h:61
Arcane::IHyodaPlugin
Definition
IHyodaPlugin.h:30
Arcane::IVariable
Interface of a variable.
Definition
IVariable.h:40
Arcane::Real
double Real
Type representing a real number.
Definition
ArccoreGlobal.h:275
arcane
hyoda
IHyodaPlugin.h
Generated on
for Arcane by
1.16.1