Arcane
4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
AlephMultiTest.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
/* AlephMultiTest.h (C) 2013 */
9
/* */
10
/*---------------------------------------------------------------------------*/
11
#ifndef ALEPH_MULTI_TEST_H
12
#define ALEPH_MULTI_TEST_H
13
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
namespace
ArcaneTest
18
{
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
using namespace
Arcane;
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
class
AlephSolver
;
29
30
/*---------------------------------------------------------------------------*/
31
/*---------------------------------------------------------------------------*/
32
33
// ****************************************************************************
34
// * Aleph multi-solver test
35
// ****************************************************************************
36
class
AlephMultiTest
37
:
public
ArcaneAlephMultiTestObject
38
{
39
public
:
40
41
struct
SolverBuildInfo
42
{
43
public
:
44
45
SolverBuildInfo()
46
: m_number_of_resolution_per_solvers(0)
47
, m_underliying_solver(0)
48
, m_number_of_core(0)
49
{}
50
51
Integer
m_number_of_resolution_per_solvers;
52
Integer
m_underliying_solver;
53
Integer
m_number_of_core;
54
};
55
56
AlephMultiTest(
const
ModuleBuildInfo
&);
57
~AlephMultiTest(
void
);
58
void
init
(
void
);
59
void
compute(
void
);
60
61
private
:
62
63
AlephFactory
* m_aleph_factory =
nullptr
;
64
UniqueArray<AlephSolver*>
m_global_aleph_solver;
65
UniqueArray<SolverBuildInfo>
m_solvers_build_info;
66
UniqueArray<AlephSolver*>
m_posted_solvers;
67
};
68
69
/*---------------------------------------------------------------------------*/
70
/*---------------------------------------------------------------------------*/
71
72
}
// namespace ArcaneTest
73
74
/*---------------------------------------------------------------------------*/
75
/*---------------------------------------------------------------------------*/
76
77
#endif
ArcaneTest::AlephMultiTest::init
void init(void)
points d'entrée
Definition
AlephMultiTest.cc:290
ArcaneTest::AlephSolver
Definition
AlephMultiTest.cc:36
Arcane::AlephFactory
Definition
IAlephFactory.h:46
Arcane::ModuleBuildInfo
Information for building a module.
Definition
ModuleBuildInfo.h:39
Arcane::UniqueArray
1D data vector with value semantics (STL style).
Definition
arccore/src/common/arccore/common/Array.h:890
Arcane::Integer
Int32 Integer
Type representing an integer.
Definition
ArccoreGlobal.h:293
arcane
aleph
tests
AlephMultiTest.h
Generated on
for Arcane by
1.16.1