Skip to content

Commit

Permalink
FEM: elmer tasks, add TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Jul 15, 2020
1 parent ece6634 commit 04ef25d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Mod/Fem/femsolver/elmer/tasks.py
Expand Up @@ -74,6 +74,7 @@ def checkEquations(self):
class Prepare(run.Prepare):

def run(self):
# TODO print working dir to report console
self.pushStatus("Preparing input files...\n")
if self.testmode:
# test mode: neither gmsh, nor elmergrid nor elmersolver binaries needed
Expand Down Expand Up @@ -102,6 +103,9 @@ def checkHandled(self, w):
class Solve(run.Solve):

def run(self):
# on rerun the result file will not deleted before starting the solver
# if the solver fails, the existing result from a former run file will be loaded
# TODO: delete result file (may be delete all files which will be recreated)
self.pushStatus("Executing solver...\n")
binary = settings.get_binary("ElmerSolver")
if binary is not None:
Expand Down

0 comments on commit 04ef25d

Please sign in to comment.