Developing adapter as Adapter Class vs. Function Object using Python

Looping in @IshaanDesai, who replied to my other thread on the topic :slight_smile:

While the team I participate in does develop the code for the solving library, many of the library’s functionalities are developed as Python packages. Users import these packages within their Python application scripts, which are virtually the only way that the solving library is used.

After reading through the entire list of official adapters, we found that the FEniCS adapter is most similar to our goal. Like FEniCS, our solver is more of a library than a stand-alone solver, and users utilize Python application scripts to run simulations.

Like in FEniCS-preCICE, our goal would be to create a package “solver-preCICE” that we could import from a user’s Python application script. I believe the paper and repository for FEniCS-preCICE will help us on from here, but please provide any additional insights if you do have any.

Thanks again!

1 Like