Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IMeshChecker Class Referenceabstract

Interface for mesh verification methods. More...

#include <arcane/core/IMeshChecker.h>

Public Member Functions

virtual ~IMeshChecker ()=default
 Frees resources.
virtual IMeshmesh ()=0
 Associated mesh.
virtual void setCheckLevel (Integer level)=0
 Sets the mesh verification level.
virtual Integer checkLevel () const =0
 Current verification level.
virtual void checkValidMesh ()=0
 Verification of the validity of internal mesh structures (internal).
virtual void checkValidMeshFull ()=0
 Verification of mesh validity.
virtual void checkValidReplication ()=0
 Checks that subdomains are correctly replicated.
virtual void checkVariablesSynchronization ()=0
 Checks variable synchronization.
virtual void checkItemGroupsSynchronization ()=0
 Checks synchronization on entity groups.
virtual void setIsCheckItemsOwner (bool v)=0
 Indicates whether entity owner verification is active.
virtual bool isCheckItemsOwner () const =0
 Indicates whether entity owner verification is active (true by default).

Detailed Description

Interface for mesh verification methods.

Definition at line 31 of file IMeshChecker.h.

Member Function Documentation

◆ checkItemGroupsSynchronization()

virtual void Arcane::IMeshChecker::checkItemGroupsSynchronization ( )
pure virtual

Checks synchronization on entity groups.

Checks for each group of each family (other than particles) that the entities are the same on each subdomain.

Raises a FatalErrorException in case of error.

◆ checkValidMeshFull()

virtual void Arcane::IMeshChecker::checkValidMeshFull ( )
pure virtual

Verification of mesh validity.

This is a global verification across all subdomains.

It checks, in particular, that the connectivity is consistent between subdomains.

The verification can be quite CPU time-intensive. This method is collective.

◆ checkValidReplication()

virtual void Arcane::IMeshChecker::checkValidReplication ( )
pure virtual

Checks that subdomains are correctly replicated.

The following checks are performed:

  • same entity families and same values for these families.
  • same mesh node coordinates.

◆ checkVariablesSynchronization()

virtual void Arcane::IMeshChecker::checkVariablesSynchronization ( )
pure virtual

Checks variable synchronization.

Checks for each variable that its values on ghost entities are the same as the value on the entity's owning subdomain.

Variables on particles are not compared.

Raises a FatalErrorException in case of error.

◆ setCheckLevel()

virtual void Arcane::IMeshChecker::setCheckLevel ( Integer level)
pure virtual

Sets the mesh verification level.

0 - tests disabled 1 - partial tests, after endUpdate() 2 - full tests, after endUpdate()

◆ setIsCheckItemsOwner()

virtual void Arcane::IMeshChecker::setIsCheckItemsOwner ( bool v)
pure virtual

Indicates whether entity owner verification is active.

This verification is performed when calling checkValidConnectivity(). If it is active, we check that the nodes, edges, and faces have the same owner as one of the cells they are connected to.

This is always the case if the owners are managed by Arcane and it is therefore preferable to always perform this verification to ensure consistency of information in parallel. However, if the owner management is done by the user, it is possible to disable this verification.


The documentation for this class was generated from the following file: