Arcane
4.2.2.0
Developer documentation
Loading...
Searching...
No Matches
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
#include <cstddef>
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
namespace
Arcane::Alina
25
{
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
32
class
ARCCORE_ALINA_EXPORT
SolverBase
33
{
34
public
:
35
36
virtual
~SolverBase
() =
default
;
37
38
public
:
39
41
virtual
size_t
bytes
()
const
= 0;
42
};
43
44
/*---------------------------------------------------------------------------*/
45
/*---------------------------------------------------------------------------*/
46
47
}
// namespace Arcane::Alina
48
49
/*---------------------------------------------------------------------------*/
50
/*---------------------------------------------------------------------------*/
51
52
#endif
Arcane::Alina::SolverBase
Base class for solvers.
Definition
SolverBase.h:33
Arcane::Alina::SolverBase::bytes
virtual size_t bytes() const =0
Memory used in bytes.
arccore
src
alina
arccore
alina
SolverBase.h
Generated on
for Arcane by
1.16.1