Skip to content

Commit

Permalink
Adding option to write from file
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Feb 6, 2024
1 parent 38aeb4a commit 4aeb3db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dagmc/dagnav.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ def geom_dimension_tag(self):
create_if_missing=True,
)

def write_file(self, filename):
"""Write the model to a file.
Parameters
----------
filename : str
The file to write to.
"""
self.mb.write_file(filename)

class DAGSet:
"""
Expand Down

0 comments on commit 4aeb3db

Please sign in to comment.