Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IStandardFunction.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/* IStandardFunction.h (C) 2000-2011 */
9/* */
10/* Interface d'une fonction standard. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_ISTANDARDFUNCTION_H
13#define ARCANE_ISTANDARDFUNCTION_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/IMathFunctor.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29/*!
30 * \brief Interface gérant une fonction standard.
31 *
32 * Ces fonctions peuvent être associées à une option du jeu de données.
33 *
34 * Les fonctions standards ont les prototypes suivants possibles:
35 * - f(Real,Real) -> Real
36 * - f(Real,Real3) -> Real
37 * - f(Real,Real) -> Real3
38 * - f(Real,Real3) -> Real3
39 *
40 */
41class ARCANE_CORE_EXPORT IStandardFunction
42{
43 public:
44
45 virtual ~IStandardFunction(){}
46
47 public:
48
49 virtual IBinaryMathFunctor<Real,Real,Real>* getFunctorRealRealToReal() =0;
50 virtual IBinaryMathFunctor<Real,Real3,Real>* getFunctorRealReal3ToReal() =0;
51 virtual IBinaryMathFunctor<Real,Real,Real3>* getFunctorRealRealToReal3() =0;
52 virtual IBinaryMathFunctor<Real,Real3,Real3>* getFunctorRealReal3ToReal3() =0;
53};
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58ARCANE_END_NAMESPACE
59
60/*---------------------------------------------------------------------------*/
61/*---------------------------------------------------------------------------*/
62
63#endif
64
Interface d'une fonction mathématique binaire.
Interface gérant une fonction standard.