Skip to content

Commit a00afb1

Browse files
authored
Added get_ndof to the builder
1 parent f1eacd3 commit a00afb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dafoam/mphys/mphys_dafoam.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ def get_number_of_nodes(self, groupName=None):
137137
nodes += 1 + parameters["nNodes"]
138138
return nodes
139139

140+
def get_ndof(self):
141+
# The number of degrees of freedom used at each output location.
142+
return -1
143+
140144

141145
class DAFoamGroup(Group):
142146
"""

0 commit comments

Comments
 (0)