aeromaps.core.gemseo¶
A discipline interfacing a Python function.
CustomDataConverter ¶
Bases: SimpleGrammarDataConverter
get_value_size
classmethod
¶
get_value_size(name, value)
Return the size of a data value.
The size is typically what is returned by ndarray.size or len(list).
The size of a number is 1.
Args: name: The data name. value: The data value to get the size from.
Returns: The size.
Source code in aeromaps/core/gemseo.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
AeroMAPSAutoModelWrapper ¶
AeroMAPSAutoModelWrapper(model)
Bases: AutoPyDiscipline
Wraps the AeroMAPSModel class into a discipline. Inputs and outputs are automatically declared from the model's compute() function signature.
Source code in aeromaps/core/gemseo.py
152 153 154 155 156 157 158 159 160 161 162 163 164 | |
AeroMAPSCustomModelWrapper ¶
AeroMAPSCustomModelWrapper(model)
Bases: Discipline
Wraps the AeroMAPSModel class into a discipline. Inputs and outputs are declared through the attributes 'input_names' and 'output_names' of the model.
Source code in aeromaps/core/gemseo.py
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | |