Arcane  v4.1.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
SolverBase.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/* SolverBase.h (C) 2000-2026 */
9/* */
10/* Base class for solver classes. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCCORE_ALINA_MPI_SOLVERBASE_H
13#define ARCCORE_ALINA_MPI_SOLVERBASE_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arccore/alina/AlinaGlobal.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::Alina
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
30class ARCCORE_ALINA_EXPORT SolverBase
31{
32 public:
33
34 virtual ~SolverBase() = default;
35
36 public:
37
39 virtual size_t bytes() const = 0;
40};
41
42/*---------------------------------------------------------------------------*/
43/*---------------------------------------------------------------------------*/
44
45} // namespace Arcane::Alina
46
47/*---------------------------------------------------------------------------*/
48/*---------------------------------------------------------------------------*/
49
50#endif
Base class for solvers.
Definition SolverBase.h:31
virtual size_t bytes() const =0
Memory used in bytes.