Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshChecker.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/* IMeshChecker.h (C) 2000-2025 */
9/* */
10/* Interface for mesh verification methods. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHCHECKER_H
13#define ARCANE_CORE_IMESHCHECKER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
32{
33 public:
34
35 virtual ~IMeshChecker() = default;
36
37 public:
38
40 virtual IMesh* mesh() = 0;
41
49 virtual void setCheckLevel(Integer level) = 0;
50
52 virtual Integer checkLevel() const = 0;
53
57 virtual void checkValidMesh() = 0;
58
70 virtual void checkValidMeshFull() = 0;
71
79 virtual void checkValidReplication() = 0;
80
92
102
117 virtual void setIsCheckItemsOwner(bool v) = 0;
118
120 virtual bool isCheckItemsOwner() const = 0;
121};
122
123/*---------------------------------------------------------------------------*/
124/*---------------------------------------------------------------------------*/
125
126} // namespace Arcane
127
128/*---------------------------------------------------------------------------*/
129/*---------------------------------------------------------------------------*/
130
131#endif
Declarations of Arcane's general types.
Interface for mesh verification methods.
virtual IMesh * mesh()=0
Associated mesh.
virtual void checkValidMeshFull()=0
Verification of mesh validity.
virtual ~IMeshChecker()=default
Frees resources.
virtual void checkValidReplication()=0
Checks that subdomains are correctly replicated.
virtual void checkValidMesh()=0
Verification of the validity of internal mesh structures (internal).
virtual void setCheckLevel(Integer level)=0
Sets the mesh verification level.
virtual Integer checkLevel() const =0
Current verification level.
virtual void checkItemGroupsSynchronization()=0
Checks synchronization on entity groups.
virtual bool isCheckItemsOwner() const =0
Indicates whether entity owner verification is active (true by default).
virtual void setIsCheckItemsOwner(bool v)=0
Indicates whether entity owner verification is active.
virtual void checkVariablesSynchronization()=0
Checks variable synchronization.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.