Skip to content

Commit

Permalink
Add function for getting solver name.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminRodenberg committed Jul 20, 2019
1 parent 6302e3e commit d0eee1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fenicsadapter/fenicsadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,3 +319,10 @@ def extract_coupling_boundary_coordinates(self):
def finalize(self):
"""Finalizes the coupling interface."""
self._interface.finalize()

def get_solver_name(self):
"""Returns name of this solver as defined in config file.
:return: Solver name.
"""
return self._solver_name

0 comments on commit d0eee1f

Please sign in to comment.