mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Solver: RubarBE: Add MAIL file.
This commit is contained in:
1 parent
329572d191
commit
9f87a38107
2 files changed
+57
No files matched your search
@@ -364,6 +364,26 @@ class Reach(SQLSubModel):
|
||||
else:
|
||||
return 0.0
|
||||
|
||||
def inter_profiles_kp(self):
|
||||
res_kp = [self.profile(0).kp]
|
||||
|
||||
profiles = iter(self.profiles)
|
||||
previous = next(profile)
|
||||
|
||||
for profile in profiles:
|
||||
prev = previous.kp
|
||||
curr = profile.kp
|
||||
|
||||
diff = abs(previous.kp - profile.kp)
|
||||
|
||||
new = previous.kp + (diff / 2.0)
|
||||
res_kp.append(new)
|
||||
|
||||
previous = profile
|
||||
|
||||
res_kp.append(self.profile(len(self) - 1).kp)
|
||||
return res_kp
|
||||
|
||||
# Sediment Layers
|
||||
|
||||
def get_sl(self):
|
||||
|
||||
Reference in new issue
Block a user