mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
LC: Add begin and end kp and fix the convertion bug.
This commit is contained in:
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):
|
||||
|
||||
Reference in new issue
Block a user