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
17namespace ArcaneTest
18{
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23using namespace Arcane;
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28class AlephSolver;
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
32
33// ****************************************************************************
34// * Aleph multi-solver test
35// ****************************************************************************
36class 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
void init(void)
points d'entrée
Information for building a module.
1D data vector with value semantics (STL style).
Int32 Integer
Type representing an integer.