Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
AlephTestScheme.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/* AlephTestIScheme.h (C) 2011 */
9/* */
10/*---------------------------------------------------------------------------*/
11#ifndef ALEPH_TEST_SCHEME_H
12#define ALEPH_TEST_SCHEME_H
13
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17namespace ArcaneTest
18{
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23using namespace Arcane;
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
29
30class AlephTestScheme
31{
32 public:
33
34 AlephTestScheme(void) {};
35 virtual ~AlephTestScheme(void) {};
36
37 public:
38
39 virtual void boundaries(ArcaneTest::CaseOptionsAlephTestModule*) = 0;
40 virtual void preFetchNumElementsForEachRow(IntegerArray&, const Integer) = 0;
41 virtual void setValues(const Real, AlephMatrix*) = 0;
42 virtual bool amrRefine(RealArray&, const Real) = 0;
43 virtual bool amrCoarsen(RealArray&, const Real) = 0;
44};
45
46/*---------------------------------------------------------------------------*/
47/*---------------------------------------------------------------------------*/
48
49} // namespace ArcaneTest
50
51/*---------------------------------------------------------------------------*/
52/*---------------------------------------------------------------------------*/
53
54#endif
Matrix of a linear system.
Definition AlephMatrix.h:33
Int32 Integer
Type representing an integer.
Array< Integer > IntegerArray
Dynamic one-dimensional array of integers.
Definition UtilsTypes.h:133
double Real
Type representing a real number.
Array< Real > RealArray
Dynamic one-dimensional array of reals.
Definition UtilsTypes.h:135