Closed IshaanDesai closed 1 year ago
Please be aware that this means that the FEniCS adapter can no longer be used with preCICE < v2.3.
Please be aware that this means that the FEniCS adapter can no longer be used with preCICE < v2.3.
Is it possible to only perform this check, if the preCICE version is recent enough and skip the check (and raise a warning?) if preCICE is < 2.3? pyprecice allows you to query the version of the bindings. So you should be able to check the version and act correspondingly inside the adapter.
Check added in https://github.com/precice/fenics-adapter/pull/153
In https://github.com/precice/precice/pull/1080 the API function
isMeshConnectivityRequired()
was added to check if mesh connectivity information is required by preCICE. This API function is now used to check whether the mesh edge computation is necessary.