precice / fenics-adapter

preCICE-adapter for the open source computing platform FEniCS
GNU Lesser General Public License v3.0
29 stars 15 forks source link

Add guards for config in the context of one-way coupling #99

Closed BenjaminRodenberg closed 3 years ago

BenjaminRodenberg commented 3 years ago

https://github.com/precice/fenics-adapter/blob/e16d434345553f8c8cccf8d0804c6af94168e7c1/fenicsprecice/config.py#L43-L47

One-way coupling either only provides write or read data. Currently we run into an exception if no read_data_name is provided in the config.