Skip to content

Commit

Permalink
remove obsolete function
Browse files Browse the repository at this point in the history
  • Loading branch information
ebknudsen committed Oct 4, 2023
1 parent da27031 commit cbde0fb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/CAD_to_OpenMC/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,15 +788,6 @@ def heal_stls(self,stls):
p.unlink()
e.stl=new_filename

def tag_stls(self,stls):
stl_tagged=[]
for (stl,e) in zip(stl_list,self.entities):
try:
stl_tagged.append((stl[0],stl[1],e.tag))
except:
print("WARNING: list of material tags is exhausted. Tagging volume {stl[0]},{stl[1]} with \'vacuum\'")
stl_tagged.append(stl[0],stl[1],'vacuum')

def get_all_tags(self):
#extract_all_tags from the list of entities
return [e.tag for e in self.entitites]
Expand Down

0 comments on commit cbde0fb

Please sign in to comment.