Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
AlephTestModule.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/* AlephTestModule.h (C) 2000-2024 */
9/* */
10/*---------------------------------------------------------------------------*/
11#ifndef ARCANE_TESTS_ALEPHTESTMODULE_H
12#define ARCANE_TESTS_ALEPHTESTMODULE_H
13/*---------------------------------------------------------------------------*/
14/*---------------------------------------------------------------------------*/
15
16#include "arcane/aleph/tests/AlephTest.h"
17#include "arcane/aleph/tests/AlephTestModule_axl.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace ArcaneTest
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28using namespace Arcane;
29
35{
36 public:
37
38 explicit AlephTestModule(const ModuleBuildInfo&);
40 void init();
41 void compute();
42 void postSolver(const Integer);
43
44 private:
45
46 void initAmrRefineMesh(Integer nb_to_refine);
47 void initAlgebra();
48
49 public:
50
51 static Real geoFaceSurface(Face, VariableItemReal3&);
52
53 public:
54
55 Integer m_total_nb_cell;
56 Integer m_local_nb_cell;
57 UniqueArray<Integer> m_rows_nb_element;
58 UniqueArray<AlephInt> m_vector_indexs;
59 UniqueArray<Real> m_vector_zeroes;
60 UniqueArray<Real> m_vector_rhs;
61 UniqueArray<Real> m_vector_lhs;
62 AlephKernel* m_aleph_kernel;
63 IAlephFactory* m_aleph_factory;
64 AlephParams* m_aleph_params;
65 UniqueArray<AlephMatrix*> m_aleph_mat;
66 UniqueArray<AlephVector*> m_aleph_rhs;
67 UniqueArray<AlephVector*> m_aleph_sol;
68 Integer m_get_solution_idx;
69 Integer m_fake_nb_iteration;
70 Real m_fake_residual_norm[4];
71};
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76} // namespace ArcaneTest
77
78/*---------------------------------------------------------------------------*/
79/*---------------------------------------------------------------------------*/
80
81#endif
Module de test pour Aleph.
void init()
points d'entrée
Generation de la classe de base du Module.
Paramètres d'un système linéraire.
Definition AlephParams.h:34
Face d'une maille.
Definition Item.h:932
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Informations pour construire un module.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-