Skip to content

Commit

Permalink
vtxfile write in HydrogenTransportProblem
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Oct 29, 2024
1 parent 403192e commit ae17698
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/festim/hydrogen_transport_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,10 @@ def post_processing(self):
if isinstance(export, exports.XDMFExport):
export.write(float(self.t))

# should we move this to problem.ProblemBase?
for vtxfile in self._vtxfiles:
vtxfile.write(float(self.t))


class HTransportProblemDiscontinuous(HydrogenTransportProblem):
interfaces: list[_subdomain.Interface]
Expand Down

0 comments on commit ae17698

Please sign in to comment.