Keyword CHECKING THE MESH when coupling several modules

Summary

The keyword CHECKING THE MESH is available for several modules (ARTEMIS, GAIA, TELEMAC-2D, TELEMAC-3D, TOMAWAC). The MNEMO CHECK_MESH is declared in utils/bief/declarations_telemac.f subroutine. When used with stand-alone codes, it works. If coupling 2 modules, the value is taken from the last called module (e.g. TOMAWAC or GAIA) not the calling program (e.g. TELEMAC-2D or TELEMAC-3D).

Environment

  • Operating System: Linux
  • TELEMAC version: main/9.0

Steps to reproduce

Just add CHECKING THE MESH = YES to 1 of the TELEMAC-2D steering file in gaia/littoral-t2d folder.

telemac2d.py my_case.cas

What is the current bug behaviour?

No written information expected when activating CHECKING THE MESH = YES

What is the expected correct behaviour?

Information expected when activating CHECKING THE MESH = YES just after INITIALIZING TELEMAC2D FOR INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA) and before STRCHE (BIEF): NO MODIFICATION OF FRICTION

Relevant logs and/or screenshots

Expected: " INITIALIZING TELEMAC2D FOR INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA)

CHECKING THE MESH

SMALLEST DISTANCE BETWEEN TWO POINTS: 5.0000000000000000 BETWEEN POINTS: 1 AND 180 STRCHE (BIEF): NO MODIFICATION OF FRICTION "

Currently: " INITIALIZING TELEMAC2D FOR INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA) STRCHE (BIEF): NO MODIFICATION OF FRICTION "

Possible fixes

When coupling with GAIA, perhaps delete the keyword CHECKING THE MESH as GAIA is always coupled with TELEMAC-2D or TELEMAC-3D. When coupling with TOMAWAC, tell to use CHECKING THE MESH only without coupling in the user manuals?