LC: Add begin and end kp and fix the convertion bug.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-05-15 16:01:11 +02:00
1 parent ce1872a90f
commit 1179dd0b92
9 files changed
+112 -10

No files matched your search

@@ -161,7 +161,9 @@ class BoundaryCondition(object):
@timer
def convert(self, cls):
new = cls(name = self.name)
new = cls(name = self.name, status = self._status)
new.node = self.node
for i, _ in self.data:
new.add(i)
@@ -171,7 +173,6 @@ class BoundaryCondition(object):
for ind, v in self.data:
new._set_i_c_v(ind, j, v[i])
self._status.modified()
return new
def move_up(self, index):