Fixed dd nodemaps specification typos

This commit is contained in:
Nicholas Horelik 2014-12-04 02:47:34 -05:00
parent 908b4ce1f6
commit 6e1b473776

View file

@ -799,7 +799,8 @@ class SettingsFile(object):
'mesh'.format(len(nodemap))
raise ValueError(msg)
self._dd_mesh_dimension = dimension
self._dd_nodemap = nodemap
def set_dd_allow_leakage(self, allow):
@ -814,6 +815,7 @@ class SettingsFile(object):
self._dd_allow_leakage = allow
def set_dd_count_interactions(self, interactions):
# TODO: remove this when domain decomposition is merged
@ -827,6 +829,7 @@ class SettingsFile(object):
self._dd_count_interactions = interactions
def create_eigenvalue_subelement(self):
self.create_particles_subelement()
@ -1196,7 +1199,7 @@ class SettingsFile(object):
if not self._dd_nodemap is None:
subelement = ET.SubElement(element, "nodemap")
subsubelement.text = ' '.join([str(n) for n in self._dd_nodemap])
subelement.text = ' '.join([str(n) for n in self._dd_nodemap])
subelement = ET.SubElement(element, "allow_leakage")
if self._dd_allow_leakage: