Skip to content

Commit 2c98bbc

Browse files
committed
re-add PanelAero package for dot-derivatives computation using DLM model
1 parent 86a14cb commit 2c98bbc

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ dependencies:
6262
- streamlit-autorefresh
6363
- vtk==9.3.0
6464
- scikit-optimize==0.10.2
65-
- framat==0.5
65+
- framat==0.5
66+
- panelaero==2024.2

installation/Pentagrow/include/eigen/debug/gdb/printers.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
# register_eigen_printers (None)
2727
# end
2828

29-
import gdb
3029
import re
31-
import itertools
30+
import gdb
31+
32+
from functools import partial
3233

3334

3435
class EigenMatrixPrinter:
@@ -90,7 +91,7 @@ def __iter__ (self):
9091
return self
9192

9293
def next(self):
93-
return self.__next__() # Python 2.x compatibility
94+
return self.__next__() # Python 2.x compatibility
9495

9596
def __next__(self):
9697

@@ -156,7 +157,7 @@ def __iter__ (self):
156157
return self
157158

158159
def next(self):
159-
return self.__next__() # Python 2.x compatibility
160+
return self.__next__() # Python 2.x compatibility
160161

161162
def __next__(self):
162163
element = self.currentElement
@@ -177,10 +178,10 @@ def children(self):
177178
def to_string(self):
178179
return "Eigen::Quaternion<%s> (data ptr: %s)" % (self.innerType, self.data)
179180

180-
def build_eigen_dictionary ():
181-
pretty_printers_dict[re.compile('^Eigen::Quaternion<.*>$')] = lambda val: EigenQuaternionPrinter(val)
182-
pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = lambda val: EigenMatrixPrinter("Matrix", val)
183-
pretty_printers_dict[re.compile('^Eigen::Array<.*>$')] = lambda val: EigenMatrixPrinter("Array", val)
181+
def build_eigen_dictionary():
182+
pretty_printers_dict[re.compile('^Eigen::Quaternion<.*>$')] = EigenQuaternionPrinter
183+
pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = partial(EigenMatrixPrinter, "Matrix")
184+
pretty_printers_dict[re.compile('^Eigen::Array<.*>$')] = partial(EigenMatrixPrinter, "Array")
184185

185186
def register_eigen_printers(obj):
186187
"Register eigen pretty-printers with objfile Obj"

src/ceasiompy/CPACSUpdater/func/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,5 +411,7 @@ def plot_values(
411411
# ==============================================================================
412412
# MAIN
413413
# ==============================================================================
414+
415+
414416
if __name__ == "__main__":
415417
log.info("Nothing to execute!")

src/ceasiompy/StaticStability/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ A unique (Mach, Altitude, AoA, AoS) in the aeromap suffices to do the Static Sta
2929

3030
In the results directory you can find:
3131
1. a Markdown file which contains a table with the stability results (Stable/Unstable wrt to the 3 different axes) for the specific aeromap.
32-
3332
2. A longitudinal, directional and lateral html plot of the Pitch, Yaw and Roll moments wrt AoA, AoS and AoS respectively.
3433

3534
## Installation or requirements

0 commit comments

Comments
 (0)