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
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |
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
138 139 140 141 142 143 144 145 146 147 148 149 150 | |
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
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | |